Issue #9315 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned
Assignee set to nobu (Nobuyoshi Nakada)

Good catch.  Here is a smaller example:

  module A
    def foo
      super
    end
  end
  class B
    include A
  end
  B.new.method(:foo).call

I think r44179 caused this issue.

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Bug #9315: Segfault when calling super in rspec mocks with and_call_original [linux]
https://bugs.ruby-lang.org/issues/9315#change-43931

Author: jgraichen (Jan Graichen)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: 
ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN


I've tried running my test suite [1] on Ruby 2.1 resulting in segmentation faults. I've created a smaller rspec test [2] reproducing the segfault. I still haven't found a way to reproduce the segfault without rspec mocks. Run the example via `rspec test.rb`. Same script on Ruby 2.0 works. Used linux is a Debian Sid.

[1] https://travis-ci.org/jgraichen/acfs/jobs/16069122#L87
[2] https://gist.github.com/jgraichen/8159849

I've attached the segfault output.


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