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 8567B19C02B3 for ; Fri, 20 Nov 2015 14:59:41 +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 471BBB5D82F for ; Fri, 20 Nov 2015 15:30:33 +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 8E0C618CC7F4 for ; Fri, 20 Nov 2015 15:30:33 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 516E3120442; Fri, 20 Nov 2015 15:30:32 +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 0F250120439 for ; Fri, 20 Nov 2015 15:30:28 +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=2HDpwnWQO7iS7BL58U3JQ1Fry60=; b=Idi43cPU52v99aEX1U ctLY+aWmUoqw0gwC2FUTvVA+1tPVhG0KE0HjE1LPNm3qixscZWkFNDI1OSaZUo1j NNvbPj2MdCwshmLiQVxXzh6yy7qAO3gXPHD9hEm01G61m7YNQ7hCDb5rR0iU5KLn 5lXMbQytu4xkxU1ZShK7mAbAA= Received: by filter0526p1mdw1.sendgrid.net with SMTP id filter0526p1mdw1.16219.564EBE008 2015-11-20 06:30:24.07909722 +0000 UTC Received: from herokuapp.com (ec2-54-242-136-61.compute-1.amazonaws.com [54.242.136.61]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id JXL8Ze3TQae-gEzQEa2psA for ; Fri, 20 Nov 2015 06:30:23.989 +0000 (UTC) Date: Fri, 20 Nov 2015 06:30:23 +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: 46267 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11593 X-Redmine-Issue-Author: gazay X-Redmine-Issue-Assignee: tmm1 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS5agaGaaXw1cFBIrh2tZBpejEzXGXSNDNF5gV BIswyqtTo076kZxWK7TqAyc3o4G93Ys7g1LFl6fhCjZpxoDilmif6aZTLRvNE/y8R18S1HEx/rXj0z HzFbDG0FDxiLdnaYw+HmqxL0/us1Mguj0wS9 X-ML-Name: ruby-core X-Mail-Count: 71601 Subject: [ruby-core:71601] [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. Ok, I understood. This issue can be closed now, thank you ---------------------------------------- Bug #11593: Is it possible that ObjectSpace.dump_all catch dead objects? https://bugs.ruby-lang.org/issues/11593#change-54984 * Author: Alex Gaziev * Status: Feedback * Priority: Normal * Assignee: Aman Gupta * 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? ---Files-------------------------------- dead_thread.rb (216 Bytes) -- https://bugs.ruby-lang.org/