Bug#779357: perl: Debugger hangs when threads are involved
James McCoy
jamessan at debian.org
Sun Apr 12 04:10:28 UTC 2015
Control: tag -1 patch
On Sat, Feb 28, 2015 at 08:01:58PM +0200, Niko Tyni wrote:
> forwarded 779357 https://rt.perl.org/Public/Bug/Display.html?id=120170
> thanks
>
> On Fri, Feb 27, 2015 at 05:15:57PM -0500, James McCoy wrote:
>
> > As an FYI, upstream commit cde405a6b is what caused "perl -dt" to be
> > required. Re-adding the lock prototype to the current perl5db.pl allows
> > "perl -d" to at least start, but then the debugger errors out with
> > "Modification of a read-only value attempted at .../perl5db.pl line
> > 4129." which is this:
> >
> > # Save current single-step setting.
> > $stack[-1] = $single;
>
> Thanks. I got that far too, and I also bisected the 'Modification of a
> read-only value' thing to ce0d59fdd1c7d145efdf6bf8da56a259fed483e4
> but that doesn't help much.
The attached patches are what I submitted upstream (Perl RT#124127).
They get the debugger back to the pre-5.18 state (“perl -d” works
again).
Cheers,
--
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lib-perl5db.pl-Restore-noop-lock-prototype.patch
Type: text/x-diff
Size: 1377 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20150412/40b91c48/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lib-perl5db.pl-Fix-read-only-value-modification.patch
Type: text/x-diff
Size: 1662 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20150412/40b91c48/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20150412/40b91c48/attachment-0001.sig>
More information about the Perl-maintainers
mailing list