NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: signal handling problem



In article <201007111007.37043.mark%ecs.vuw.ac.nz@localhost>,
Mark Davies  <mark%ecs.vuw.ac.nz@localhost> wrote:
>Hi,
>   can anyone tell me whats wrong with the following code fragment?
>I've trimmed out the guts of the code and just left the signal and process 
>setup and handling (If you want to see the whole thing its cnid_metad.c 
>from the netatalk 2.1.2 release).
>
>As written it fails to reap children (on 5.1_RC3) but if you remove the 
>"if (sigchild)" prior to the "while ((pid = waitpid..." it works.
>

Looks like a kernel bug to me. Have you ktrace'd -i it?

christos



Home | Main Index | Thread Index | Old Index