Subject: | JSON::DWIW (0.34) crashing when I make test |
Date: | Thu, 25 Jun 2009 11:11:50 -0700 |
To: | bug-JSON-DWIW [...] rt.cpan.org |
From: | Josh803316 <josh803316 [...] gmail.com> |
**I'm on a Fedora Core 11 (x86_64) system and I'm trying to install
JSON::DWIW via cpan. I get a long list or errors similar to the following.
chmod 755 blib/arch/auto/JSON/DWIW/DWIW.so
cp DWIW.bs blib/arch/auto/JSON/DWIW/DWIW.bs
chmod 644 blib/arch/auto/JSON/DWIW/DWIW.bs
Manifying blib/man3/JSON::DWIW::Boolean.3pm
Manifying blib/man3/JSON::DWIW.3pm
DOWENS/JSON-DWIW-0.34.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00use.t ................ ok
t/01encode.t ............. ok
t/02decode.t ............. *** glibc detected *** /usr/bin/perl: free():
invalid pointer: 0x00000000020f7728 ***
======= Backtrace: =========
/lib64/libc.so.6[0x37d8875a26]
/root/.cpan/build/JSON-DWIW-0.34-48Aro0/blib/arch/auto/JSON/DWIW/DWIW.so[0x7f8df72b4a66]
/root/.cpan/build/JSON-DWIW-0.34-48Aro0/blib/arch/auto/JSON/DWIW/DWIW.so(do_json_parse_buf+0x61)[0x7f8df72b5051]
/root/.cpan/build/JSON-DWIW-0.34-48Aro0/blib/arch/auto/JSON/DWIW/DWIW.so(XS_JSON__DWIW_deserialize+0x165)[0x7f8df72ae775]
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so(Perl_pp_entersub+0x5ba)[0x7f8dfcb07c8a]
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so(Perl_runops_debug+0x138)[0x7f8dfcaddd18]
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so(perl_run+0x470)[0x7f8dfcb03df0]
/usr/bin/perl(main+0xec)[0x400cfc]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x37d881ea2d]
/usr/bin/perl[0x400b49]
======= Memory map: ========
00400000-00401000 r-xp 00000000 fd:00 6168225
/usr/bin/perl
00601000-00602000 rw-p 00001000 fd:00 6168225
/usr/bin/perl
01f7c000-0258a000 rw-p 01f7c000 00:00 0
[heap]
37d8400000-37d841f000 r-xp 00000000 fd:00 1466378
/lib64/ld-2.10.1.so
37d861e000-37d861f000 r--p 0001e000 fd:00 1466378
/lib64/ld-2.10.1.so
37d861f000-37d8620000 rw-p 0001f000 fd:00 1466378
/lib64/ld-2.10.1.so
37d8800000-37d8964000 r-xp 00000000 fd:00 1466382
/lib64/libc-2.10.1.so
37d8964000-37d8b64000 ---p 00164000 fd:00 1466382
/lib64/libc-2.10.1.so
37d8b64000-37d8b68000 r--p 00164000 fd:00 1466382
/lib64/libc-2.10.1.so
37d8b68000-37d8b69000 rw-p 00168000 fd:00 1466382
/lib64/libc-2.10.1.so
37d8b69000-37d8b6e000 rw-p 37d8b69000 00:00 0
37d8c00000-37d8c82000 r-xp 00000000 fd:00 1466398
/lib64/libm-2.10.1.so
37d8c82000-37d8e82000 ---p 00082000 fd:00 1466398
/lib64/libm-2.10.1.so
37d8e82000-37d8e83000 r--p 00082000 fd:00 1466398
/lib64/libm-2.10.1.so
37d8e83000-37d8e84000 rw-p 00083000 fd:00 1466398
/lib64/libm-2.10.1.so
37d9000000-37d9002000 r-xp 00000000 fd:00 1466396
/lib64/libdl-2.10.1.so
37d9002000-37d9202000 ---p 00002000 fd:00 1466396
/lib64/libdl-2.10.1.so
37d9202000-37d9203000 r--p 00002000 fd:00 1466396
/lib64/libdl-2.10.1.so
37d9203000-37d9204000 rw-p 00003000 fd:00 1466396
/lib64/libdl-2.10.1.so
37d9400000-37d9417000 r-xp 00000000 fd:00 1466394
/lib64/libpthread-2.10.1.so
37d9417000-37d9616000 ---p 00017000 fd:00 1466394
/lib64/libpthread-2.10.1.so
37d9616000-37d9617000 r--p 00016000 fd:00 1466394
/lib64/libpthread-2.10.1.so
37d9617000-37d9618000 rw-p 00017000 fd:00 1466394
/lib64/libpthread-2.10.1.so
37d9618000-37d961c000 rw-p 37d9618000 00:00 0
37e2a00000-37e2a19000 r-xp 00000000 fd:00 1466713
/lib64/libgcc_s-4.4.0-20090506.so.1
37e2a19000-37e2c19000 ---p 00019000 fd:00 1466713
/lib64/libgcc_s-4.4.0-20090506.so.1
37e2c19000-37e2c1a000 rw-p 00019000 fd:00 1466713
/lib64/libgcc_s-4.4.0-20090506.so.1
37e3600000-37e3615000 r-xp 00000000 fd:00 1466702
/lib64/libresolv-2.10.1.so
37e3615000-37e3815000 ---p 00015000 fd:00 1466702
/lib64/libresolv-2.10.1.so
37e3815000-37e3816000 r--p 00015000 fd:00 1466702
/lib64/libresolv-2.10.1.so
37e3816000-37e3817000 rw-p 00016000 fd:00 1466702
/lib64/libresolv-2.10.1.so
37e3817000-37e3819000 rw-p 37e3817000 00:00 0
37e8200000-37e8202000 r-xp 00000000 fd:00 1466721
/lib64/libutil-2.10.1.so
37e8202000-37e8401000 ---p 00002000 fd:00 1466721
/lib64/libutil-2.10.1.so
37e8401000-37e8402000 r--p 00001000 fd:00 1466721
/lib64/libutil-2.10.1.so
37e8402000-37e8403000 rw-p 00002000 fd:00 1466721
/lib64/libutil-2.10.1.so
37e9600000-37e9616000 r-xp 00000000 fd:00 1466709
/lib64/libnsl-2.10.1.so
37e9616000-37e9816000 ---p 00016000 fd:00 1466709
/lib64/libnsl-2.10.1.so
37e9816000-37e9817000 r--p 00016000 fd:00 1466709
/lib64/libnsl-2.10.1.so
37e9817000-37e9818000 rw-p 00017000 fd:00 1466709
/lib64/libnsl-2.10.1.so
37e9818000-37e981a000 rw-p 37e9818000 00:00 0
7f8df709d000-7f8df70a5000 r-xp 00000000 fd:00 6644229
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/auto/Math/BigInt/FastCalc/FastCalc.so
7f8df70a5000-7f8df72a5000 ---p 00008000 fd:00 6644229
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/auto/Math/BigInt/FastCalc/FastCalc.so
7f8df72a5000-7f8df72a6000 rw-p 00008000 fd:00 6644229
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/auto/Math/BigInt/FastCalc/FastCalc.so
7f8df72a6000-7f8df72bf000 r-xp 00000000 fd:00 4900150
/root/.cpan/build/JSON-DWIW-0.34-48Aro0/blib/arch/auto/JSON/DWIW/DWIW.so
7f8df72bf000-7f8df74be000 ---p 00019000 fd:00 4900150
/root/.cpan/build/JSON-DWIW-0.34-48Aro0/blib/arch/auto/JSON/DWIW/DWIW.so
7f8df74be000-7f8df74bf000 rw-p 00018000 fd:00 4900150
/root/.cpan/build/JSON-DWIW-0.34-48Aro0/blib/arch/auto/JSON/DWIW/DWIW.so
7f8df74bf000-7f8dfc592000 r--p 00000000 fd:00 6166384
/usr/lib/locale/locale-archive
7f8dfc592000-7f8dfc594000 rw-p 7f8dfc592000 00:00 0
7f8dfc594000-7f8dfc5ec000 r-xp 00000000 fd:00 1466460
/lib64/libfreebl3.so
7f8dfc5ec000-7f8dfc7ec000 ---p 00058000 fd:00 1466460
/lib64/libfreebl3.so
7f8dfc7ec000-7f8dfc7ed000 rw-p 00058000 fd:00 1466460
/lib64/libfreebl3.so
7f8dfc7ed000-7f8dfc7f3000 rw-p 7f8dfc7ed000 00:00 0
7f8dfc7f3000-7f8dfc7fb000 r-xp 00000000 fd:00 1466383
/lib64/libcrypt-2.10.1.so
7f8dfc7fb000-7f8dfc9fa000 ---p 00008000 fd:00 1466383
/lib64/libcrypt-2.10.1.so
7f8dfc9fa000-7f8dfc9fb000 r--p 00007000 fd:00 1466383
/lib64/libcrypt-2.10.1.so
7f8dfc9fb000-7f8dfc9fc000 rw-p 00008000 fd:00 1466383
/lib64/libcrypt-2.10.1.so
7f8dfc9fc000-7f8dfca2c000 rw-p 7f8dfc9fc000 00:00 0
7f8dfca4c000-7f8dfcbe3000 r-xp 00000000 fd:00 6635521
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so
7f8dfcbe3000-7f8dfcde3000 ---p 00197000 fd:00 6635521
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so
7f8dfcde3000-7f8dfcded000 rw-p 00197000 fd:00 6635521
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/libperl.so
7f8dfcded000-7f8dfcdef000 rw-p 7f8dfcded000 00:00 0
7fffa4b4a000-7fffa4b5f000 rw-p 7ffffffea000 00:00 0
[stack]
7fffa4bff000-7fffa4c00000 r-xp 7fffa4bff000 00:00 0
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
t/02decode.t ............. Failed 15/15 subtests
# perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.18-128.1.6.el5,
archname=x86_64-linux-thread-multi
uname='linux x86-4.fedora.phx.redhat.com 2.6.18-128.1.6.el5 #1 smp tue
mar 24 12:05:57 edt 2009 x86_64 x86_64 x86_64 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-DPERL_USE_SAFE_PUTENV -Dversion=5.10.0 -Dmyhostname=localhost
-Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr
-Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dprivlib=/usr/lib/perl5/5.10.0
-Dsitelib=/usr/local/lib/perl5/site_perl/5.10.0
-Dvendorlib=/usr/lib/perl5/vendor_perl/5.10.0
-Darchlib=/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi
-Dsitearch=/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
-Dvendorarch=/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
-Dinc_version_list=none -Darchname=x86_64-linux-thread-multi
-Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -Dusethreads
-Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm
-Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto
-Ud_setservent_r_proto -Dscriptdir=/usr/bin
-Dotherlibdirs=/usr/lib/perl5/site_perl'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-DPERL_USE_SAFE_PUTENV',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-pipe -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.4.0 20090506 (Red Hat 4.4.0-4)',
gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =''
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.10.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -DPERL_USE_SAFE_PUTENV'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_TRACK_MEMPOOL PERL_USE_SAFE_PUTENV
USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Built under linux
Compiled at Jun 8 2009 09:21:00
@INC:
/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0
/usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi
/usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl
.
Message body is not shown because it is too large.