From: Yui NARUSE Date: 2011-06-26T18:30:21+09:00 Subject: [ruby-core:37466] [Ruby 1.9 - Bug #4488][Feedback] Segmentation fault when calling new (or in rspec) Issue #4488 has been updated by Yui NARUSE. Status changed from Open to Feedback Would you show a reproducible code? ---------------------------------------- Bug #4488: Segmentation fault when calling new (or in rspec) http://redmine.ruby-lang.org/issues/4488 Author: Levon Saldamli Status: Feedback Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.2p136 (2010-12-25) [i386-mingw32] =begin def Session.instance(*args, &block) @__instance__ ||= new(*args, &block) # this line seems to trigger a segfault end when called from: it "should fail on an invalid application key" do expect { Hallon::Session.instance('invalid') }.to raise_error(Hallon::Error) end =end -- http://redmine.ruby-lang.org