Date: Mon, 21 Jun 1999 07:39:52 +0200 From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: freebsd-bugs@freebsd.org Subject: Re: kern/12247: userlevel program let kernel hang Message-ID: <VYv9o5n5ua@dmeyer.dinoex.sub.org> References: <199906180933.TAA03243@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
I wrote: > >Only if gdb try to exit in the second time, > >It keep hangin and kann be killed with <CTRL-C> > >the debugged application will terminate too. > >But the system keep runninng as intended. Bruce Evans wrote: > I think it is a bug in PT_ATTACH or PT_DETACH, since gdb hangs waiting > for the "hangme" process after it (gdb) issues PT_ATTACH the second time. I looked briefly over the code, and find a point I have to ask for. PT_DETACH reset the P_WAITED flag in sys/kern/sys_process.c, line 358. Does this harm if a process is already waiting for a signal? kind regards Dirk -- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany -- Tel. +49-5606-6512 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VYv9o5n5ua>