Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault with rails 3.2.11 #112

Closed
juliendsv opened this issue Jan 25, 2013 · 3 comments
Closed

Segmentation fault with rails 3.2.11 #112

juliendsv opened this issue Jan 25, 2013 · 3 comments

Comments

@juliendsv
Copy link

Hi,
I have followed the instruction, run the migration but when I load the page I have a segmentation fault, here are the logs:

~/src/rails_projects/obtvse(branch:master*) » rails s
=> Booting Thin
=> Rails 3.2.11 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
/Users/jdasilva/.rvm/gems/ruby-1.9.3-p362/gems/activerecord-3.2.11/lib/active_record/relation.rb:241: [BUG] Segmentation fault
ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-darwin11.4.2]

-- Control frame information -----------------------------------------------
c:0094 p:0016 s:0465 b:0462 l:000461 d:000461 METHOD /Users/jdasilva/.rvm/gems/ruby-1.9.3-p362/gems/activerecord-3.2.11/lib/active_record/relation.rb:241
c:0093 p:0026 s:0459 b:0459 l:000458 d:000458 METHOD /Users/jdasilva/.rvm/gems/ruby-1.9.3-p362/gems/activerecord-3.2.11/lib/active_record/scoping/default.rb:41
c:0092 p:0022 s:0456 b:0456 l:001f38 d:000455 LAMBDA /Users/jdasilva/.rvm/gems/ruby-1.9.3-p362/gems/activerecord-3.2.11/lib/active_record/scoping/named.rb:180
c:0091 p:---- s:0451 b:0451 l:000450 d:000450 FINISH
c:0090 p:0028 s:0449 b:0449 l:000448 d:000448 METHOD /Users/jdasilva/src/rails_projects/obtvse/app/controllers/posts_controller.rb:6
...
@natew
Copy link
Owner

natew commented Jan 25, 2013

Ruby version?

@juliendsv
Copy link
Author

» ruby --version 
ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-darwin11.4.2]

@natew
Copy link
Owner

natew commented Jan 30, 2013

Honestly not really sure, but I have no problem running with 1.9.3. Looks like the issue is with the post model in posts_controller, but no idea why. Segfaults are usually something outside of the actual rails app... a gem that is misbehaving.

@natew natew closed this as completed Jan 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants