Hello....
Could anyone help me?
Very weird thing with perl5.8... Probably it is a reason of
my often mod_perl segfaults...
I did random example code and run it from console...
/-----------------------------------------------
#!/usr/bin/perl -w
use strict;
use Storable qw(thaw freeze);
use XML::LibXML;
my $parser = XML::LibXML->new();
my $doc = $parser->parse_string(<<'EOT');
<?xml version="1.0" encoding='koi8-r'?>
<test>
<text>test</text>
</test>
EOT
my $d2 = thaw(freeze($doc));
print $d2->toString(), "\n";
\--------------------------------------------
Result was ok but with segfault at exit.
It's unreal code but I think, that it should work too!
It works ok if I delete 'koi8-r' or storable
things... Also it works ok if I put
print "ok\n"; to end.
I don't know - can this or can not be a mistake in Storable
or LibXML.... Can't it?
GDB log of 'gdb --core=core /usr/bin/perl' attached...
.....
Alex.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]