Project

General

Profile

Actions

Backport #6618

closed

Seg Fault when printing thread.keys

Added by cantregister (Why Cantiregister) almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Assignee:
-
[ruby-core:45741]

Description

This is very easy to reproduce:

require 'bigdecimal'

for thr in Thread.list
puts thr.keys
end

Somehow a key is introduced to the thread with the object ID of 8.

Attempting to inspect or to_s this key results in a seg fault.

1.9.3p194 :001 > ObjectSpace._id2ref(8)
RangeError: 0x00000000000008 is not symbol id value

It is not clear how this object is created or inserted into the Thread.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0