Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 23566
Status: rejected
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: rohan [...] almeida.in
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.960
Fixed in: (no value)



Subject: executable hangs if using version and HTML::TreeBuilder modules
Hi, The PAR generated from a simple script which uses version and HTML::TreeBuilder hangs when executed. PAR v0.960 version v0.68 HTML::Tree v3.23 $ cat test.pl #!/usr/bin/perl use strict; use warnings; use version; use HTML::TreeBuilder; print "Hello PAR\n"; $ pp -p -o test.par test.pl $ par.pl test.par The last command hangs indefinitely and consumes 100% CPU. However, if I generate an ELF executable, it seems to work $ pp -o test.exe test.pl $ ./text.exe $ But I need the PAR file! $ perl -v This is perl, v5.8.8 built for i386-linux-thread-multi $ uname -a Linux sanitarium 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 i686 i386 GNU/Linux Thanks, Rohan
From: SMUELLER [...] cpan.org
Hi Rohan, On Thu Nov 23 04:22:47 2006, ROHAN wrote: Show quoted text
> The PAR generated from a simple script which uses version and > HTML::TreeBuilder hangs when executed. > > PAR v0.960 > version v0.68 > HTML::Tree v3.23 > > $ cat test.pl > #!/usr/bin/perl > use strict; use warnings; > > use version; > use HTML::TreeBuilder; > > print "Hello PAR\n"; > > $ pp -p -o test.par test.pl > $ par.pl test.par > > The last command hangs indefinitely and consumes 100% CPU. > > However, if I generate an ELF executable, it seems to work > > $ pp -o test.exe test.pl > $ ./text.exe > $ > > But I need the PAR file! > > $ perl -v > > This is perl, v5.8.8 built for i386-linux-thread-multi > > $ uname -a > Linux sanitarium 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 > i686 i686 i386 GNU/Linux
I'm sorry, but I cannot reproduce this behaviour on any of my machines (linux x64, linux x86, win32 x86, freebsd x64). I can only guess what's happening: - How did you install the modules? Via apt/dpkg or via CPAN.pm? - Does it work as "parl test.par"? - Does it work as "perl -e 'use PAR {file => q{test.par}, run => q{test.pl}};'"? Perhaps par@perl.org can help you more than I. If you like, you can try writing to that mailing list. Steffen
I'm marking this issue as rejected because there hasn't been any feedback from the requestor in half a year. I still cannot reproduce the problem at all. A reply to this ticket will automatically reopen it if that is so desired.