Forum: Ruby ruby segfaults with rails app

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5224d56434a3d237408c217605df8a56?d=identicon&s=25 Payton Swick (Guest)
on 2006-02-24 16:37
(Received via mailing list)
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-...

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
5224d56434a3d237408c217605df8a56?d=identicon&s=25 Payton Swick (Guest)
on 2006-02-28 16:48
(Received via mailing list)
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...

-Payton
This topic is locked and can not be replied to.