Bug#476579: libmoose-perl: perl core dumps with Moose and threads
Niko Tyni
ntyni at debian.org
Fri Apr 18 06:55:37 UTC 2008
close 476599 5.10.0-1
thanks
On Thu, Apr 17, 2008 at 11:24:57PM +0300, Niko Tyni wrote:
> I can reproduce the crash with just
>
> #!/usr/bin/perl
> use threads;
> use re 'eval';
> my $a = qr{(??{a})};
> print "match\n" if "bc" =~ /(??{b})/;
> my $thr = threads->create(sub { });
> $thr->join();
> __END__
>
> I'm cloning a separate perl bug about this (with a lower severity because
> of the disclaimer). It looks like this is fixed in perl 5.10.0, which
> will hopefully enter sid soon, but I'll look into that better later.
Bisecting shows this started working with this upstream change:
[ 29837] By: davem on 2007/01/15 18:19:20
Log: when cloning PL_regex_pad, copy SVf_BREAK flag too
Branch: perl
! sv.c
This got in 5.10.0, so closing the perl bug accordingly.
I'm leaving the libmoose-perl bug open at least for now. Moose upstream
should probably be informed. The feature is still documented as
experimental in 5.10.0, but it's not 'highly experimental' anymore :)
Cheers,
--
Niko Tyni ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list