New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moose fails in List::MoreUtils::all use-after-free #12531
Comments
From @rurbanThis is a bug report for perl from rurban@cpanel.net, Moose triggers a List::MoreUtils::all refcnt error in POP_MULTICALL gdb --args /usr/local/bin/perl5.17.6d-nt-asan@6b54ddc5 -Mblib t/metaclasses/metarole_w_metaclass_pm.t (gdb) l Maybe there's a FREETMPS missing in POP_MULTICALL Flags: This perlbug was built using Perl 5.17.3 - Mon Jul 30 16:28:27 CDT 2012 Site configuration information for perl 5.17.6: Configured by rurban at Fri Oct 26 14:23:20 CDT 2012. Summary of my perl5 (revision 5 version 17 subversion 6) configuration: Locally applied patches: @INC for perl 5.17.6: Environment for perl 5.17.6: |
From @rurbanThe cpan ticket with some more analysis is at: On 11/05/2012 11:24 AM, perlbug-followup@perl.org wrote:
-- Working towards a true Modern Perl. |
The RT System itself - Status changed from 'new' to 'open' |
From @jkeenanOn Mon Nov 05 09:24:34 2012, rurban@cpanel.net wrote:
Neither Moose nor List::MoreUtils is part of the Perl 5 core distribution. This bug report would be better filed at https://rt.cpan.org/Dist/Display.html?Queue=List- |
From @rurbanOn Mon, Nov 5, 2012 at 12:46 PM, James E Keenan via RT
Sure, but I tried this already in June, List-MoreUtils seems to be The original cpan ticket with some more analysis is at: |
From @iabynOn Mon, Nov 05, 2012 at 09:24:35AM -0800, rurban@cpanel.net wrote:
#define dMULTICALL \ #define PUSH_MULTICALL_WITHDEPTH(the_cv, depth) \ #define POP_MULTICALL \ Looks like MULTICALL expects cx to continue pointing to the current The issue can be reproduced with just core modules: use List::Util qw(first); $ valgrind ./perl -Ilib /tmp/p Looks like the fix is to store the context offset rather than a pointer. -- |
From @iabynOn Tue, Nov 06, 2012 at 02:39:40PM +0000, Dave Mitchell wrote:
Now fixed by commit 3d26b81 make MULTICALL safe across cxstack reallocs M cop.h -- |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#115602 (status was 'resolved')
Searchable as RT115602$
The text was updated successfully, but these errors were encountered: