From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id CCB9319C003E for ; Wed, 14 Oct 2015 17:20:55 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 368F7B5D868 for ; Wed, 14 Oct 2015 17:47:01 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 4A83F952439 for ; Wed, 14 Oct 2015 17:47:01 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id CBB8112050A; Wed, 14 Oct 2015 17:47:00 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o2.heroku.sendgrid.net (o2.heroku.sendgrid.net [67.228.50.55]) by neon.ruby-lang.org (Postfix) with ESMTPS id EA059120485 for ; Wed, 14 Oct 2015 17:46:56 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=5WP02mWRJrrqeL5yrPkgjVQqR0A=; b=Cm08RFpttQedDrSa5A 588kwJJerG6HWjyu2vJKbEOvMeYtcc///SmS0d4RcUrSAB0jAHvqqyGHcHNP7XIa lX/Y8iOxSNf6QBdqNtjmnKiltlwSLrepSEuMOk6umKisjGWSp3a1Tx60P2hK87wP xjadJPRmLN3nJ231vhKt8VMso= Received: by filter0425p1mdw1.sendgrid.net with SMTP id filter0425p1mdw1.8435.561E167B44 2015-10-14 08:46:51.619324038 +0000 UTC Received: from herokuapp.com (ec2-54-205-124-171.compute-1.amazonaws.com [54.205.124.171]) by ismtpd0004p1iad1.sendgrid.net (SG) with ESMTP id 1Mh913MDQgKf6E102U8mdw for ; Wed, 14 Oct 2015 08:46:51.445 +0000 (UTC) Date: Wed, 14 Oct 2015 08:46:51 +0000 From: alex.gaziev@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 45706 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11593 X-Redmine-Issue-Author: gazay X-Redmine-Issue-Assignee: ko1 X-Redmine-Sender: gazay X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS6R+QW7uZ130L64A/gIYsgqv/yt3r9TJIKLvA 5I9tOeTYBpUsz08cBInX9WgzSGu+ZI3W+FaX6iDBR1Tz97SYCch4WK/NGwdQtceyVXjsoC/oHgBXgy 2Z83gXHmW0lyBLtu/nmyFoffxwvfhigwkHh2 X-ML-Name: ruby-core X-Mail-Count: 71086 Subject: [ruby-core:71086] [Ruby trunk - Bug #11593] Is it possible that ObjectSpace.dump_all catch dead objects? X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" 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/