Ruby Issue Tracking System: Issueshttps://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?15675512322014-06-18T16:44:36ZRuby Issue Tracking System
Redmine Ruby master - Bug #9954 (Closed): Unexpected Hash Modification and Segmentation Fault with Named ...https://bugs.ruby-lang.org/issues/99542014-06-18T16:44:36ZAjedi32 (Andrew M)andrewm.bpi@gmail.com
<p>While experimenting with named arguments in Ruby 2.1.2, I encountered some strange behavior where a hash was modified after being passed as a set of named arguments with the double-splat operator. While attempting to examine the issue further, I encountered a segmentation fault which I believe to be related.</p>
<p>I have attached a log of my experiment, and a <code>.rb</code> file which reproduces both the unexpected hash modification and the segfault.</p>