Skip Menu |
 

This queue is for tickets about the Devel-Declare CPAN distribution.

Report information
The Basics
Id: 67022
Status: resolved
Priority: 0/
Queue: Devel-Declare

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.006001
Fixed in: (no value)



Subject: Debugger broken in 5.13.[7..11]
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 523
Download (untitled) / with headers
text/plain 523b
Devel::Declare has been broken when used in the debugger since at least 5.13.7. You can see it reflected in the Method::Signatures tests which check it works in the debugger. http://www.cpantesters.org/distro/M/Method-Signatures.html#Method-Signatures-20110324.1600_001?grade=1&perlmat=3&patches=2&oncpan=2&distmat=1&perlver=ALL&osname=ALL&version=20110324.1600_001 For example: http://www.cpantesters.org/cpan/report/1ee76bd0-5612-11e0-8a39-a371061ad747 I tried it with MooseX::Method::Signatures as well, same problem.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: multipart/mixed; boundary="----------=_1301973794-2464-138"
Message-ID: <rt-3.8.HEAD-2464-1301973794-41.67022-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 684
Download (untitled) / with headers
text/plain 684b
I've knocked it down to something repeatable with just Devel::Declare::MethodInstaller::Simple and 5.13.11. Unpack the attached tarball, cd into dd_test and run "perl5.13 -Ilib test.plx". You should get "missing argument $this" but instead I get "PL_linestr not long enough, was Devel::Declare loaded soon enough in lib/Bar.pm" It is *extremely finky*. If you put a comment line after "use DD" it will work. If you change the call to Bar->foo() in Bar.pm to Bar->foo(42, 23) or Bar->foo("foo") or Bar->foo(1234) it will work. Bar->foo(123) will NOT work. It is definitely related to how much stuff is injected. If you change DD::required_arg() to have a shorter name it works.
MIME-Version: 1.0
Subject: dd_test.tgz
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: application/x-gzip; name="dd_test.tgz"
Content-Disposition: inline; filename="dd_test.tgz"
Content-Transfer-Encoding: base64
Content-Length: 696
Download dd_test.tgz
application/x-gzip 696b

Message body not shown because it is not plain text.

