Rails 2.3.11 Server Crashing After 4 Requests
- by Taka
I have a Rails 2.3.11 application running on my local Windows machine using InstantRails. I cd to my application directory, run ruby script/server to start the server running, and point my browser to localhost:3000. I get the page I expect, and am able to click a few links to other pages (all of them are static).
The problem starts when I load the 4th page or so. My server crashes, with this message:
Processing HomeController#index (for 127.0.0.1 at 2012-06-23 15:48:40) [GET]
Rendering template within layouts/application
Rendering home/index
Completed in 11ms (View: 9, DB: 1) | 200 OK [http://localhost/index]
C:/rails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/memoizable.rb:46: [BUG] Segmentation fault
ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-mingw32]
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
I've uninstalled this gem and reinstalled it, which didn't help. It doesn't seem to be the gem though, because the segmentation fault sometimes occurs in
C:/rails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongrel.rb:114
or
C:/rails/ruby/lib/ruby/1.8/benchmark.rb:306
Versions:
>ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-mingw32]
>rails -v
Rails 2.3.11
I'd like to get this fixed so while I'm developing I don't have to keep restarting my server. Any suggestions?