From: abinoam@... Date: 2014-04-11T04:53:23+00:00 Subject: [ruby-core:61956] [ruby-trunk - 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) Issue #9594 has been updated by Abinoam P. Marques Jr.. On debugger gem repository: * https://github.com/cldwalker/debugger/issues/114 - Same segfault * https://github.com/cldwalker/debugger/issues/47 - Ruby 2.0.0 is not officially supported by debugger gem * https://github.com/cldwalker/debugger/issues/69 - Somebody is trying to help the maintainer to port the code for 2.0.0 compatibility... * https://github.com/cldwalker/debugger/issues/89#issuecomment-26330015 - Because the maintainer is facing some problems in having time to do it. * https://github.com/deivid-rodriguez/byebug - Some people are using byebug instead. ---------------------------------------- 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-46152 * 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) ruby_2014-03-13-140628_Adrians-MacBook-Pro-3.crash (24.8 KB) -- https://bugs.ruby-lang.org/