Issue #9594 has been updated by Matt Yoder.

File ruby_2014-03-05-221030_HammerTime.crash added

Nobuyoshi Nakada wrote:
> On MacOS X, a crash log file under `~/Library/Logs/DiagnosticReports` is important.

Attached here.

----------------------------------------
Bug #9594: Segfault in 2.1.1 follows cont from debugger (Rails 4.0.3, debugger 1.6.6, rspec, os x mavericks 1.9.2)
https://bugs.ruby-lang.org/issues/9594#change-45649

* Author: Matt Yoder
* Status: Feedback
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* ruby -v: ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
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 (219 KB)
ruby_2014-03-05-221030_HammerTime.crash (31.7 KB)


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