new ptrace_setoptions causes strace to sometimes dump core

Mike Frysinger vapier at gentoo.org
Wed Mar 2 09:56:20 UTC 2011


when testing things on ppc64, `make distcheck` failed because of a core file 
in the tests/ subdir.  playing with things, it seems that strace doesnt like 
it when you cut its pipe short.

the new ptrace_setoptions does just that though -- it calls fgrep with -q 
which causes fgrep to quite immediately upon a match.  and the match in 
question happens to be the first line.

perhaps drop the -q option, have fgrep redirect to /dev/null, and add a 
comment that the -q option cant be added back in ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110302/eeb352c9/attachment.bin>


More information about the Strace-devel mailing list