Skip to content

Instantly share code, notes, and snippets.

@dgoldie
Created February 11, 2011 20:29
Show Gist options
  • Save dgoldie/822964 to your computer and use it in GitHub Desktop.
Save dgoldie/822964 to your computer and use it in GitHub Desktop.
brash seg. fault
some errors are ...[BUG] Segmentation fault,
$ script/console
Loading development environment (Rails 2.3.4)
~> Console extensions: wirble hirb ap rails2 rails3 pm interactive_editor
/Users/doug/code/work/brash/web/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
/Users/doug/code/work/brash/web/vendor/rails/activesupport/lib/active_support/core_ext/module/introspection.rb:73: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10.6.0]
Abort trap
doug@zeus ~/code/work/brash/web
doug@zeus ~/code/work/brash/web
$ script/server
=> Booting WEBrick
=> Rails 2.3.4 application starting on http://0.0.0.0:3000
./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
/Users/doug/code/work/brash/web/vendor/gems/mime-types-1.16/lib/mime/types.rb:308: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10.6.0]
Abort trap
doug@zeus ~/code/work/brash/web
but now more often they are [BUG] rb_gc_mark():
doug@zeus ~/code/work/brash/spooky
$ script/console
Loading development environment (Rails 2.3.4)
~> Console extensions: wirble hirb ap rails2 rails3 pm interactive_editor
/Users/doug/code/work/brash/spooky/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
/Users/doug/code/work/brash/spooky/vendor/gems/mime-types-1.16/lib/mime/types.rb:171: [BUG] rb_gc_mark(): unknown data type 0x27(0x1029800d0) non object
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10.6.0]
Abort trap
doug@zeus ~/code/work/brash/spooky
$ rake db:drop
(in /Users/doug/code/work/brash/spooky)
doug@zeus ~/code/work/brash/spooky
$ rake db:create
(in /Users/doug/code/work/brash/spooky)
doug@zeus ~/code/work/brash/spooky
$ rake db:migrate
(in /Users/doug/code/work/brash/spooky)
.... loads all tables until the end...
== AddAdMapsTable: migrating =================================================
-- create_table(:ad_maps, {:id=>false})
-> 0.0929s
-- add_index(:ad_maps, :encoded_ad_id)
-> 0.1060s
-- execute("ALTER TABLE ad_maps ADD PRIMARY KEY (encoded_ad_id);")
-> 0.0881s
== AddAdMapsTable: migrated (0.2883s) ========================================
/Users/doug/code/work/brash/spooky/vendor/rails/activesupport/lib/active_support/dependencies.rb:145: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10.6.0]
Abort trap
doug@zeus ~/code/work/brash/spooky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment