Date: Thu, 12 Jun 2003 00:17:49 +0900 From: Alexander Nedotsukov <bland@mail.ru> To: Daniel Eischen <eischen@pcnet.com> Cc: threads@freebsd.org Subject: Re: nvidia OpenGL and lib{thr,kse} related crash Message-ID: <3EE7481D.5020600@mail.ru> In-Reply-To: <Pine.GSO.4.10.10306111053150.356-100000@pcnet5.pcnet.com> References: <Pine.GSO.4.10.10306111053150.356-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen wrote: >You can try this patch, but I don't really think that's the problem. >I think %gs is getting clobbered. Apply patch to >libpthread/thread/thr_spec.c. > > > Well, here is the result. Breakpoint 1, _pthread_key_create (key=0x2813c220, destructor=0x28122c90 <__nvsym15484+240>) at /usr/src/lib/libpthread/thread/thr_spec.c:62 62 if (_thr_initial == NULL) (gdb) n 64 curthread = _get_curthread(); (gdb) info registers eax 0x28237108 673411336 ecx 0x0 0 edx 0x0 0 ebx 0x282374a4 673412260 esp 0xbfbff998 0xbfbff998 ebp 0xbfbff9b0 0xbfbff9b0 esi 0x8059000 134582272 edi 0x425 1061 eip 0x2821fbb9 0x2821fbb9 eflags 0x206 518 cs 0x1f 31 ss 0x2f 47 ds 0x2f 47 es 0x2f 47 fs 0x2f 47 gs 0x37 55 fctrl 0x127f 4735 fstat 0x0 0 ftag 0x0 0 fiseg 0x1f 31 fioff 0x284c56e4 676091620 foseg 0x2f 47 fooff 0x28763cd0 678837456 fop 0x11d 285 (gdb) n Program received signal SIGBUS, Bus error. _get_curthread () at /usr/src/lib/libpthread/thread/thr_kern.c:1818 1818 return (_ksd_curthread); All the best, Alexander.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE7481D.5020600>