gremio has asked for the wisdom of the Perl Monks concerning the following question:

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