From: alex.gaziev@... Date: 2015-10-14T08:46:51+00:00 Subject: [ruby-core:71086] [Ruby trunk - Bug #11593] Is it possible that ObjectSpace.dump_all catch dead objects? Issue #11593 has been updated by Alex Gaziev. Description updated Assignee set to Koichi Sasada ---------------------------------------- Bug #11593: Is it possible that ObjectSpace.dump_all catch dead objects? https://bugs.ruby-lang.org/issues/11593#change-54452 * Author: Alex Gaziev * Status: Open * Priority: Normal * Assignee: Koichi Sasada * ruby -v: 2.2.3p173 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- Koichi, can you please help. There are lines in a dump that are not referenced by anyone else. And these are not ROOTs. For example, I'm looking in my dump by address of object and there is no other objects which have references to this object: ``` $ ag 0x7fc4adc55a20 dump.json 1812949:{"address":"0x7fc4adc55a20", "type":"DATA", "class":"0xaf6c70", "struct":"proc", "references":["0x7fc4adc55a48", "0x7fc504140390", "0x7fc4adc55a20", "0x7fc5041404d0"], "memsize":104} ``` How can it be? Is it a dead object who got in a dump or am I missing something? -- https://bugs.ruby-lang.org/