From: Payton Swick Date: 2006-03-01T00:48:12+09:00 Subject: Re: ruby segfaults with rails app The Gentoo guys have given up. Apparently this is a ruby problem or something to do with my setup. Here's my test case: $ rails testing $ cd testing $ ruby ./script/server # webrick starts $ wget http://localhost:3000/test # ERROR 404: Not Found. $ wget http://localhost:3000/test # ERROR 404: Not Found. $ wget http://localhost:3000/test # ERROR 500: Internal Server Error. $ wget http://localhost:3000/test # No data received. # At this point, webrick has segfaulted. This is perfectly reproducible. Here's the new ruby bug report: http://rubyforge.org/tracker/?func=detail&aid=3683&group_id=426&atid=1698 -Payton Payton Swick wrote: > Hi, this is something of a cross-post since I think I've exhausted the > ideas from the rails list and I think this may be more generally > ruby-related. Here's the link to the original thread: > > http://wrath.rubyonrails.org/pipermail/rails/2006-February/thread.html#19701 > > > On one of my linux boxes (gentoo) I recently updated some non-ruby > packages, and now whenever I try to run a rails app (either through > webrick or mongrel), the first page load works fine, but the second > causes a segmentation fault. > > This is the beginning of a stack trace: > > rb_eval (self=7909646, > n=0xb75c4ba8) at eval.c:2833 > 2833 eval.c: No such file or directory. > in eval.c > > I've also asked the Gentoo people, but I'm not sure where the fault > lies. Here's the Gentoo bug report, which has all my details and full > stack traces: > > http://bugs.gentoo.org/show_bug.cgi?id=123718 > > Thanks for any suggestions! > -Payton