Skip Menu |

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

Report information
The Basics
Id: 20
Status: resolved
Priority: 0/
Queue: XML-Encoding

Owner: Nobody in particular
Requestors: riechert [...]

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)

Subject: Core dump when runing "make test" or "perl"
Download (untitled) / with headers
text/plain 1.9k
Core dump of XML-Encoding-1.01 when runing "make test" or after installation "perl" on Perl 5.6.1/ Linux i686: [riechert@tairou XML-Encoding-1.01]$ make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/i686-linux -I/usr/local/lib/perl5/5.6.1 1..7 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 make: *** [test_dynamic] Segmentation fault (core dumped) Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.2.14-5.0, archname=i686-linux uname='linux 2.2.14-5.0 #1 tue mar 7 21:07:39 est 2000 i686 unknown ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil libc=/lib/, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Download (untitled) / with headers
text/plain 820b
Now fixed in XML-Encoding-2.01. I reproduced this crash in XML-Encoding-2.00 on Windows using perl-5.6.2 and XML-Parser-2.34 (linked against on expat-2.0.1). Re-testing with the same versions and configurations of everything except for changing perl to perl-5.8.0 fixed the crash. The crash was somehow induced by the eval {} call at the end of the test script, which I guess must have been tickling a bug in perl-5.6.x that has long since been fixed in perl-5.8.x onwards. The new version simply avoids this crash by using a $SIG{__DIE__} to catch the (intended) error rather than an eval {}. The following two CPAN Testers reports demonstrate that the bug is now fixed:

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to