Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 79338
Status: rejected
Priority: 0/
Queue: Devel-Cover

People
Owner: Nobody in particular
Requestors: SHLOMIF [...] cpan.org
Cc:
AdminCc:

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



Subject: Adding "use Devel::Cover;" causes some of the bleadperl's "perl -d" tests to segfault
Download (untitled) / with headers
text/plain 782b
Hi, in this branch of bleadperl: https://github.com/shlomif/perl/tree/shlomif-Devel-Cover-perl-dash-d-crash (commit bb10a76756703e1681164492aad844d09e184741 ) I notice that building bleadperl (using #!/bin/sh rm -f config.sh Policy.sh sh Configure -de -Dprefix=$HOME/apps/perl/bleadperl -Dusedevel and then "make" and "make install"), and then installing Devel::Cover and running from the bleadperl working copy, this command: make -j12 test_harness TEST_FILES='../lib/perl5db.t' Fails many tests, which report that the "perl -d" process segfaulted. The branch was branched from shlomif-perl-d-add-tests-take-3 and the only commit is to add "use Devel::Cover" at the top of lib/perl5db.pl . Let me know if you want me to try to isolate the problem. Regards, -- Shlomi Fish
Download (untitled) / with headers
text/plain 526b
Hi Shlomi, I'm not overly surprised that Devel::Cover doesn't play nicely with the debugger. Amongst other nasty tricks, Devel::Cover messes with $^P. But having said that, I'd be very happy if they could get along better. To that end, I'd be very grateful for any extra information you can provide and, if you can isolate the problem, so much the better. You mentioned bleadperl. Is that just because that's where you are working, or does this work with stable releases and the problems are only in blead? Thanks,
Download (untitled) / with headers
text/plain 763b
Hi Paul, On Mon Sep 17 19:11:37 2012, PJCJ wrote: Show quoted text
> Hi Shlomi, > > I'm not overly surprised that Devel::Cover doesn't play nicely with the > debugger. Amongst other nasty tricks, Devel::Cover messes with $^P. >
I see. Show quoted text
> But having said that, I'd be very happy if they could get along better. > To that end, I'd be very grateful for any extra information you can > provide and, if you can isolate the problem, so much the better. >
OK, I'll try. Show quoted text
> You mentioned bleadperl. Is that just because that's where you are > working, or does this work with stable releases and the problems are only > in blead?
I'm working on bleadperl, so I have not checked in stable releases yet. That's all. I can try checking there as well. Regards, -- Shlomi Fish
Download (untitled) / with headers
text/plain 1.1k
On Tue Sep 18 03:13:29 2012, SHLOMIF wrote: Show quoted text
> Hi Paul, > > On Mon Sep 17 19:11:37 2012, PJCJ wrote:
> > Hi Shlomi, > > > > I'm not overly surprised that Devel::Cover doesn't play nicely with the > > debugger. Amongst other nasty tricks, Devel::Cover messes with $^P. > >
> > I see. >
> > But having said that, I'd be very happy if they could get along
better. Show quoted text
> > To that end, I'd be very grateful for any extra information you can > > provide and, if you can isolate the problem, so much the better. > >
> > OK, I'll try. >
> > You mentioned bleadperl. Is that just because that's where you are > > working, or does this work with stable releases and the problems are
only Show quoted text
> > in blead?
> > I'm working on bleadperl, so I have not checked in stable releases yet. > That's all. I can try checking there as well. >
well, I have now checked in perl-5.16.1, built using this script: #!/bin/sh rm -f config.sh Policy.sh sh Configure -de -Dprefix="$HOME"/apps/perl/5.16.1 -Dusedevel and adding "use Devel::Cover" at the top of lib/perl5db.pl and running make -j12 test_harness TEST_FILES='../lib/perl5db.t' causes many of the invocations to segfault. Regards, Shlomi Fish
Download (untitled) / with headers
text/plain 281b
I'm going to reject this ticket. Not because it is incorrect, but because it's not useful sitting here in RT where I never even look at it. I have a long running TODO item to provide coverage to core perl, and these sort of problem will get looked at then. Thanks for the 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.