From: "jcoyne (Justin Coyne)" <jcoyne@...>
Date: 2013-12-28T23:56:41+09:00
Subject: [ruby-core:59360] [ruby-trunk - Bug #9313] Segmentation fault with	active_record


Issue #9313 has been updated by jcoyne (Justin Coyne).

File ruby_2013-12-28-084958_Justins-MacBook-Pro-2.crash added

I'm also seeing this segfault, although in a slightly different place in the code.  I've attached a crash log.

/Users/justin/workspace/active_fedora/lib/active_fedora/callbacks.rb:232: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.

-- Control frame information -----------------------------------------------
c:0036 p:0008 s:0158 e:000156 BLOCK  /Users/justin/workspace/active_fedora/lib/active_fedora/callbacks.rb:232
c:0035 p:0080 s:0155 e:000154 METHOD /Users/justin/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:383
c:0034 p:0023 s:0149 e:000148 METHOD /Users/justin/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80
c:0033 p:0009 s:0143 E:0005f8 METHOD /Users/justin/workspace/active_fedora/lib/active_fedora/callbacks.rb:232 [FINISH]
c:0032 p:---- s:0140 e:000139 CFUNC  :call
c:0031 p:0013 s:0137 e:000136 METHOD /Users/justin/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rspec-mocks-2.14.4/lib/rspec/mocks/message_expectation.rb:572
 
----------------------------------------
Bug #9313: Segmentation fault with active_record
https://bugs.ruby-lang.org/issues/9313#change-43929

Author: marciotrindade (Marcio Trindade)
Status: Assigned
Priority: Normal
Assignee: 
Category: lib/rubygems
Target version: 
ruby -v: 2.1.0-p0
Backport: 2.1: UNKNOWN


Hi,

I got the same problem with 2 different macbook.

/Users/marciotrindade/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/transactions.rb:265: [BUG] Segmentation fault at 0x00000000000018                                                                                                         |  ETA: 00:00:24
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.

-- C level backtrace information -------------------------------------------
0   libruby.2.1.0.dylib                 0x00000001098a57ad rb_vm_bugreport + 141
1   libruby.2.1.0.dylib                 0x000000010976ecad report_bug + 285
2   libruby.2.1.0.dylib                 0x000000010976eb83 rb_bug + 179
3   libruby.2.1.0.dylib                 0x000000010982dd29 sigsegv + 153
4   libsystem_platform.dylib            0x00007fff80d9e5aa _sigtramp + 26
5   libruby.2.1.0.dylib                 0x000000010988d450 vm_exec_core + 10496
6   libsystem_c.dylib                   0x00007fff72b86400 __stack_chk_guard + 0


To see the complete backtrace please visit https://gist.github.com/marciotrindade/8155638


-- 
http://bugs.ruby-lang.org/