I am trying to make test the module XML::LibXML but it is failing it's t/06nodetypes.t test.

It seg faults on the call $dom->createElement("A");

I have stepped through createElement in the debugger and this is what it says:

main::(t/06nodetypes.t:45): my $elem1 = $dom->createElement("A"); XML::LibXML::Document::createElement(/usr/lib/perl5/Carp.pm:97): 97: {local $@; require Carp::Heavy;} #XXX fix require to not clear $@? XML::LibXML::Document::createElement(/usr/lib/perl5/Carp.pm:97): 97: {local $@; require Carp::Heavy;} #XXX fix require to not clear $@? XML::LibXML::Document::createElement(/usr/lib/perl5/Carp.pm:97): 97: {local $@; require Carp::Heavy;} #XXX fix require to not clear $@? XML::LibXML::Document::createElement(/usr/lib/perl5/Carp/Heavy.pm:247) 247: 1; XML::LibXML::Document::createElement(/usr/lib/perl5/Carp.pm:98): 98: goto &longmess_heavy; Carp::longmess_heavy(/usr/lib/perl5/Carp/Heavy.pm:30): 30: return @_ if ref $_[0]; Carp::longmess_heavy(/usr/lib/perl5/Carp/Heavy.pm:31): 31: my $error = join '', @_; Carp::longmess_heavy(/usr/lib/perl5/Carp/Heavy.pm:32): 32: my $mess = ""; Carp::longmess_heavy(/usr/lib/perl5/Carp/Heavy.pm:33): 33: my $i = 1 + $CarpLevel; Carp::longmess_heavy(/usr/lib/perl5/Carp/Heavy.pm:34): 34: my ($pack,$file,$line,$sub,$hargs,$eval,$require); Carp::longmess_heavy(/usr/lib/perl5/Carp/Heavy.pm:35): 35: my (@a); Carp::longmess_heavy(/usr/lib/perl5/Carp/Heavy.pm:39): 39: while (do { { package DB; @a = caller($i++) } } ) { Carp::longmess_heavy(/usr/lib/perl5/Carp/Heavy.pm:39): 39: while (do { { package DB; @a = caller($i++) } } ) { Carp::longmess_heavy(/usr/lib/perl5/Carp/Heavy.pm:124): 124: $mess || $error; Signal SEGV:
Does anyone have any ideas?

In reply to XML::LibXML Failed Test by tomazos

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.