When strace command is killed by Ctrl-C, the target process stops

Solution Verified - Updated -

Issue

  • When strace command is killed by typing Ctrl-C or by sending SIGTERM, the target process of strace command stops.
  • The following error is also seen when the strace ends:

strace: ptrace(PTRACE_CONT,1,133): Input/output error

Environment

  • Red Hat Enterprise Linux 5 Update 4
  • Red Hat Enterprise Linux 4 Update 8
  • strace-4.5.18-5.el5_4.4
  • strace-4.5.16-1.el4_8.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.