Date: Wed, 11 Jun 2003 16:19:37 +0900 From: Alexander Nedotsukov <bland@mail.ru> To: Alexander Kabaev <ak03@gte.com>, Daniel Eischen <eischen@pcnet.com> Cc: threads@freebsd.org Subject: Re: nvidia OpenGL and lib{thr,kse} related crash Message-ID: <3EE6D809.5000107@mail.ru> In-Reply-To: <20030610132559.37eb0878.ak03@gte.com> References: <3EE5C981.2030408@mail.ru> <Pine.GSO.4.10.10306101043130.26853-100000@pcnet5.pcnet.com> <20030610132559.37eb0878.ak03@gte.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Kabaev wrote: >On Tue, 10 Jun 2003 10:49:11 -0400 (EDT) >Daniel Eischen <eischen@pcnet.com> wrote: > > > >>I think something is hosed on your end... pthread_key_create() >>does not call pthread_main_np (nor vice-versa) in libkse. >>glxinfo works fine with both libkse and libthr here. I don't >>have any nvidia hardware. >> Daniel, I tought it may be not related to specific hardware. Nvidia provides they own libGL.so.1 library wich probably may make use of pthread stuff in way lib{kse,thr} not expected. >> >> >Alexander simply does not have debugging symbols in his libkse library. >Otherwise his backtarce would lock differently. > Ok. This one with debug symbols in libkse. #0 _get_curthread () at /usr/src/lib/libpthread/thread/thr_kern.c:1818 1818 return (_ksd_curthread); (gdb) where #0 _get_curthread () at /usr/src/lib/libpthread/thread/thr_kern.c:1818 #1 0x2821fba7 in _pthread_key_create (key=0x2813c220, destructor=0x28122c90 <__nvsym15484+240>) at /usr/src/lib/libpthread/thread/thr_spec.c:60 #2 0x28122b58 in __nvsym15249 () from /usr/X11R6/lib/libGL.so.1 #3 0x28052b16 in _rtld () from /usr/libexec/ld-elf.so.1 And this one with 'setenv __GL_SINGLE_THREADED 1' Loaded symbols for /usr/libexec/ld-elf.so.1 #0 _get_curthread () at /usr/src/lib/libpthread/thread/thr_kern.c:1818 1818 return (_ksd_curthread); (gdb) where #0 _get_curthread () at /usr/src/lib/libpthread/thread/thr_kern.c:1818 #1 0x282243f7 in _thr_rtld_set_flag (mask=1) at /usr/src/lib/libpthread/thread/thr_rtld.c:87 #2 0x28055f16 in rlock_acquire () from /usr/libexec/ld-elf.so.1 #3 0x28052d4a in _rtld_bind () from /usr/libexec/ld-elf.so.1 #4 0x28052791 in _rtld_bind_start () from /usr/libexec/ld-elf.so.1 #5 0x28052b16 in _rtld () from /usr/libexec/ld-elf.so.1 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE6D809.5000107>