[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: strace trap tool needed?



> strace -o /tmp/less.strace /usr/bin/less

strace has obnoxious bugs, and the maintainer(s) have been slow to fix it,
or to make it useful in pipelines and shell scripts.
strace may lag behind the addition of new system calls in the kernel.

Applying strace can change the *semantics* of the executable,
in ways that have mattered to me.  Sometimes the bug was fixed quickly:
   http://bugzilla.redhat.com/show_bug.cgi?id=354261
   Lockup on wait on exited child with exited child

but sometimes the bugs linger unfixed for years:
   http://bugzilla.redhat.com/show_bug.cgi?id=162774
   strace ignores int3 SIGTRAP
   [open for 3 years]

   http://bugzilla.redhat.com/show_bug.cgi?id=105371
   RFE: add support to keep exit status of traced processes
   [open almost 5 years]

-- 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]