Aidan Finn
2006-Aug-02 10:47 UTC
[Mongrel] Mongrel crashes whenever an exception is raised
Hi all, I have a rails app running on mongrel on freebsd using mongrel 0.3.13.3 with ruby 1.8.4. Mongrel dies every time the application generates an exception. I have the same setup running on a linux box without any problems. Mongrel crashes with the following error: Bus error (core dumped) And the following message in /var/log/message kernel: pid 57638 (ruby), uid 0: exited on signal 10 (core dumped) Anyone seen this before or got any idea what is causing it? cheers, AF -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060802/ce376357/attachment.html
Aidan Finn
2006-Aug-02 13:11 UTC
[Mongrel] Mongrel crashes whenever an exception is raised
Hi all, Turns out the problem was with pthreads on freebsd. Installing ruby with pthreads disabled solved the problem. The version of ruby installed had pthreads enabled. Recent versions of the ruby freebsd port have pthreads disabled by default or else you can use the ruby18-nopthreads port. Cheers, AF On 8/2/06, Aidan Finn <aidanf at gmail.com> wrote:> > Hi all, > > I have a rails app running on mongrel on freebsd using mongrel 0.3.13.3with ruby > 1.8.4. > > Mongrel dies every time the application generates an exception. I have > the same setup running on a linux box without any problems. > > Mongrel crashes with the following error: > Bus error (core dumped) > > And the following message in /var/log/message > kernel: pid 57638 (ruby), uid 0: exited on signal 10 (core dumped) > > Anyone seen this before or got any idea what is causing it? > > > cheers, > > AF >-- ------------------------------- http://www.aidanf.net ------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060802/6d403018/attachment.html
Thanks Aidan, it''s on the list for FAQ questions. I''ll also look at why this might be. On Wed, 2006-08-02 at 14:11 +0100, Aidan Finn wrote:> Hi all, > > Turns out the problem was with pthreads on freebsd. Installing ruby > with pthreads disabled solved the problem. The version of ruby > installed had pthreads enabled. Recent versions of the ruby freebsd > port have pthreads disabled by default or else you can use the > ruby18-nopthreads port. > > Cheers, > > AF > > On 8/2/06, Aidan Finn <aidanf at gmail.com> wrote: > Hi all, > > I have a rails app running on mongrel on freebsd using mongrel > 0.3.13.3 with ruby 1.8.4. > > Mongrel dies every time the application generates an > exception. I have the same setup running on a linux box > without any problems. > > Mongrel crashes with the following error: > Bus error (core dumped) > > And the following message in /var/log/message > kernel: pid 57638 (ruby), uid 0: exited on signal 10 (core > dumped) > > Anyone seen this before or got any idea what is causing it? > > > cheers, > > > AF > > > > > -- > ------------------------------- > http://www.aidanf.net > ------------------------------- > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users