Skip Menu |

This queue is for tickets about the Compress-Bzip2 CPAN distribution.

Report information
The Basics
Id: 29787
Status: resolved
Priority: 0/
Queue: Compress-Bzip2

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: 5.6.2 coredump during 041-error.t
5.6.2 has issues with 041-error.t. Most of the time it coredumps during the test but I have also seen it hang forever. The stack trace tells: #0 0xb7eaf74c in free () from /lib/i686/cmov/libc.so.6 (gdb) bt #0 0xb7eaf74c in free () from /lib/i686/cmov/libc.so.6 #1 0xb7ea8183 in _IO_free_backup_area () from /lib/i686/cmov/libc.so.6 #2 0xb7ea7ec2 in _IO_unsave_markers () from /lib/i686/cmov/libc.so.6 #3 0xb7f5103f in _IO_file_close_it () from /lib/i686/cmov/libc.so.6 #4 0xb7f4f5b8 in fclose () from /lib/i686/cmov/libc.so.6 #5 0xb7e9a6ca in fclose () from /lib/i686/cmov/libc.so.6 #6 0x0811c10a in Perl_io_close (io=0x82aecd8, not_implicit=0 '\0') at doio.c:851 #7 0x080d4b76 in Perl_sv_clear (sv=0x82aecd8) at sv.c:3778 #8 0x080d5046 in Perl_sv_free (sv=0x82aecd8) at sv.c:3949 #9 0x08065511 in Perl_gp_free (gv=0x82ffe50) at gv.c:1110 #10 0x080d4c30 in Perl_sv_clear (sv=0x82ffe50) at sv.c:3803 #11 0x080d5046 in Perl_sv_free (sv=0x82ffe50) at sv.c:3949 #12 0x080f23c6 in Perl_free_tmps () at scope.c:182 #13 0x0805d2a0 in perl_run (my_perl=0x814f008) at perl.c:1399 #14 0x08059eb3 in main (argc=3, argv=0xbfad1964, env=0xbfad1974) at perlmain.c:52
On Fri Oct 05 01:48:07 2007, ANDK wrote: Show quoted text
> 5.6.2 has issues with 041-error.t. Most of the time it coredumps during > the test but I have also seen it hang forever. The stack trace tells:
Thanks. 5.6 cannot destruct the IO::Handle properly as it thinks it is a socket. bzclose nor close helps here. I fixed the testcase and added a warning to the docs not to use filehandles to bzopen with 5.6 See https://github.com/rurban/Compress-Bzip2/commit/6716687a9e62ad1fce7e534bee5e1f25779d1c08 -- Reini Urban