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 DD4F517DDAA4 for ; Wed, 21 Jan 2015 13:47:21 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 3B090B5D910 for ; Wed, 21 Jan 2015 13:46:05 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id AB14C97A827 for ; Wed, 21 Jan 2015 13:46:06 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZzJ618IegzxL for ; Wed, 21 Jan 2015 13:46:06 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 5B37197A832 for ; Wed, 21 Jan 2015 13:46:06 +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 9DB89952421 for ; Wed, 21 Jan 2015 13:46:04 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id B21D6120434; Wed, 21 Jan 2015 13:46: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 526DB12040B for ; Wed, 21 Jan 2015 13:45:57 +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=VUed7xoudVykRW2F5llKrlDFkPA=; b=HiJ4WTRBbwRYygSkdf LCkHxvCjt7+mG/bgEZTJGqcpCIvzlyfTA2GJIliVqg89Qd74xVZZVvVgCBofsYWU HxDOUu51I+qExM5YpyN3RJRxql8qlwTAsavBjClOzn2RyjwNGcW/6IZRAV/TIJPF 7fk2RDh1PdcqW3i1rMSEvXpak= Received: by filter0277p1mdw1.sendgrid.net with SMTP id filter0277p1mdw1.11285.54BF2EFA9 2015-01-21 04:45:46.728466448 +0000 UTC Received: from herokuapp.com (ec2-54-90-212-221.compute-1.amazonaws.com [54.90.212.221]) by ismtpd-042 (SG) with ESMTP id 14b0acf8322.6602.221883 for ; Wed, 21 Jan 2015 04:45:46 +0000 (UTC) Date: Wed, 21 Jan 2015 04:45:46 +0000 From: ko1@atdot.net To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Redmine-MailingListIntegration-Message-Ids: 42134 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 10724 X-Redmine-Issue-Author: deivid X-Redmine-Issue-Assignee: ko1 X-Redmine-Sender: ko1 X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: OOF Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS6K7bTCZxbHAhwwVWUkp5aWT3Ca6D0/a7B6Hf 3MMm3qrww76tOWT6lzjy76LD0B9m3Mau22E8yOjxhKLXGPLItMRIDck8wV2IYAc7sCfa5FGJ+Hx4fT HawvJMDFDr16Ppa+X3PpuYtn7Hwz3WI4lR4d X-ML-Name: ruby-core X-Mail-Count: 67711 Subject: [ruby-core:67711] [ruby-trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem 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 #10724 has been updated by Koichi Sasada. Assignee set to Koichi Sasada Thank you. I can reproduce it. ```ruby class A def initialize loop{return} end def foo loop { return } end def bar end end TracePoint.new(:return){|tp| p tp }.enable{ a =3D A.new a.foo a.bar } # # # # ``` ---------------------------------------- Bug #10724: [TracePointAPI] Missing return event from initialize method whe= n using `domain_name` gem https://bugs.ruby-lang.org/issues/10724#change-51143 * Author: David Rodr=C3=ADguez * Status: Open * Priority: Normal * Assignee: Koichi Sasada * ruby -v: ruby 2.3.0dev (2015-01-09 trunk 49194) [i686-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- The domain_name gem defines a DomainName object which has a pretty complex = `initialize` method. The TracePoint API misses the return event from this m= ethod when instantiating a DomainName object. I attach a failing test case. Thanks!! ---Files-------------------------------- test_tracepoint_with_domain_name.rb (896 Bytes) test_for_issue_10724.rb (726 Bytes) --=20 https://bugs.ruby-lang.org/