ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:67463] [ruby-trunk - Bug #10724] [Open] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
@ 2015-01-09 10:43 ` deivid.rodriguez
  2015-01-20 13:22 ` [ruby-core:67698] [ruby-trunk - Bug #10724] " deivid.rodriguez
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: deivid.rodriguez @ 2015-01-09 10:43 UTC (permalink / raw
  To: ruby-core

Issue #10724 has been reported by David Rodríguez.

----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724

* Author: David Rodríguez
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* 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 method when instantiating a DomainName object.

I attach a failing test case.

Thanks!!

---Files--------------------------------
test_tracepoint_with_domain_name.rb (896 Bytes)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:67698] [ruby-trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
  2015-01-09 10:43 ` [ruby-core:67463] [ruby-trunk - Bug #10724] [Open] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem deivid.rodriguez
@ 2015-01-20 13:22 ` deivid.rodriguez
  2015-01-21  4:45 ` [ruby-core:67711] " ko1
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: deivid.rodriguez @ 2015-01-20 13:22 UTC (permalink / raw
  To: ruby-core

Issue #10724 has been updated by David Rodríguez.

File test_for_issue_10724.rb added

Hi again, I've been able to reduce this to the following minimal program which misses the `return` event for the `initialize` call. Attaching a failing test case.

    class A
      def initialize
        loop { return }
      end
    end

    A.new

Thanks!!


----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724#change-51135

* Author: David Rodríguez
* Status: Open
* Priority: Normal
* Assignee: 
* 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 method 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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:67711] [ruby-trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
  2015-01-09 10:43 ` [ruby-core:67463] [ruby-trunk - Bug #10724] [Open] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem deivid.rodriguez
  2015-01-20 13:22 ` [ruby-core:67698] [ruby-trunk - Bug #10724] " deivid.rodriguez
@ 2015-01-21  4:45 ` ko1
  2015-01-21  8:38 ` [ruby-core:67718] " deivid.rodriguez
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ko1 @ 2015-01-21  4:45 UTC (permalink / raw
  To: 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 = A.new
  a.foo
  a.bar
}
# #<TracePoint:return `foo'@t.rb:8>
# #<TracePoint:return `bar'@t.rb:12>
```


----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724#change-51143

* Author: David Rodríguez
* 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 method 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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:67718] [ruby-trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2015-01-21  4:45 ` [ruby-core:67711] " ko1
@ 2015-01-21  8:38 ` deivid.rodriguez
  2015-03-12 14:18 ` [ruby-core:68509] [Ruby trunk " deivid.rodriguez
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: deivid.rodriguez @ 2015-01-21  8:38 UTC (permalink / raw
  To: ruby-core

Issue #10724 has been updated by David Rodríguez.


Great!

----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724#change-51148

* Author: David Rodríguez
* 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 method 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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:68509] [Ruby trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2015-01-21  8:38 ` [ruby-core:67718] " deivid.rodriguez
@ 2015-03-12 14:18 ` deivid.rodriguez
  2015-04-09 15:57 ` [ruby-core:68825] " deivid.rodriguez
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: deivid.rodriguez @ 2015-03-12 14:18 UTC (permalink / raw
  To: ruby-core

Issue #10724 has been updated by David Rodríguez.


@ko1, any updates?

Thanks!

----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724#change-51838

* Author: David Rodríguez
* 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 method 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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:68825] [Ruby trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
                   ` (4 preceding siblings ...)
  2015-03-12 14:18 ` [ruby-core:68509] [Ruby trunk " deivid.rodriguez
@ 2015-04-09 15:57 ` deivid.rodriguez
  2015-04-10  8:32 ` [ruby-core:68830] " ko1
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: deivid.rodriguez @ 2015-04-09 15:57 UTC (permalink / raw
  To: ruby-core

Issue #10724 has been updated by David Rodríguez.


@ko1, is this in your plans? Just asking so that I can find some time myself to have a look at it if you don't want or don't have the time to do it.

----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724#change-52088

* Author: David Rodríguez
* 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 method 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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:68830] [Ruby trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
                   ` (5 preceding siblings ...)
  2015-04-09 15:57 ` [ruby-core:68825] " deivid.rodriguez
@ 2015-04-10  8:32 ` ko1
  2015-04-11 22:32 ` [ruby-core:68849] " deivid.rodriguez
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ko1 @ 2015-04-10  8:32 UTC (permalink / raw
  To: ruby-core

Issue #10724 has been updated by Koichi Sasada.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED

Sorry for long absent.

I fixed it.

Idea is given by wanabe-san.
https://twitter.com/wannabe53/status/578555803445035009


----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724#change-52095

* Author: David Rodríguez
* Status: Closed
* 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: REQUIRED
----------------------------------------
The domain_name gem defines a DomainName object which has a pretty complex `initialize` method. The TracePoint API misses the return event from this method 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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:68849] [Ruby trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
                   ` (6 preceding siblings ...)
  2015-04-10  8:32 ` [ruby-core:68830] " ko1
@ 2015-04-11 22:32 ` deivid.rodriguez
  2015-04-11 22:57   ` [ruby-core:68850] " Billy E Brand
  2015-05-21  2:15 ` [ruby-core:69271] " usa
                   ` (2 subsequent siblings)
  10 siblings, 1 reply; 12+ messages in thread
From: deivid.rodriguez @ 2015-04-11 22:32 UTC (permalink / raw
  To: ruby-core

Issue #10724 has been updated by David Rodríguez.


Great! Thanks a lot to both for the fix.

I'd like this backported to 2.0 and 2.1, too, if possible

----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724#change-52115

* Author: David Rodríguez
* Status: Closed
* 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: REQUIRED
----------------------------------------
The domain_name gem defines a DomainName object which has a pretty complex `initialize` method. The TracePoint API misses the return event from this method 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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:68850] Re: [Ruby trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
  2015-04-11 22:32 ` [ruby-core:68849] " deivid.rodriguez
@ 2015-04-11 22:57   ` Billy E Brand
  0 siblings, 0 replies; 12+ messages in thread
From: Billy E Brand @ 2015-04-11 22:57 UTC (permalink / raw
  To: Ruby developers

Can you remove my email account  from ruby core the web page doesn't seem to work Thanks 

Sent from my iPhone
Billy E Brand
404-597-9615

> On Apr 11, 2015, at 18:32, deivid.rodriguez@gmail.com wrote:
> 
> Issue #10724 has been updated by David Rodríguez.
> 
> 
> Great! Thanks a lot to both for the fix.
> 
> I'd like this backported to 2.0 and 2.1, too, if possible
> 
> ----------------------------------------
> Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
> https://bugs.ruby-lang.org/issues/10724#change-52115
> 
> * Author: David Rodríguez
> * Status: Closed
> * 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: REQUIRED
> ----------------------------------------
> The domain_name gem defines a DomainName object which has a pretty complex `initialize` method. The TracePoint API misses the return event from this method 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)
> 
> 
> -- 
> https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:69271] [Ruby trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
                   ` (7 preceding siblings ...)
  2015-04-11 22:32 ` [ruby-core:68849] " deivid.rodriguez
@ 2015-05-21  2:15 ` usa
  2015-05-21  4:31 ` [ruby-core:69279] " usa
  2015-05-23 17:59 ` [ruby-core:69331] " nagachika00
  10 siblings, 0 replies; 12+ messages in thread
From: usa @ 2015-05-21  2:15 UTC (permalink / raw
  To: ruby-core

Issue #10724 has been updated by Usaku NAKAMURA.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED to 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: REQUIRED

----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724#change-52526

* Author: David Rodríguez
* Status: Closed
* Priority: Normal
* Assignee: Koichi Sasada
* ruby -v: ruby 2.3.0dev (2015-01-09 trunk 49194) [i686-linux]
* Backport: 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
The domain_name gem defines a DomainName object which has a pretty complex `initialize` method. The TracePoint API misses the return event from this method 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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:69279] [Ruby trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
                   ` (8 preceding siblings ...)
  2015-05-21  2:15 ` [ruby-core:69271] " usa
@ 2015-05-21  4:31 ` usa
  2015-05-23 17:59 ` [ruby-core:69331] " nagachika00
  10 siblings, 0 replies; 12+ messages in thread
From: usa @ 2015-05-21  4:31 UTC (permalink / raw
  To: ruby-core

Issue #10724 has been updated by Usaku NAKAMURA.

Backport changed from 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: WONTFIX, 2.1: DONE, 2.2: REQUIRED

ruby_2_1 r50576 merged revision(s) 50206.

----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724#change-52536

* Author: David Rodríguez
* Status: Closed
* Priority: Normal
* Assignee: Koichi Sasada
* ruby -v: ruby 2.3.0dev (2015-01-09 trunk 49194) [i686-linux]
* Backport: 2.0.0: WONTFIX, 2.1: DONE, 2.2: REQUIRED
----------------------------------------
The domain_name gem defines a DomainName object which has a pretty complex `initialize` method. The TracePoint API misses the return event from this method 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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ruby-core:69331] [Ruby trunk - Bug #10724] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
       [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
                   ` (9 preceding siblings ...)
  2015-05-21  4:31 ` [ruby-core:69279] " usa
@ 2015-05-23 17:59 ` nagachika00
  10 siblings, 0 replies; 12+ messages in thread
From: nagachika00 @ 2015-05-23 17:59 UTC (permalink / raw
  To: ruby-core

Issue #10724 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: WONTFIX, 2.1: DONE, 2.2: REQUIRED to 2.0.0: WONTFIX, 2.1: DONE, 2.2: DONE

Backported into `ruby_2_2` branch at r50624.

----------------------------------------
Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
https://bugs.ruby-lang.org/issues/10724#change-52601

* Author: David Rodríguez
* Status: Closed
* Priority: Normal
* Assignee: Koichi Sasada
* ruby -v: ruby 2.3.0dev (2015-01-09 trunk 49194) [i686-linux]
* Backport: 2.0.0: WONTFIX, 2.1: DONE, 2.2: DONE
----------------------------------------
The domain_name gem defines a DomainName object which has a pretty complex `initialize` method. The TracePoint API misses the return event from this method 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)


-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-05-23 17:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-10724.20150109104357@ruby-lang.org>
2015-01-09 10:43 ` [ruby-core:67463] [ruby-trunk - Bug #10724] [Open] [TracePointAPI] Missing return event from initialize method when using `domain_name` gem deivid.rodriguez
2015-01-20 13:22 ` [ruby-core:67698] [ruby-trunk - Bug #10724] " deivid.rodriguez
2015-01-21  4:45 ` [ruby-core:67711] " ko1
2015-01-21  8:38 ` [ruby-core:67718] " deivid.rodriguez
2015-03-12 14:18 ` [ruby-core:68509] [Ruby trunk " deivid.rodriguez
2015-04-09 15:57 ` [ruby-core:68825] " deivid.rodriguez
2015-04-10  8:32 ` [ruby-core:68830] " ko1
2015-04-11 22:32 ` [ruby-core:68849] " deivid.rodriguez
2015-04-11 22:57   ` [ruby-core:68850] " Billy E Brand
2015-05-21  2:15 ` [ruby-core:69271] " usa
2015-05-21  4:31 ` [ruby-core:69279] " usa
2015-05-23 17:59 ` [ruby-core:69331] " nagachika00

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).