This project is archived and is in readonly mode.

#5193 ✓invalid
Dan Croak

Segmentation fault on rake db:create, multiple rubies, multiple dbs

Reported by Dan Croak | July 26th, 2010 @ 05:37 AM

I'm getting segmentation faults every time I try to create a db on a fresh Rails 3.0.0.beta4 app. Here's the Ruby 1.9.2-head output:

https://gist.github.com/92ea2728cdab5bfe4844

The same occurs for each of these rubies I've tried on my Snow Leopard machine:

   ree-1.8.7-2010.02 [ x86_64 ]
   ruby-1.8.7-p249 [ x86_64 ]
=> ruby-1.9.2-head [ x86_64 ]
   ruby-1.9.2-rc2 [ x86_64 ]

I've also tried sqlite3-ruby and pg gems in I think all of the rubies.

My Gemfile looks like this:

https://gist.github.com/af68170253715725a56e

All I've done is create the Rails app, alter the Gemfile, gem install bundler, bundle install, and rake db:create. I'm using rvm to create a new gemset and switch between rubies.

Comments and changes to this ticket

  • Rohit Arondekar

    Rohit Arondekar July 26th, 2010 @ 07:26 AM

    • Importance changed from “” to “Low”

    Which version of bundler are you using? I believe it's best if you try using 1.0.0.beta.10 -- although RC1 could be out soon.

  • Dan Croak

    Dan Croak July 26th, 2010 @ 01:23 PM

    Rohit,

    Good call. I switched the process to

    gem install bundler --pre
    

    and the segmentation faults seem to have stopped. Previously I was using bundler-0.9.26.

    Thanks!
    Dan

  • Rohit Arondekar

    Rohit Arondekar July 26th, 2010 @ 01:25 PM

    • State changed from “new” to “invalid”

    Cheers. :)

    Closing ticket, if the issue persists feel free to re-open or make a new one.

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>

Pages