On Wed, Oct 12, 2011 at 10:10:46AM +0600, Марк Коренберг wrote:
> Suppose this scenario:
>
> $ pstree -upal
> ....
> strace,26778 -ff -o jjjjj ./main
> └─main,26779
> ├─main,26780
> ├─main,26781
> ├─main,26782
> │ └─{main},26794
> ├─main,26783
> ├─main,26784
> ├─main,26785
> ├─main,26786
> ├─main,26787
> ├─main,26788
> └─main,26789
> ...
>
> Subprocesses (like 26782) use "prctl (PR_SET_PDEATHSIG, SIGKILL)" to
> dead when "root main process (26779)" unexpectedly exits.
>
> subprocesses creates threads (like 26794).
>
> Now, when some threads exists, and I issue kill -KILL 26779, strace
> writes following:
>
> PANIC: handle_group_exit: 26794 leader 26782
>
> I don't know what it is, but probably this is a bug.The strace code you are pointing to is already gone, there is no handle_group_exit logic anymore, see http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commitdiff;h=v4.6-66-g19cdada -- ldv
pgpNWt8ayyrVb.pgp
Description: PGP signature
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
