This project is archived and is in readonly mode.
Segmentation fault on rails generate scaffold
Reported by RailsFanatic | July 30th, 2010 @ 09:37 PM
sqlite3-ruby 1.3.1
rails 3.0.0.rc
ruby 1.9.2-rc2
The following seg fault occurs generating a new scaffold in a brand new rails3 app on 3.0.0.rc. This DOES NOT occur on 3.0.0.beta4, so something must have been introduced into the rc since beta4 to cause this.
$ rails g scaffold article title:string body:text /Users/Tom/.rvm/gems/ruby-1.9.2-rc2/gems/sqlite3-ruby-1.3.1/lib/sqlite3/sqlite3_native.bundle: [BUG] Segmentation fault ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
This also happened today on a friend's machine with a totally clean install of rvm, ruby 1.9, and no other gems besides rails and sqlite3-ruby.
Steps to reproduce on a "clean" machine:
(install rvm per instructions at http://rvm.beginrescueend.com/rvm/install/)
rvm install 1.9.2
gem install rails --pre
gem install sqlite3-ruby
rails new test1
cd test1
rails g scaffold article title:string body:text
Comments and changes to this ticket
-
RailsFanatic July 30th, 2010 @ 09:40 PM
forgot to mention
rvm use 1.9.2 --default
Also, the reference to 1.8.7, even though I'm running 1.9, might suggest the problem is really with the sqlite3-ruby gem, and that somehow an update to the rails3 rc "exposed" it.
-
Rohit Arondekar October 7th, 2010 @ 06:39 AM
- State changed from new to invalid
- Importance changed from to Low
I can't reproduce this any longer.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>