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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content