Humble Greetings, dear Monks,

I've just upgraded to RH7.1, well behind the boat, including a perl version jump from 5.005-03 to 5.6.0 and noticed that my XML::Writer module was no longer happy about its make-time tests.

Not just mine, but the latest from cpan, or for example the credible http://www.rpmfind.net/linux/RPM/PLD//PLD-1.0/SRPMS/SRPMS//perl-XML-Writer-0.4-3.src.html

On make test, I get
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl +5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 test.pl 1..43 ok 1 ... ok 39 Attempt to free unreferenced scalar at test.pl line 513. make: *** [test_dynamic] Segmentation fault (core dumped) Exit 2


The compile and test are perfectly happy on a machine that still has 5.005-03.

Now I'm pretty familiar with the module itself, have made some code changes and such (this is a virgin test tho), and dug around in it a bit, but I'm not exactly sure what kind of objectionable material to be looking for w.r.t. this error.

I'm not averse to putting some time into this, but I'm not clear where to start. Any pointers (at least those with a positive ref count when trying to get freed :-) would be greatly appreciated.

Many thanks in advance,
Gremio

mailto: q.gremio..q.@..q.speakeasy..q@.@.q.org.;

Edit: chipmunk 2001-07-12


In reply to XML-Writer not 5.6 compatible? by gremio

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.