Skip Menu |

This queue is for tickets about the Data-Swap CPAN distribution.

Report information
The Basics
Id: 31708
Status: resolved
Priority: 0/
Queue: Data-Swap

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

Bug Information
Severity: Critical
Broken in: 0.05
Fixed in: 0.06



Subject: segfaults with perl 5.10
Hi, unfortunately did not work with perl 5.10. At least on OS X 10.5.1. gdb bt at the end. bash-3.2$ /opt/perl-5.10.0/bin/perl -I. -Ilib -Mblib ./t/01_deref.t 1..12 ok 1 ok 2 ok 3 ok 4 not ok 5 # Failed test (./t/01_deref.t at line 31) # 'Use of uninitialized value in dere{ð at ./t/01_deref.t line 30. # ' # doesn't match '(?-xism:^Use of uninitialized value in deref )' ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 # Looks like you failed 1 tests of 12. bash-3.2$ /opt/perl-5.10.0/bin/perl -Ilib -Mblib ./t/02_swap.t 1..18 Bus error bash-3.2$ gdb /opt/perl-5.10.0/bin/perl -Ilib -Mblib ./t/02_swap.t /usr/libexec/gdb/gdb-i386-apple-darwin: unrecognized option `-Ilib' Use `/usr/libexec/gdb/gdb-i386-apple-darwin --help' for a complete list of options. bash-3.2$ gdb /opt/perl-5.10.0/bin/perl GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 UTC 2007) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries .... done (gdb) set args -Ilib -Mblib ./t/02_swap.t (gdb) run Starting program: /opt/perl-5.10.0/bin/perl -Ilib -Mblib ./t/02_swap.t Reading symbols for shared libraries +++. done Reading symbols for shared libraries . done 1..18 Reading symbols for shared libraries . done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000005 0x000a338d in Perl_newSVhek () (gdb) bt #0 0x000a338d in Perl_newSVhek () #1 0x00075934 in Perl_hv_iterkeysv () #2 0x000db1fd in Perl_do_kv () #3 0x000870df in Perl_pp_rv2av () #4 0x00084765 in Perl_runops_standard () #5 0x00080b23 in perl_run () #6 0x00001b6e in main () (gdb) -- Boris