Hi Roderich:

Thanks for the quick response!

When a.exe created using pp is executed (my application is a Tkx based
GUI application), it runs without problems initially. However, during
the loading of XML file, the following error message appears:

Windows Vista Message:
---------------------------------------------------------------------------------
a.exe has stopped working.
A problem caused the program to stop working correctly.
---------------------------------------------------------------------------------

Using debugging, I have isolated the problem to the line where
XML::Twig starts parse.

(a) For slightly smaller XML files, the problem does not appear.

(b) For the bug.xml file mentioned in the earlier post, everything
works correctly if I do this:
            perl myapp.pl  <------- OK no problem.

     However, if I do
             pp -o a.exe myapp.pl
             .\a.exe
     the crash mentioned above occurs for the sample XML file.

(c) The problem also does NOT appear if I use the standard perl
interpreter as mentioned in
     http://steffen-mueller.net/modules/PAR-Packer

#Perl with PAR.pm and its dependencies installed

pp -p myapp.pl -o myapp.par
echo use PAR 'source.par'; > packed.pl
type myapp.pl >> packed.pl;

perl packed.pl

I am using Windows Vista Service Pack 2. The compiler is Visual Studio
2010 Express.

Roderich, I have attached the bug.pl and bug.xml files in this mail.

Any help is appreciated.

Thanks,

-Ani

Attachment: bugreport.rar
Description: application/rar

Reply via email to