Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Segmentation fault on rails generate scaffold

#5257

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

Reported by RailsFanatic · July 30th, 2010 @ 09:37 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. RailsFanatic
    RailsFanatic

    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.

    July 30th, 2010 @ 09:40 PM

  2. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to invalid
    • Importance changed from to Low

    I can't reproduce this any longer.

    October 7th, 2010 @ 06:39 AM