Re: nginx + passenger = segv in _rtld_error on restart on FreeBSD 8.0?

2010-05-08 Thread Steven Hartland

As you may have guessed by my last reply no we didn't we had to revert to
apache + passenger, but seems you've found a fix anyway. Out of interest
what lead you to the close race condition PR as a potential fix?

- Original Message - 
From: Matt Reimer mattjrei...@gmail.com

Steve,

Did you figure this out? We're seeing something very similar with
nginx + passenger + FreeBSD 8.0.



This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: nginx + passenger = segv in _rtld_error on restart on FreeBSD 8.0?

2010-05-07 Thread Matt Reimer
On Tue, Dec 8, 2009 at 6:48 PM, Steven Hartland kill...@multiplay.co.uk 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  0x0008005577dc in _rtld_error () from /libexec/ld-elf.so.1
 #1  0x000800557c3f in _rtld_error () from /libexec/ld-elf.so.1
 #2  0x000800557d5e in _rtld_error () from /libexec/ld-elf.so.1
 #3  0x00080055851b in dladdr () from /libexec/ld-elf.so.1
 #4  0x0008005585f3 in dladdr () from /libexec/ld-elf.so.1
 #5  0x00080055576d in ?? () from /libexec/ld-elf.so.1
 #6  0x0001 in ?? ()
 #7  0x004117f8 in
 boost::detail::sp_counted_impl_pPassenger::Application::StandardSession::dispose
 (this=0x800768980) at sp_counted_impl.hpp:78
 Previous frame inner to this frame (corrupt stack?)

   Regards
   Steve

Steve,

Did you figure this out? We're seeing something very similar with
nginx + passenger + FreeBSD 8.0.

Matt
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: nginx + passenger = segv in _rtld_error on restart on FreeBSD 8.0?

2009-12-09 Thread Kostik Belousov
On Wed, Dec 09, 2009 at 01:48:38AM -, 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  0x0008005577dc in _rtld_error () from /libexec/ld-elf.so.1
 #1  0x000800557c3f in _rtld_error () from /libexec/ld-elf.so.1
 #2  0x000800557d5e in _rtld_error () from /libexec/ld-elf.so.1
 #3  0x00080055851b in dladdr () from /libexec/ld-elf.so.1
 #4  0x0008005585f3 in dladdr () from /libexec/ld-elf.so.1
 #5  0x00080055576d in ?? () from /libexec/ld-elf.so.1
 #6  0x0001 in ?? ()
 #7  0x004117f8 in 
 boost::detail::sp_counted_impl_pPassenger::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


pgpmYO9aF9Qst.pgp
Description: PGP signature


nginx + passenger = segv in _rtld_error on restart on FreeBSD 8.0?

2009-12-08 Thread Steven Hartland

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  0x0008005577dc in _rtld_error () from /libexec/ld-elf.so.1
#1  0x000800557c3f in _rtld_error () from /libexec/ld-elf.so.1
#2  0x000800557d5e in _rtld_error () from /libexec/ld-elf.so.1
#3  0x00080055851b in dladdr () from /libexec/ld-elf.so.1
#4  0x0008005585f3 in dladdr () from /libexec/ld-elf.so.1
#5  0x00080055576d in ?? () from /libexec/ld-elf.so.1
#6  0x0001 in ?? ()
#7  0x004117f8 in boost::detail::sp_counted_impl_pPassenger::Application::StandardSession::dispose (this=0x800768980) at 
sp_counted_impl.hpp:78

Previous frame inner to this frame (corrupt stack?)

   Regards
   Steve



This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org