Subject: X 4.3.0 lossage due to (yet another) pthread bug?
To: None <tech-x11@netbsd.org, tech-userlevel@netbsd.org,>
From: Sean Davis <dive-nb@endersgame.net>
List: tech-userlevel
Date: 03/04/2003 12:40:53
So, makekeys in the XFree86 4.3.0 (from xsrc) on -current/i386 is dumping
core, and thus hosing the entire build, because the keymaps get screwed.

a 'bt' in gdb makekeys makekeys.core tells me:
#0  0xbdb515f7 in kill () from /usr/lib/libc.so.12
#1  0xbdbe9871 in pthread__assertfunc () from /usr/lib/libpthread.so.0
#2  0xbdbe6028 in pthread__next () from /usr/lib/libpthread.so.0
#3  0xbdbe5f68 in pthread__block () from /usr/lib/libpthread.so.0
#4  0xbdbe68d8 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#5  0xbdbe6775 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#6  0xbdba9a63 in __cxa_finalize () from /usr/lib/libc.so.12
#7  0xbdbe2165 in _init () from /usr/lib/libpthread.so.0
#8  0xbdbea395 in _fini () from /usr/lib/libpthread.so.0
#9  0xbdbf92e8 in _rtld_exit () from /usr/libexec/ld.elf_so
#10 0xbdba9959 in exit () from /usr/lib/libc.so.12
#11 0x804918a in main ()
#12 0x80487a4 in ___start ()

Any suggestions? I am now faced with an unusable X installation due to this.
It seems to work for other people, so maybe I need to update current again,
even though I did so approx. 4 hours (thats roughly the time needed to build
a kernel and userland and install them on this machine) before I built and
installed the new X. Was there some pthread bugfix I missed?

sources were current as of about 8 PM EST or so yesterday.

-Sean

-- 
/~\ The ASCII
\ / Ribbon Campaign                   Sean Davis
 X  Against HTML                       aka dive
/ \ Email!