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