Search
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Jump to a project...
All Projects
Ruby Issue Tracking System
01wsmith (w smith)
Login: 01wsmith
Registered on: 01/22/2021
Last sign in: 01/22/2021
Issues
open
closed
Total
Assigned issues
0
0
0
Reported issues
0
1
1
Activity
01/23/2021
07:59 AM
Ruby
Bug #17574: Hash#inspect segfault
```
02:58:45|00|1~ irb
irb(main):001:0> x = {1 => {2 => 5}, 3 => {4 => 6}}
irb(main):002:0> y = x[1]
irb(main):003:0> y[11] = 3
irb(main):004:0> x.transform_values!(&:clone)
=> {1=>{2=>5, 11=>3}, 3=>{4=>6}}
irb(main):005:0> y[11] ...
01wsmith (w smith)
12:12 AM
Ruby
Bug #17574 (Closed): Hash#inspect segfault
While working in irb, I encountered an issue:
``` ruby
x = {1 => {2 => 5}, 3 => {4 => 6}}
y = x[1]
y[11] = 3
x.transform_values!(&:clone)
y[11] = nil
x
```
`x.inspect` causes irb to segfault.
I was not able to test this on ...
01wsmith (w smith)
Also available in:
Atom
Loading...