Subject: lib/20558: Posix Threads broken in latest "libc"
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 03/03/2003 14:41:10
>Number:         20558
>Category:       lib
>Synopsis:       Posix Threads broken in latest "libc"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 03 05:42:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Scheler
>Release:        NetBSD 1.6P	2003-03-03 sourcs
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.b5.zhadum.de 1.6P NetBSD 1.6P (LYSSA) #0: Mon Mar 3 11:50:15 CET 2003 tron@lyssa.b5.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
After updating my system to the lastest sources every Posix Thread application
caused this error on termination:

tron@lyssa:~>python2.2 
Python 2.2.2 (#1, Jan 28 2003, 00:47:46) 
[GCC 2.95.3 20010315 (release) (NetBSD nb3)] on netbsd1
Type "help", "copyright", "credits" or "license" for more information.
>How-To-Repeat:
Upgrade to "libc" 12.96 and try to use a threaded application.

>Fix:
None provided.

>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> ^D
 assertion "next != 0" failed: file "pthread_run.c", line 115, function "pthread__next"
 zsh: abort      python2.2
 
 tron@lyssa:~>glxgears 
 Xlib:  extension "GLX" missing on display "localhost:10.0".
 Error: couldn't get an RGB, Double-buffered visual
 assertion "next != 0" failed: file "pthread_run.c", line 115, function
 "pthread__next" zsh: abort      glxgears
 
 [The "Xlib:" error in this particular example is completely unrelated.]
 
 I could fix the problem by downgrading to "libc" 12.95.