Bug #9313
closedSegmentation fault with active_record
Description
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
Files
Updated by nobu (Nobuyoshi Nakada) almost 11 years ago
- Status changed from Open to Assigned
Crash Report log file, please.
Updated by jcoyne (Justin Coyne) almost 11 years ago
- File ruby_2013-12-28-084958_Justins-MacBook-Pro-2.crash 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
Updated by jcoyne (Justin Coyne) almost 11 years ago
I'm also seeing this on Travis-ci, so it's not just a OSX problem. See: https://travis-ci.org/projecthydra/active_fedora/jobs/16047585
Updated by jcoyne (Justin Coyne) almost 11 years ago
Possible duplicate of https://bugs.ruby-lang.org/issues/9315
Updated by marciotrindade (Marcio Trindade) almost 11 years ago
Noted that same issue is reported in issue #9309 and resolved with r44458
Updated by nobu (Nobuyoshi Nakada) almost 11 years ago
- Is duplicate of Bug #9309: Crash while running tests added