From rafl [...] debian.org Tue Apr 5 09: 26:38 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-5.73 tagged_above=-99.9 required=10 tests=[AWL=1.170, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2464-1301973794-612.67022-5-0 [...] rt.cpan.org> (Michael G. Schwern via's message of "Mon, 4 Apr 2011 23:23:15 -0400")
X-Spam_score: -4.1
X-Spam-Flag: NO
References: <RT-Ticket-67022 [...] rt.cpan.org> <rt-3.8.HEAD-2464-1301973794-612.67022-5-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Spam_bar: ----
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <87y63olthl.fsf [...] tardis.home.perldition.org>
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature"
X-Spam-Score: -5.73
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id E2E5F24186F for <cpan-bug+Devel-Declare [...] hipster.bestpractical.com>; Tue, 5 Apr 2011 09:26:38 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vlh+pY8PiCqA for <cpan-bug+Devel-Declare [...] hipster.bestpractical.com>; Tue, 5 Apr 2011 09:26:34 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 2ACE1241865 for <bug-Devel-Declare [...] rt.cpan.org>; Tue, 5 Apr 2011 09:26:33 -0400 (EDT)
Received: (qmail 18595 invoked by uid 103); 5 Apr 2011 13:26:33 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 5 Apr 2011 13:26:33 -0000
Received: from kief.perldition.org (HELO kief.perldition.org) (78.47.20.161) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Tue, 05 Apr 2011 06:26:28 -0700
Received: from p4fd3d04e.dip.t-dialin.net ([79.211.208.78] helo=tardis.home.perldition.org) by kief.perldition.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <rafl [...] debian.org>) id 1Q76Gx-0000Je-OQ for bug-Devel-Declare [...] rt.cpan.org; Tue, 05 Apr 2011 15:26:24 +0200
Received: from rafl by tardis.home.perldition.org with local (Exim 4.75) (envelope-from <rafl [...] debian.org>) id 1Q76Gv-0003X5-Tx for bug-Devel-Declare [...] rt.cpan.org; Tue, 05 Apr 2011 15:26:18 +0200
Delivered-To: cpan-bug+Devel-Declare [...] hipster.bestpractical.com
X-Spam_score_int: -40
Subject: Re: [rt.cpan.org #67022] Debugger broken in 5.13.[7..11]
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
Return-Path: <rafl [...] debian.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Devel-Declare [...] hipster.bestpractical.com
X-RT-Mail-Extension: devel-declare
Date: Tue, 05 Apr 2011 15:26:14 +0200
X-Spam-Level:
X-Spam_report: Spam detection software, running on the system "kief.perldition.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Does it start working again with http://gist.github.com/903574 applied? [...] Content analysis details: (-4.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.3 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000]
To: bug-Devel-Declare [...] rt.cpan.org
From: Florian Ragwitz <rafl [...] debian.org>
RT-Message-ID: <rt-3.8.HEAD-2463-1302009999-1757.67022-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 73
Does it start working again with http://gist.github.com/903574 applied?
Content-Type: application/pgp-signature
Content-Length: 197
Download (untitled)
application/pgp-signature 197b

Message body not shown because it is not plain text.

From schwern [...] pobox.com Tue Apr 5 18: 22:08 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-5.475 tagged_above=-99.9 required=10 tests=[AWL=0.746, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2463-1302010000-809.67022-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-67022 [...] rt.cpan.org> <rt-3.8.HEAD-2464-1301973794-612.67022-5-0 [...] rt.cpan.org> <87y63olthl.fsf [...] tardis.home.perldition.org> <rt-3.8.HEAD-2463-1302010000-809.67022-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <4D9B95FE.7040208 [...] pobox.com>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
X-Spam-Score: -5.475
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] pobox.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=schwern [...] pobox.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 2632961E006 for <cpan-bug+Devel-Declare [...] hipster.bestpractical.com>; Tue, 5 Apr 2011 18:22:08 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4XdnChOONrwv for <cpan-bug+Devel-Declare [...] hipster.bestpractical.com>; Tue, 5 Apr 2011 18:22:06 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 4C987241796 for <bug-Devel-Declare [...] rt.cpan.org>; Tue, 5 Apr 2011 18:22:06 -0400 (EDT)
Received: (qmail 4289 invoked by uid 103); 5 Apr 2011 22:22:05 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 5 Apr 2011 22:22:05 -0000
Received: from b-pb-sasl-quonix.pobox.com (HELO sasl.smtp.pobox.com) (208.72.237.35) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Tue, 05 Apr 2011 15:22:02 -0700
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id AACFC3004 for <bug-Devel-Declare [...] rt.cpan.org>; Tue, 5 Apr 2011 18:21:59 -0400 (EDT)
Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id A75053003 for <bug-Devel-Declare [...] rt.cpan.org>; Tue, 5 Apr 2011 18:21:58 -0400 (EDT)
Received: from windhund.local (unknown [118.209.11.93]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 930C53001 for <bug-Devel-Declare [...] rt.cpan.org>; Tue, 5 Apr 2011 18:21:57 -0400 (EDT)
Delivered-To: cpan-bug+Devel-Declare [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
Subject: Re: [rt.cpan.org #67022] Debugger broken in 5.13.[7..11]
Domainkey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=qLmvbU Nx8Gj6VIR7dUvNrt3vfpxp7decZJokHStH5/psuAy6cYNI9HbX8qxOL0Aij9Rphj sn4s6DmkM8wHSl7aQ68OHULXFxBQ2IZ2b9LvFHm3t2mW74q4R5gsCt2/bfwgLHqo QHBa3+vdrw1BSmpT76KXcAPtAR9Sf5/wcWQUA=
Return-Path: <schwern [...] pobox.com>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=T7vFkYvBEE+u /W308m+IAgAvYdQ=; b=jYNVMDiUiUxCtoMYMYzD7CzVNJPewH99/DGqGojJkJoM lN6yBdtX4FA86rofQW0ihYRm0RfefpO5SfXgnI2r0NaPRDpanwgppjGS0wDbaseM wF/TaWRQgT4hQqfAKMC/RU9VwURVoE1GfDkzgXSbzrm+XVpH7nihtONtL6+oQQg=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Devel-Declare [...] hipster.bestpractical.com
X-RT-Mail-Extension: devel-declare
Date: Wed, 06 Apr 2011 08:21:50 +1000
X-Spam-Level:
To: bug-Devel-Declare [...] rt.cpan.org
X-Enigmail-Version: 1.1.1
Content-Transfer-Encoding: 7bit
X-Pobox-Relay-ID: 1F1BE7BE-5FD3-11E0-AB17-C1F4E168B6F2-02258300!b-pb-sasl-quonix.pobox.com
From: Michael G Schwern <schwern [...] pobox.com>
RT-Message-ID: <rt-3.8.HEAD-2469-1302042128-947.67022-0-0 [...] rt.cpan.org>
Content-Length: 420
Download (untitled) / with headers
text/plain 420b
On 2011.4.5 11:26 PM, Florian Ragwitz via RT wrote: Show quoted text
> Does it start working again with http://gist.github.com/903574 applied?
Yes! Both Method::Signatures and my test code work with that. Thank you! PS 0.006001 is not in git://github.com/rafl/devel-declare.git -- 'All anyone gets in a mirror is themselves,' she said. 'But what you gets in a good gumbo is everything.' -- "Witches Abroad" by Terry Prachett
From rafl [...] debian.org Tue Apr 5 20: 01:02 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-5.803 tagged_above=-99.9 required=10 tests=[AWL=1.097, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2469-1302042128-1569.67022-5-0 [...] rt.cpan.org> (Michael G. Schwern via's message of "Tue, 5 Apr 2011 18:22:09 -0400")
X-Spam_score: -4.1
X-Spam-Flag: NO
References: <RT-Ticket-67022 [...] rt.cpan.org> <rt-3.8.HEAD-2464-1301973794-612.67022-5-0 [...] rt.cpan.org> <87y63olthl.fsf [...] tardis.home.perldition.org> <rt-3.8.HEAD-2463-1302010000-809.67022-6-0 [...] rt.cpan.org> <4D9B95FE.7040208 [...] pobox.com> <rt-3.8.HEAD-2469-1302042128-1569.67022-5-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Spam_bar: ----
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <871v1gl045.fsf [...] tardis.home.perldition.org>
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature"
X-Spam-Score: -5.803
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id F022361E009 for <cpan-bug+Devel-Declare [...] hipster.bestpractical.com>; Tue, 5 Apr 2011 20:01:01 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JfqC03sxQ2s2 for <cpan-bug+Devel-Declare [...] hipster.bestpractical.com>; Tue, 5 Apr 2011 20:00:56 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id DF3A8241796 for <bug-Devel-Declare [...] rt.cpan.org>; Tue, 5 Apr 2011 20:00:54 -0400 (EDT)
Received: (qmail 12003 invoked by uid 103); 6 Apr 2011 00:00:54 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 6 Apr 2011 00:00:54 -0000
Received: from kief.perldition.org (HELO kief.perldition.org) (78.47.20.161) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Tue, 05 Apr 2011 17:00:51 -0700
Received: from p4fd3de94.dip.t-dialin.net ([79.211.222.148] helo=tardis.home.perldition.org) by kief.perldition.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <rafl [...] debian.org>) id 1Q7GAx-0001xd-HE for bug-Devel-Declare [...] rt.cpan.org; Wed, 06 Apr 2011 02:00:48 +0200
Received: from rafl by tardis.home.perldition.org with local (Exim 4.75) (envelope-from <rafl [...] debian.org>) id 1Q7GAw-0000FB-6P for bug-Devel-Declare [...] rt.cpan.org; Wed, 06 Apr 2011 02:00:46 +0200
Delivered-To: cpan-bug+Devel-Declare [...] hipster.bestpractical.com
X-Spam_score_int: -40
Subject: Re: [rt.cpan.org #67022] Debugger broken in 5.13.[7..11]
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
Return-Path: <rafl [...] debian.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Devel-Declare [...] hipster.bestpractical.com
X-RT-Mail-Extension: devel-declare
Date: Wed, 06 Apr 2011 02:00:42 +0200
X-Spam-Level:
X-Spam_report: Spam detection software, running on the system "kief.perldition.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: "Michael G Schwern via RT" <bug-Devel-Declare [...] rt.cpan.org> writes: > Queue: Devel-Declare > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67022 > > > On 2011.4.5 11:26 PM, Florian Ragwitz via RT wrote: >> Does it start working again with http://gist.github.com/903574 applied? > > Yes! Both Method::Signatures and my test code work with that. Thank > you! [...] Content analysis details: (-4.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.3 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000]
To: bug-Devel-Declare [...] rt.cpan.org
From: Florian Ragwitz <rafl [...] debian.org>
RT-Message-ID: <rt-3.8.HEAD-2468-1302048063-1801.67022-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 778
Download (untitled) / with headers
text/plain 778b
"Michael G Schwern via RT" <bug-Devel-Declare@rt.cpan.org> writes: Show quoted text
> Queue: Devel-Declare > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67022 > > > On 2011.4.5 11:26 PM, Florian Ragwitz via RT wrote:
>> Does it start working again with http://gist.github.com/903574 applied?
> > Yes! Both Method::Signatures and my test code work with that. Thank > you!
Awesome, thanks for testing! This was actually a fix for test failures of MXD without the debugger on 5.13 that Zefram provided a patch for. I just hadn't gotten around to testing it yet. I'll ship it to CPAN, along with some more tests, including yours, during this week. Show quoted text
> PS 0.006001 is not in git://github.com/rafl/devel-declare.git
Thanks, I wasn't aware. I'll fix that too, while I'm at it.
Content-Type: application/pgp-signature
Content-Length: 197
Download (untitled)
application/pgp-signature 197b

Message body not shown because it is not plain text.

MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-20559-1315764378-1583.67022-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 36
Was fixed in Devel-Declare 0.006002.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.