in reply to Re^7: XML::LibXML on 64-bit Windows (solved)
in thread XML::LibXML on 64-bit Windows
And, in t/40reader.t, after the first block of 48 tests are run, a segfault-type error occurs. (It seems to be the clean-up that occurs when exiting the block that causes the crash.)not ok 11 # Test 11 got: "<test contents=\"\xE4\"/>" (t/16docnodes.t at line 57) # Expected: "<test contents=\"\xC3\xA4\"/>" # t/16docnodes.t line 57 is: ok( $node->serialize(), encodeTo +UTF8( 'iso-8859-1',
$fd is a filehandle, and I think I've run afoul of using multiple runtimes (ie msvcr80.dll and whatever runtime my x64 build of perl uses). If the filehandle is allocated by one dll, the other dll won't know nothing about it - and will throw a tizzy when the filehandle gets passed over to it. Building libxml2 using my "PlatformSDK for Windows Server 2003 R2" compiler should fix the problem. (Not sure if I want to go to that trouble, but.)my $reader = new XML::LibXML::Reader($how => $fd, URI => $file);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: XML::LibXML on 64-bit Windows (solved)
by John M. Dlugosz (Monsignor) on May 08, 2009 at 16:02 UTC | |
by syphilis (Archbishop) on May 09, 2009 at 13:50 UTC | |
by John M. Dlugosz (Monsignor) on May 11, 2009 at 16:11 UTC | |
by syphilis (Archbishop) on May 12, 2009 at 10:42 UTC |