nvidia OpenGL and lib{thr,kse} related crash
Alexander Nedotsukov
bland at mail.ru
Wed Jun 11 08:17:52 PDT 2003
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.
More information about the freebsd-threads
mailing list