in reply to Re^2: perl crashes when processing xml with XML::Twig
in thread perl crashes when processing xml with XML::Twig

It is already installed: "Task::Weaken is up to date (1.04)". According to the readme of XML::Twig, to reduce memory leaks, I also have Scalar::Util and WeakRef installed. The problem still persists.

It's not that I don't believe you , but, well, I don't :)

Any perl I try it just works, 5.12.2,5.14.1,5.14.2, even just now for curiosity sakes strawberryperl 5.12.3.0, no problem whatsoever.

Try uninstalling WeakRef?

  • Comment on Re^3: perl crashes when processing xml with XML::Twig

Replies are listed 'Best First'.
Re^4: perl crashes when processing xml with XML::Twig
by justibus (Acolyte) on Mar 13, 2012 at 13:19 UTC
    There seems to be something wrong with my perl installation then. I just tried perl on cygwin and it works fine. And uninstalling WeakRef didn't help. I'll uninstall perl and reinstall it. See if that helps.

      Did you reboot? Sometimes that will help (windows is fun).

      What is the exact crash message (might need to look for it in eventvwr.msc)?

        The message is:
        Faulting application name: perl.exe, version: 0.0.0.0, time stamp: 0x4 +dd05be3 Faulting module name: perl512.dll, version: 0.0.0.0, time stamp: 0x4dd +05be1 Exception code: 0xc00000fd Fault offset: 0x000ac387 Faulting process id: 0x6dc Faulting application start time: 0x01cd011de9abeaa7 Faulting application path: C:\strawberry\perl\bin\perl.exe Faulting module path: C:\strawberry\perl\bin\perl512.dll Report Id: 29a4696b-6d11-11e1-8518-005056c00008
        I just tried it with strawberry perl 5.10.1 and it works. So it's a problem in versions 5.12 and 5.14 of perl and probably quite specific to my setup. I'll stick with 5.10.1. Though, now I have to get PAR::Packer to install :(

        Edit: Getting PAR::Packer 1.013 to work wasn't too big of a problem. But this patch is required to get it to install: http://www.mail-archive.com/par@perl.org/msg05048.html
        You will need to run the install manually (perl Makefile.PL, dmake, dmake test, dmake install).