kern/103271: [libc] crash inside dlclose() on shared library unload

Alex Dupre ale at FreeBSD.org
Tue Jan 1 03:50:02 PST 2008


The following reply was made to PR kern/103271; it has been noted by GNATS.

From: Alex Dupre <ale at FreeBSD.org>
To: bug-followup at FreeBSD.org, sesser at hardened-php.net
Cc:  
Subject: Re: kern/103271: [libc] crash inside dlclose() on shared library
 unload
Date: Tue, 01 Jan 2008 12:42:08 +0100

 I think it may be a gcc 3.4.6 bug. Compiling the ports with gcc 4.2.3
 snapshot doesn't trigger the issue.
 
 Anyway, this is the backtrace:
 
 #0  0x00000000 in ?? ()
 #1  0x287eeac4 in __do_global_dtors_aux () from
 /usr/local/lib/php/20060613-debug/suhosin.so
 #2  0x2880d87c in _fini () from /usr/local/lib/php/20060613-debug/suhosin.so
 #3  0x282b5160 in ?? () from /libexec/ld-elf.so.1
 #4  0x282b5018 in ?? () from /libexec/ld-elf.so.1
 #5  0xbfbfe558 in ?? ()
 #6  0x28293c00 in elf_hash () from /libexec/ld-elf.so.1
 #7  0x28293eb9 in elf_hash () from /libexec/ld-elf.so.1
 #8  0x285f52af in __cxa_finalize () from /lib/libc.so.6
 #9  0x285f4f0a in exit () from /lib/libc.so.6
 #10 0x0820666e in main (argc=2, argv=0xbfbfe7b0) at
 /usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php_cli.c:1348
 
 --
 Ale


More information about the freebsd-bugs mailing list