[Bug 228470] New: LibXML failing under mod_perl (missing initialization code in .xs)

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 13 09:38:09 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228470

           Summary: LibXML failing under mod_perl (missing initialization
                    code in .xs)
           Product: Fedora Core
           Version: fc6
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: high
          Priority: normal
         Component: perl-XML-LibXML
        AssignedTo: rnorwood at redhat.com
        ReportedBy: misch at czechin.cz
                CC: fedora-perl-devel-list at redhat.com


Description of problem:


Version-Release number of selected component (if applicable):

perl-XML-LibXML-1.58-2.2.2.1

How reproducible:

Easily.

Steps to Reproduce:
1. run following program under mod_perl or SpeedyCGI or any similar persistent
perl interpreter (not /usr/bin/perl, as it is not persistent):

use XML::Simple;
XMLin('/path/to/any/valid/xml/file.xml') && print "OK"

 
Actual results:

first run prints "OK", second run dies with message:
Couldn't create file parser context for file "/path/to/any/valid/xml/file.xml":
No such file or directory at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/LibXML.pm line 427.

Expected results:

"OK"

Additional info:

This bug is already documented in Debian's bug-tracking system, please look
there: http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=240334
Basicaly, there is missing one initialization block in LibXML library for perl,
which causes it to work correctly when running under non-persistent Perl
interpreter, but fails under persistent Perl (eg. mod_perl, etc.).

I assigned it a "high" level priority, because this bug effectively disables all
functionality of mod_perl modules which are using LibXML, and it is impossible
to get around this bug :(((.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list