[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#489066: glibc: dlclose() from threaded program on GNU/kFreeBSD segfaults



On Thu, Jul 03, 2008 at 08:14:36AM +0200, Petr Salinger wrote:
> It might be GNU/kFreeBSD specific or linuxthreads specific.
> Please, could you test whether it crashes also on hppa ?

It does:

$ ./a.out
dlopen: 0x157e0
Segmentation fault (core dumped)

(gdb) run
Starting program: /home/arthur/a.out 
[Thread debugging using libthread_db enabled]
[New Thread 0x4000 (LWP 9775)]
[New Thread 0x8001 (LWP 9778)]
[New Thread 0x4002 (LWP 9779)]
dlopen: 0x157e0

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x4002 (LWP 9779)]
0x409dd408 in ?? ()
(gdb) bt
#0  0x409dd408 in ?? ()
#1  0x4092e784 in nanosleep () from /lib/libc.so.6
#2  0x4092e560 in sleep () from /lib/libc.so.6
#3  0x405daf60 in pthread_start_thread () from /lib/libpthread.so.0
#4  0x405db338 in pthread_start_thread_event () from /lib/libpthread.so.0
#5  0x40965d44 in clone () from /lib/libc.so.6
#6  0x00000000 in ?? ()


ii  gcc-4.3                                                         4.3.1-2
ii  libc6                                                           2.7-10

Attachment: signature.asc
Description: Digital signature


Reply to: