Subject: lib/20258: phoenix dies with PTQ_LAST != qhead assertions
To: None <>
From: None <>
List: netbsd-bugs
Date: 02/08/2003 20:17:02
>Number:         20258
>Category:       lib
>Synopsis:       phoenix dies with PTQ_LAST != qhead assertions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 08 20:18:01 PST 2003
>Originator:     Tom Spindler
>Release:        NetBSD 1.6N
System: NetBSD 1.6N NetBSD 1.6N (BEEFCAKE) #0: Thu Feb 6 19:57:47 PST 2003 dogcow@x1-6-00-48-54-6c-9b-29:/media/src/src/sys/arch/i386/compile/BEEFCAKE i386
Architecture: i386
Machine: i386
After browsing with phoenix 0.5, freshly rebuilt on 6 Feb for native
pthreads, for a (seemingly) random amount of time things will come
crashing to a halt with the message on the invoking terminal:

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

The window then fails to update, or do much of anything else. The program
must be kill -9'ed to exit.
Run phoenix 0.5 with nathanw_sa native pthreads, eventually it'll happen.