nginx + passenger = segv in _rtld_error on restart on FreeBSD
8.0?
Kostik Belousov
kostikbel at gmail.com
Wed Dec 9 10:21:37 UTC 2009
On Wed, Dec 09, 2009 at 01:48:38AM -0000, Steven Hartland wrote:
> I'm currently testing nginx + passenger on FreeBSD 8.0 and I'm seeing a
> strange
> segv which seems to indicate a core library error in _rtld_error. Could this
> be the case or is the stack just badly corrupted?
>
> (gdb) bt
> #0 0x00000008005577dc in _rtld_error () from /libexec/ld-elf.so.1
> #1 0x0000000800557c3f in _rtld_error () from /libexec/ld-elf.so.1
> #2 0x0000000800557d5e in _rtld_error () from /libexec/ld-elf.so.1
> #3 0x000000080055851b in dladdr () from /libexec/ld-elf.so.1
> #4 0x00000008005585f3 in dladdr () from /libexec/ld-elf.so.1
> #5 0x000000080055576d in ?? () from /libexec/ld-elf.so.1
> #6 0x0000000000000001 in ?? ()
> #7 0x00000000004117f8 in
> boost::detail::sp_counted_impl_p<Passenger::Application::StandardSession>::dispose (this=0x800768980) at
> sp_counted_impl.hpp:78
> Previous frame inner to this frame (corrupt stack?)
You need to rebuild rtld with debugging information. Ideally, all shared
objects should have valid debug info.
At least, enter src/libexec/rtld-elf and do
make obj
make depend
make all install DEBUG_FLAGS=-g
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20091209/7c8224e2/attachment.pgp
More information about the freebsd-hackers
mailing list