Re: sleepqueue assertion panic and hang

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 1 Mar 2004 17:42:00 -0500
On Monday 01 March 2004 10:20 am, Danny J. Zerkel wrote:
> I haven't seen any reports of this yet, so here goes.  I'm getting
> an assert panic at odd intervals.  Sometimes I get it with the initial
> login prompt.  I have also gotten it in the middle of the night during
> a rebuild of mozilla.  And my system as been freezing when I start
> mozilla or thunderbird and even once starting xdm.
>
> panic: Assertion td->td_flags & TDF_SINTR failed at
> /usr/src/sys/kern/subr_sleepqueue.c:761
> at line 761 in file /usr/src/sys/kern/subr_sleepqueue.c
> cpuid = 1;
> Debugger("panic")
>
> And then it freezes.  Reset is the only way out.  I have also seen cpuid
> = 0.  (It is a dual processor P3).  I have rebuilt the kernel and world
> from current.  I have no back trace because it freezes instead of
> dropping into the kernel debugger.
>
> I could send more information if my email client (thunderbird) was
> working...

Very odd.  Everywhere that calls sleepq_abort() already checks TDF_SINTR.  The 
only place that didn't was in a kse function and both sleeps that it 
explicitly checks both use PCATCH meaning that TDF_SINTR should be set.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Mon Mar 01 2004 - 14:09:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC