tech-kern archive

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

Re: netbsd-5 _lwp_park() SIGSEGV



On Wed, 7 Jan 2009 20:46:02 +0000
Andrew Doran <ad%netbsd.org@localhost> wrote:

> This doesn't appear to be the thread that has crashed. Have you looked
> at the other threads in the core?

You were right; I could do further debugging today and noticed that the
threads appeared to behave well despite their rather complex
interactions, and that the problem is related to another issue in the
main thread (LWP 1).

Btw, is it expected that gdb threading information is only available
for core dumps?  I could not make them work when attaching to a live
program, or launching said program from within gdb.  Thus obtaining a
core dump required extra-work like disabling daemon-detach and fatal
signal handlers.

_lwp_park() appearing to be the problem seemed to do with it being
interrupted by the actual SIGSEGV system (EINTR condition) only.

Thanks again,
-- 
Matt


Home | Main Index | Thread Index | Old Index