Skip Menu |
 

This queue is for tickets about the MooseX-MethodAttributes CPAN distribution.

Report information
The Basics
Id: 105906
Status: new
Priority: 0/
Queue: MooseX-MethodAttributes

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

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



Subject: The internal tracking of attributes is not ithreads-safe
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-5129-1437067155-319.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 467
Download (untitled) / with headers
text/plain 467b
The API of MODIFY_CODE_ATTRIBUTES is based on coderefs (akin to that of Type::Tiny). As such there needs to be a CLONE guard which re-numbers the entire registry of "known refs". Minimal failcase attached. perl -e ' use threads; use Data::Dumper; use Moose; use MooseX::MethodAttributes; sub foo :Bar :Baz { rand() }; my $report = sub { warn Dumper __PACKAGE__->meta->get_method("foo")->attributes }; threads->new( $report )->join; $report->() '


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.