Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 4168
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: perl [...] hawkmountain.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.56
Fixed in: (no value)



Subject: perl Makefile.PL core dumps
% uname -a SunOS fury 5.8 Generic_108529-01 i86pc i386 i86pc % perl -v This is perl, version 5.005_03 built for i86pc-solaris % perl Makefile.PL running xml2-config...ok looking for -lxml2... yes Writing Makefile for XML::LibXML Segmentation Fault (core dumped) same also happens for Perl 5.8.1. If line 27 is removed from Makefile.PL (the XML::LibXML::Common element of PREREQ_PM), then it does not core dump. I then build the module, and all tests pass, except a bunch of warnings: Use of uninitialized value in subroutine entry at /files/share/home/curtis/build/perl/5.8.1/XML-LibXML-1.56/blib/lib/XML/LibXML.pm line 633. are generated. the line is: return $self->_toStringC14N( $comments, $xpath ); That probably should be filed as a separate bug, but I don't know if somehow it could be related to the module not building correctly due to the removal of the item from PREREQ_PM. I have not tried this on Solaris for sparc.
From: PAJAS [...] cpan.org
Did you try fetching and installing a fresh XML::LibXML::Common module? This module also links against libxml2 and may need to be recompiled between major libxml2 updates. You'll find it on CPAN as a separate module. If the problem remains even after recompiling XML::LibXML::Common, try using gdb or valgrind to provide more info. Petr [guest - Mon Oct 20 02:22:02 2003]: Show quoted text
> % uname -a > SunOS fury 5.8 Generic_108529-01 i86pc i386 i86pc > % perl -v > > This is perl, version 5.005_03 built for i86pc-solaris > % perl Makefile.PL > running xml2-config...ok > looking for -lxml2... yes > Writing Makefile for XML::LibXML > Segmentation Fault (core dumped) > > same also happens for Perl 5.8.1. > > If line 27 is removed from Makefile.PL (the XML::LibXML::Common > element of PREREQ_PM), then it does not core dump. >