Forum: Ruby-core [ruby-trunk - Bug #7687][Open] Segmentation fault on Ruby 1.9.3 and Rails 2.3

Posted by drasch (David Rasch) (Guest)
on 2013-01-11 17:56
(Received via mailing list)
Issue #7687 has been reported by drasch (David Rasch).

----------------------------------------
Bug #7687: Segmentation fault on Ruby 1.9.3 and Rails 2.3
https://bugs.ruby-lang.org/issues/7687

Author: drasch (David Rasch)
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
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.
Posted by drasch (David Rasch) (Guest)
on 2013-01-11 21:03
(Received via mailing list)
Issue #7687 has been updated by drasch (David Rasch).


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)

----------------------------------------
Bug #7687: Segmentation fault on Ruby 1.9.3 and Rails 2.3
https://bugs.ruby-lang.org/issues/7687#change-35365

Author: drasch (David Rasch)
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
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.
Posted by zarel (David Costa) (Guest)
on 2013-01-14 14:51
(Received via mailing list)
Issue #7687 has been updated by zarel (David Costa).

File coredump-while-migrating.txt added

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
----------------------------------------
Bug #7687: Segmentation fault on Ruby 1.9.3 and Rails 2.3
https://bugs.ruby-lang.org/issues/7687#change-35408

Author: drasch (David Rasch)
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
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.
Posted by usa (Usaku NAKAMURA) (Guest)
on 2013-01-15 07:58
(Received via mailing list)
Issue #7687 has been updated by usa (Usaku NAKAMURA).

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.
----------------------------------------
Bug #7687: Segmentation fault on Ruby 1.9.3 and Rails 2.3
https://bugs.ruby-lang.org/issues/7687#change-35427

Author: drasch (David Rasch)
Status: Closed
Priority: Normal
Assignee:
Category:
Target version: 1.9.3
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.