From: s.wanabe@... Date: 2015-07-16T01:17:25+00:00 Subject: [ruby-core:69989] [Ruby trunk - Bug #11352] Sample code Garbage collection dies with an address is T_NONE Issue #11352 has been updated by _ wanabe. ``` ruby -e 'puts "GC.stress = true; {", *(1..128).map {|i| "#{i} => 0," }, "129 => [],", "130 => [],", "131 => [],", "}"' | ruby ``` It causes similer [BUG] on `ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]` and `ruby 2.3.0dev (2015-07-15 trunk 51015) [x86_64-darwin14]`. I guess hash.length should be >= 131, and 129th (and also 130th and 131st ?) item of hash should be a target of GC. ---------------------------------------- Bug #11352: Sample code Garbage collection dies with an address is T_NONE https://bugs.ruby-lang.org/issues/11352#change-53421 * Author: Frank Gifford * Status: Open * Priority: Normal * Assignee: * ruby -v: 2.2.2p95 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- ---Files-------------------------------- crash.rb (4.53 KB) crash_out (9.48 KB) -- https://bugs.ruby-lang.org/