Subject: kern/23779: pthreads programs die in pthread__sched_bulk
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/17/2003 08:13:53
>Number:         23779
>Category:       kern
>Synopsis:       pthreads programs die in pthread__sched_bulk
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 17 13:14:00 UTC 2003
>Originator:     Perry E. Metzger
>Release:        NetBSD 1.6ZF
Perry E. Metzger
"Ask not what your country can force other people to do for you..."
System: NetBSD alchemist 1.6ZF NetBSD 1.6ZF (ALCHEMIST) #0: Sun Nov 16 00:17:39 EST 2003 perry@alchemist:/usr/src/sys/arch/i386/compile/ALCHEMIST i386
Architecture: i386
Machine: i386
Programs die repeatedly with the following error:

assertion "PTQ_LAST(&pthread__runqueue, pthread_queue_t) != qhead" failed: file "/usr/src/lib/libpthread/pthread_run.c", line 258, function "pthread__sched_bulk"

MozillaFirebird seems easy to provoke into this, though it sometimes
takes a few hours to happen. I can't correlate the incidents with any
particular sort of activity on the machine at the time.

I've set the category to "kern" instead of "lib" because the pthreads
subsystem involves the kernel, but I might be wrong and this might be
entirely a library issue.
Run MozillaFirebird for a while, note the repeated crashes.
I have no clue.