Subject: kern/23779: pthreads programs die in pthread__sched_bulk
To: None <gnats-bugs@gnats.netbsd.org>
From: None <perry@piermont.com>
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
>Closed-Date:
>Last-Modified:
>Originator:     Perry E. Metzger
>Release:        NetBSD 1.6ZF
>Organization:
Perry E. Metzger		perry@piermont.com
--
"Ask not what your country can force other people to do for you..."
>Environment:
	
	
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
>Description:
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.
>How-To-Repeat:
Run MozillaFirebird for a while, note the repeated crashes.
>Fix:
I have no clue.
>Release-Note:
>Audit-Trail:
>Unformatted: