Bug#779357: perl: Debugger hangs when threads are involved

James McCoy jamessan at debian.org
Fri Feb 27 18:25:19 UTC 2015


On Feb 27, 2015 1:03 PM, "Niko Tyni" <ntyni at debian.org> wrote:
>
> On Fri, Feb 27, 2015 at 11:40:33AM -0500, James McCoy wrote:
> > Package: perl
> > Version: 5.20.1-5
> > Severity: important
> >
> > It's no longer possible to use the debugger to debug threaded Perl
> > programs.  Perl gets stuck and the debugger has to be hard-killed.  The
> > attached script is a simple script starts a thread and joins it.  I've
> > also attached strace output and below is the backtrace from debugperl.
>
> Are you sure about the 'no longer' part? I see this on squeeze and
> wheezy too.

Well, in wheezy and squeeze I could use "perl -d" to debug this, but now
"perl -dt" is required and it doesn't work. The end result being I can no
longer debug threaded code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20150227/e49ea73c/attachment.html>


More information about the Perl-maintainers mailing list