Project

General

Profile

Actions

Bug #9594

closed

Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)

Added by mjy (Matt Yoder) almost 11 years ago. Updated over 5 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
Backport:
[ruby-core:61306]

Description

Thought I'd post this, let me know if I can help with more info.

I've experienced it in a number of different places. No segfaults occurring when debugger is not used.

matt@foo taxonworks (master *%)$ rspec spec/lib/material_spec.rb
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's default settings.
........./Users/matt/src/taxonworks/lib/material.rb:23
object.biocuration_classes << BiocurationClass.find(opts[:collection_objects][o][:biocuration_classes]) 

[18, 27] in /Users/matt/src/taxonworks/lib/material.rb
   18        object = stub_object.clone
   19        object.total = opts[:collection_objects][o][:total]
   20  
   21        if opts[:collection_objects][o][:biocuration_classes] 
   22         debugger 
=> 23          object.biocuration_classes << BiocurationClass.find(opts[:collection_objects][o][:biocuration_classes]) 
   24        end
   25  
   26        object.notes << note.clone if note
   27        object.container = container if container
(rdb:1) cont
/Users/matt/.rvm/gems/ruby-2.1.1/gems/activerecord-4.0.3/lib/active_record/attribute_methods.rb:149: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]

Files

bug-9594.log (219 KB) bug-9594.log nobu (Nobuyoshi Nakada), 03/05/2014 11:58 PM
bug-9594.log (219 KB) bug-9594.log nobu (Nobuyoshi Nakada), 03/06/2014 12:05 AM
ruby_2014-03-05-221030_HammerTime.crash (31.7 KB) ruby_2014-03-05-221030_HammerTime.crash DiagnosticReport for the bug. mjy (Matt Yoder), 03/06/2014 04:14 AM
ruby_2014-03-13-140628_Adrians-MacBook-Pro-3.crash (24.8 KB) ruby_2014-03-13-140628_Adrians-MacBook-Pro-3.crash crash log file acrogenesis (Adrian Rangel), 03/13/2014 09:07 PM

Updated by mrkn (Kenta Murata) almost 11 years ago

  • Status changed from Open to Feedback

Is this reproduced with byebug instead of debugger?

Updated by nobu (Nobuyoshi Nakada) almost 11 years ago

Updated by nobu (Nobuyoshi Nakada) almost 11 years ago

On MacOS X, a crash log file under ~/Library/Logs/DiagnosticReports is important.

Updated by mjy (Matt Yoder) almost 11 years ago

Kenta Murata wrote:

Is this reproduced with byebug instead of debugger?

No, using byebug (2.7.0) in the same way does not reproduce the bug (thanks for pointing this gem out btw).

Updated by mjy (Matt Yoder) almost 11 years ago

Nobuyoshi Nakada wrote:

On MacOS X, a crash log file under ~/Library/Logs/DiagnosticReports is important.

Attached here.

Updated by acrogenesis (Adrian Rangel) almost 11 years ago

This is also happening to me when using debugger
Ruby 2.1.0, Mavericks 10.9.3 (Build 13D12), rails 4.0.3, debugger 1.6.6, rspec-rails 2.14.1

/Users/Adrian/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.3/lib/active_record/attribute_methods.rb:149: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0]

Updated by abinoam (Abinoam P. Marques Jr.) over 10 years ago

On debugger gem repository:

Actions #8

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

  • Status changed from Feedback to Third Party's Issue
  • Backport deleted (1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN)
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0