Issue #12662 has been reported by Rocco Carbone. ---------------------------------------- Bug #12662: rb_hash_fetch() Segmentation fault on an empty hash table https://bugs.ruby-lang.org/issues/12662 * Author: Rocco Carbone * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- I am writing HTM (Hash Table Machine - a C benchmark program for hash table) and libruby aborts with ruby: [BUG] Segmentation fault at 0x00000000000018 ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] while attempting to get an entry from an empty hash table. Attached is a simple program that reproduces the bug. Hope it helps. ciao /rocco ---Files-------------------------------- ruby-bug.c (652 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>