From: "nagachika (Tomoyuki Chikanaga)" Date: 2014-01-07T01:37:28+09:00 Subject: [ruby-core:59600] [ruby-trunk - Bug #9315] Segfault when calling super in rspec mocks with and_call_original [linux] Issue #9315 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 1.9.3: DONTNEED, 2.0.0: REQUIRED, 2.1.0: REQUIRED to 1.9.3: DONTNEED, 2.0.0: DONE, 2.1.0: REQUIRED Hello, Jan, thank you for your investigation! r44455, r44458 and r44510 were backported to ruby_2_0_0 branch at r44511. Thanks again. ---------------------------------------- Bug #9315: Segfault when calling super in rspec mocks with and_call_original [linux] https://bugs.ruby-lang.org/issues/9315#change-44129 Author: jgraichen (Jan Graichen) Status: Closed 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: DONTNEED, 2.0.0: DONE, 2.1.0: REQUIRED 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/