Subject: | Core dump with perl v5.8.6 built for darwin-thread-multi-2level |
I tried to install autobox for the first time today (as a dependency of Dist::Zilla).
The tests failed: $ perl -Mblib t/all.t
1..292
Bus error (core dumped)
(gdb) bt
#0 0x005f6bcf in XS_autobox__scope ()
#1 0x0009fe27 in Perl_pp_entersub (my_perl=0x800000) at pp_hot.c:2890
#2 0x000795ad in Perl_runops_debug (my_perl=0x800000) at dump.c:1449
#3 0x000098f5 in S_call_body (my_perl=0x800000, myop=0xbfffea08, is_eval=0) at perl.c:2298
#4 0x0000941f in Perl_call_sv (my_perl=0x800000, sv=0x876058, flags=6) at perl.c:2216
#5 0x0000f08a in S_call_list_body (my_perl=0x800000, cv=0x876058) at perl.c:4732
#6 0x0000eb14 in Perl_call_list (my_perl=0x800000, oldscope=2, paramList=0x81f6d8) at perl.c:4661
#7 0x00052dca in Perl_newATTRSUB (my_perl=0x800000, floor=204, o=0x1006c20, proto=0x0, attrs=0x0, block=0x1006bf0) at op.c:4472
#8 0x0004df2b in Perl_utilize (my_perl=0x800000, aver=1, floor=204, version=0x0, idop=0x1006520, arg=0x0) at op.c:3048
#9 0x00042421 in Perl_yyparse (my_perl=0x800000) at perly.y:414
#10 0x00007e5f in S_parse_body (my_perl=0x800000, env=0x0, xsinit=0x2862 <xs_init>) at perl.c:1778
#11 0x000067f8 in perl_parse (my_perl=0x800000, xsinit=0x2862 <xs_init>, argc=3, argv=0xbffff044, env=0x0) at perl.c:1282
#12 0x000027db in main (argc=3, argv=0xbffff044, env=0xbffff054) at perlmain.c:96
After recompiling with -g gdb reports
#0 0x005f86c3 in XS_autobox__scope (my_perl=0x800000, cv=0x1071518) at autobox.xs:334
334 XSRETURN_UV(PTR2UV(GvHV(PL_hintgv)));
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=darwin, osvers=8.5.2, archname=darwin-thread-multi-2level
uname='darwin ppp-117.la.vclk.net 8.5.2 darwin kernel version 8.5.2: mon feb 13 16:31:48 pst 2006; root:xnu-792.8.37.obj~1release_i386 i386 i386 '
config_args='-des -Dprefix=/usr/local/perl58-i -Doptimize=-g -Duseithreads -Dusemultiplicity'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include',
optimize='-g',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include'
ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5250)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /usr/lib
libs=-lgdbm -ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under darwin
Compiled at May 25 2006 17:27:32
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="67548"
PERL5_CPAN_IS_RUNNING="67548"
PERLCRITIC="/Users/timbo/.setdev/perlcriticrc"
PERLTIDY="/Users/timbo/.setdev/perltidyrc"
@INC:
/usr/local/perl58-i/lib/5.8.6/darwin-thread-multi-2level
/usr/local/perl58-i/lib/5.8.6
/usr/local/perl58-i/lib/site_perl/5.8.6/darwin-thread-multi-2level
/usr/local/perl58-i/lib/site_perl/5.8.6
/usr/local/perl58-i/lib/site_perl
.