Forum: Ruby ruby segfaults with rails app

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Payton S. (Guest)
on 2006-02-24 17: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:

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:

Thanks for any suggestions!
Payton S. (Guest)
on 2006-02-28 17: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:

This topic is locked and can not be replied to.