Thu Nov 28 13:54:36 2013: Request 90870 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: Segmentation fault (core dumped) (MooX::Options)
   Broken in: (no value)
    Severity: (no value)
       Owner: RSCHUPP
  Requestors: ga...@szabgab.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=90870 >


On 2013-11-28 10:06:03, ga...@szabgab.com wrote:
> Based on the comment http://perlmonks.org/?node_id=1064831
> it seems it works on 5.18.1. I am going to try it now.

Nope, I can reproduce the problem here (Debian unstable with the distro perl 
5.18.1).
Actually there are several problems here:

(1) B::Hooks::EndOfScope use either B::Hooks::EndOfScope::PP or 
B::Hooks::EndOfScope::XS,
but Module::ScanDeps is not able to infer that, so neither is packed by pp.
But that should result in "Can't load..." error or such, not in a segfault.

(2) Similar for Pod::Usage: it uses either Pod::Text or Pod::PlainText;
again Module::ScanDeps fails, should result in 'die "Can't load..."'.

Here's the real culprit:

$ pp -o hello.exe -e 'die "WTF?";'
$ ./hello.exe 
Segmentation fault

This happens for Perl 5.18.1. But Perl 5.16.3 is OK:

$ pp -o hello.exe -e 'die "WTF?";'
$ ./hello.exe 
WTF? at script/ppTspYF.pl line 1.

Very puzzling.

Cheers, Roderich







Reply via email to