Date: Wed, 9 Dec 2009 12:21:22 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: nginx + passenger = segv in _rtld_error on restart on FreeBSD 8.0? Message-ID: <20091209102122.GC43143@deviant.kiev.zoral.com.ua> In-Reply-To: <6B44BF0945694D98BC060164D404B5A9@multiplay.co.uk> References: <6B44BF0945694D98BC060164D404B5A9@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--3+nIULlytNYGw3fk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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= =20 > strange > segv which seems to indicate a core library error in _rtld_error. Could t= his > be the case or is the stack just badly corrupted? >=20 > (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=20 > boost::detail::sp_counted_impl_p<Passenger::Application::StandardSession>= ::dispose (this=3D0x800768980) at=20 > 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=3D-g --3+nIULlytNYGw3fk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAksfeiEACgkQC3+MBN1Mb4h0EwCcD0sCJpM8ZBNnI9/JbwUeCq4S IpsAoPc8iPYbC2CvuKy32Iiq5+8kje6W =0ANi -----END PGP SIGNATURE----- --3+nIULlytNYGw3fk--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091209102122.GC43143>