Subject: | Strange "Success" error message. |
Date: | Thu, 10 Aug 2006 09:45:16 +0400 |
To: | bug-XML-LibXML [...] rt.cpan.org |
From: | Konstantin Statodubtsev <ks [...] ptc.spbu.ru> |
Hello.
Some times I'm getting following error when trying to use XML::LibXML->parse_file inside my mod_perl2 app:
Couldn't create file parser context for file "/var/www/ro/trunk/html/xsl/main.xsl": Success at /usr/lib/perl5/XML/LibXML.pm line 518.
There's no more diagnostics and I'm very confused with such "A error: Success" message.
This error appears very rarely (may be once per 10k requests).
XSL file is static and doesn't change between requests.
With XML::LibXML 1.58 the probability of this error was several times higher.
My application is run under mod_perl2 and threaded version of apache2 and has
may be 3rq/sec at peak loads.
I wasn't able to reproduce this error while passing same arguments which produced error, so may be it is some kind of race condition or buffer overflow?
If you need me to run patched version of XML::LibXML or libxml2 to get more
debug output then I'm ready to execute all your instructions to help :)
OS is Debian GNU/Linux Etch (testing)
CPU is Intel p3
Software versions:
ii libxml2 2.6.26.dfsg-3 GNOME XML library
ii libxml-libxml-perl 1.59-2 Perl module for using the GNOME libxml2 libr
ii libxml-libxml-common-perl 0.13-5 Perl module for common routines & constants
ii perl 5.8.8-6.1 Larry Wall's Practical Extraction and Report
ii perl-base 5.8.8-6.1 The Pathologically Eclectic Rubbish Lister
ii perl-modules 5.8.8-6.1 Core Perl modules
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libapache2-mod-perl2 2.0.2-2 Integration of perl with the Apache2 web ser
ii apache2-mpm-worker 2.0.55-4 high speed threaded model for Apache2
--
MBR,
Konstantin Starodubtsev