Project

General

Profile

Actions

Bug #9683

closed

Segmentation fault when using default proc feature in ruby Hash object

Added by levieb (Eran Barak Levi) over 8 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0]
[ruby-core:61720]

Description

➜ bruno-v2 rvm:(ruby-2.1.0) git:(master) ✗ uname -a
Darwin erans-mbp.intkontera.com 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
➜ bruno-v2 rvm:(ruby-2.1.0) git:(master) ✗ rvm -v
rvm 1.25.19 (stable) by Wayne E. Seguin , Michal Papis [https://rvm.io/]
➜ bruno-v2 rvm:(ruby-2.1.0) git:(master) ✗ ruby -v
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0]
➜ bruno-v2 rvm:(ruby-2.1.0) git:(master) ✗ ruby -e "a = Hash.new {|h,k| h[k] += 1};a[1]" 2> output
[1] 24934 segmentation fault ruby -e "a = Hash.new {|h,k| h[k] += 1};a[1]" 2> output

more information in the attached files


Files

ruby_2014-03-27-153720_Erans-MacBook-Pro.crash (45.3 KB) ruby_2014-03-27-153720_Erans-MacBook-Pro.crash crash report levieb (Eran Barak Levi), 03/27/2014 01:50 PM
output (489 KB) output script output levieb (Eran Barak Levi), 03/27/2014 01:50 PM
9683.patch (1.31 KB) 9683.patch srawlins (Sam Rawlins), 04/01/2014 06:42 PM
Actions

Also available in: Atom PDF