Skip Menu |

This queue is for tickets about the Method-Signatures CPAN distribution.

Report information
The Basics
Id: 81360
Status: open
Priority: 0/
Queue: Method-Signatures

Owner: Nobody in particular
Requestors: MAUKE [...]

Bug Information
Severity: (no value)
Broken in: 20120523
Fixed in: (no value)

Subject: Infinite loop during parsing
Download (untitled) / with headers
text/plain 156b
$ cat hang #!perl use Method::Signatures; method id_2 () :A (t: *) { } __END__ $ perl -c hang The code above makes the perl parser hang, eating 100% CPU.
Reduced version: use Method::Signatures; func f :
Subject: Re: [ #81360] Infinite loop during parsing
Date: Fri, 23 Nov 2012 17:58:56 -0800
To: bug-Method-Signatures [...]
From: Michael G Schwern <schwern [...]>
Download (untitled) / with headers
text/plain 143b
The infinite loop is inside Devel::Declare::Context::Simple->strip_attrs. That should be fairly simple to make a test for and report upstream.
Upstream bug; rejecting.
On Sun Dec 23 22:20:21 2012, BAREFOOT wrote:
Show quoted text
> Upstream bug; rejecting.

Wait a second, it still effects our users.  It's still our bug even if we didn't report it.

Did it get reported upstream?  If so, what's the ticket # so we can link it to this one.

When it gets fixed upstream, will need to remember to bump our version requirement.

Meanwhile, can we work around it?

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

Please report any issues with to