Bug #7687

Segmentation fault on Ruby 1.9.3 and Rails 2.3

Added by drasch (David Rasch) about 8 years ago. Updated about 8 years ago.

Target version:
ruby -v:
ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux]


I've not been able to nail down exact code to reproduce this, but I've seen it now 3-4 times. It happens if I startup my rails server (script/server) and make a request to the server before it's fully loaded. It also happens intermittently when just browsing pages.


segmentation-fault.txt (317 KB) segmentation-fault.txt drasch (David Rasch), 01/12/2013 01:55 AM
coredump-while-migrating.txt (125 KB) coredump-while-migrating.txt zarel (David Costa), 01/14/2013 10:51 PM

Updated by drasch (David Rasch) about 8 years ago

This occurs in ruby 1.9.3p362, but not in: ruby-1.9.3-p327 nor in ruby-1.9.3-head (as of today 3468cd1ed68ac08b19fffd78442b5de3a622c6ce)

Updated by zarel (David Costa) about 8 years ago

It happens to me too at the same line: validations.rb:479 of activerecord-2.3.15.

I am able to reproduce it by installing ChiliProject (I use the 3.5.0 version). The crash happens when I run this command "RAILS_ENV=production bundle exec rake db:migrate" in order to create the database tables.

This happens in ruby-1.9.3p362 but not in ruby-1.9.3p327.

In attachment the segfault output preceded by the output of "bundle exec rake db:migrate" of ChiliProject

Updated by usa (Usaku NAKAMURA) about 8 years ago

  • Status changed from Open to Closed

Sorry for inconvinient.
This is a known problem, and already fixed in the repository.

Use the HEAD of ruby_1_9_3 if you can, or use p327 till next patch release.

Also available in: Atom PDF