Subject: | 'make test' gives crash with free()ing an invalid pointer |
With Perl 5.10.0 on Fedora 9, the Geo::Proj4 module will not pass "make
test". It works fine on another box that is Fedora 8 with Perl 5.8.8.
Both boxes are x86_64. A workaround is to comment out lines 205-207 in
Proj4.xs which free the x, y, and z variables, although I haven't looked
at the code enough to tell what is going on.
Here is an excerpt of the error that I get:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10utm........*** glibc detected *** /usr/bin/perl: free(): invalid
pointer: 0x000000000160ff58 ***
======= Backtrace: =========
/lib64/libc.so.6[0x33d2478228]
/lib64/libc.so.6(cfree+0x76)[0x33d247a866]
blib/arch/auto/Geo/Proj4/Proj4.so(XS_Geo__Proj4_transform_proj4+0xcca)[0x60760a]
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so(Perl_pp_entersub+0x5a5)[0x34956bf6a5]
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so(Perl_runops_debug+0x137)[0x3495694a87]
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so(perl_run+0x497)[0x34956bb5c7]
/usr/bin/perl(main+0xe4)[0x400cf4]
/lib64/libc.so.6(__libc_start_main+0xfa)[0x33d241e32a]
/usr/bin/perl[0x400b49]