Project

General

Profile

Actions

Bug #10460

closed

Segfault instead of stack level too deep

Added by plexus (Arne Brasseur) about 10 years ago. Updated over 5 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.2.0dev (2014-10-29 trunk 48188) [x86_64-linux]
[ruby-core:66023]

Description

The code to trigger this can be found here: https://gist.github.com/mbj/31163a8e712573877268

Also have a look at the comments there. A lot of different people tried it, in some cases it segfaults, in others it doesn't. It seems to have to do with version of gcc or specific CFLAGS.

I can reproduce the problem for 2.1.3, 2.1.4, and trunk.


Files

rspec_ruby_segfault.rb (233 Bytes) rspec_ruby_segfault.rb RSpec segfault example Ajedi32 (Ajedi32 W), 11/26/2014 10:29 PM
sample_output (26 KB) sample_output Output demonstrating the segfault Ajedi32 (Ajedi32 W), 11/26/2014 10:29 PM

Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #10626: BUS error from nesting lambda's and calls to methods defined with define_methodClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0