[ruby-core:65253] [ruby-trunk - Bug #10289] [Closed] Segmentation fault on ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]

From: nobu@...
Date: 2014-09-24 05:45:38 UTC
List: ruby-core #65253
Issue #10289 has been updated by Nobuyoshi Nakada.

Description updated
Status changed from Open to Closed

It's an already fixed stack overflow detection bug.


----------------------------------------
Bug #10289: Segmentation fault on ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
https://bugs.ruby-lang.org/issues/10289#change-49083

* Author: david karapetyan
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: misc
* Target version: 
* ruby -v: ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
The following program causes a segmentation fault when I run it. It is a reduced test case from a small experiment I was running with command line argument parsing.

~~~ruby
results = Hash.new {|k, v| k[v] || []}
results[1] += []
~~~

I've attached the core dump.

---Files--------------------------------
output (916 KB)


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

In This Thread

Prev Next