I: strace signal handling regression

Dmitry V. Levin ldv at altlinux.org
Fri Sep 21 22:01:05 UTC 2007


Hi,

There seems to be signal handling regression introduced at 2007-06-11 by commit
http://strace.cvs.sourceforge.net/strace/strace/strace.c#rev1.77

Test case for uninteruptable strace follows.

$ strace -qfF -e trace=none -o '|/bin/cat' sleep 10 & for i in `seq 1 9`; do sleep 1 && kill %+ || break; done
[1] 2345
|/bin/cat: Broken pipe
|/bin/cat: Broken pipe
|/bin/cat: Broken pipe
|/bin/cat: Broken pipe
|/bin/cat: Broken pipe
|/bin/cat: Broken pipe
|/bin/cat: Broken pipe
|/bin/cat: Broken pipe
$ |/bin/cat: Broken pipe
[1]+  Done                    strace -qfF -e trace=none -o '|/bin/cat' sleep 10


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20070922/affff854/attachment.bin>


More information about the Strace-devel mailing list