Subject: Re: KASSERT failure when debugging threaded programs
To: None <current-users@netbsd.org>
From: Antti Kantee <pooka@cs.hut.fi>
List: current-users
Date: 10/29/2007 13:31:30
On Wed Oct 24 2007 at 21:03:59 +0300, Antti Kantee wrote:
> (I'm only guessing that debugging threaded programs is the reason)
> 
> After stepping through a threaded program I can hit the KASSERT in
> line 550 of kern_sig.c: KASSERT(sigismember(&sp->sp_set, signo));
> The trace is: lwp_userret -> issignal -> sigget.
> 
> Anyone seeing similar issues?  kernel is from Monday's sources.

I was pointed out that this is probably the same issue as kern/36183.
Even ideas for a (uncommitworthy) workaround would be welcome, as I
occasionally forget that I can't use gdb on multithreaded programs and
panic my system.

-- 
Antti Kantee <pooka@iki.fi>                     Of course he runs NetBSD
http://www.iki.fi/pooka/                          http://www.NetBSD.org/
    "la qualité la plus indispensable du cuisinier est l'exactitude"