From: nobu@... Date: 2014-06-04T06:35:04+00:00 Subject: [ruby-core:62932] [ruby-trunk - Bug #9900] Segmentation fault with recursive reference of a hash Issue #9900 has been updated by Nobuyoshi Nakada. Duplicates Bug #9109: extend ������������������������������������ RSpec ��� let ��� 2 ������������������������������ segmentation fault ��������� added ---------------------------------------- Bug #9900: Segmentation fault with recursive reference of a hash https://bugs.ruby-lang.org/issues/9900#change-47033 * Author: Tsuyoshi Sawada * Status: Open * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: ruby 2.1.2 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- The following code raises a segmentation fault. Hash.new{|h,k| h[k]}[:foo] # => [BUG] Segmentation fault at 0x007fff5f3fff80 This bug was found on stackoverflow http://stackoverflow.com/questions/24028557/irb-crash-segmentation-bug-and-ruby-syntax-clarification -- https://bugs.ruby-lang.org/