Front page | perl.perl5.porters |
Postings from April 2008
[perl #53244] perl-5.10.0-33733 assertion with JSON::XS-2.2
Thread Next
From:
david @ davidfavor . com
Date:
April 23, 2008 07:07
Subject:
[perl #53244] perl-5.10.0-33733 assertion with JSON::XS-2.2
Message ID:
rt-3.6.HEAD-7021-1208957550-766.53244-75-0@perl.org
# New Ticket Created by david@davidfavor.com
# Please include the string: [perl #53244]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=53244 >
This is a bug report for perl from david@davidfavor.com,
generated with the help of perlbug 1.36 running under perl 5.10.0.
-----------------------------------------------------------------
[Please enter your report here]
JSON::XS and other XS modules fail with assertions of the form:
t/02_error................perl: XS.xs:1418: decode_json:
Assertion `!((((_svi)->sv_flags & (0x00004000|0x00008000)) == 0x00008000) &&
(((svtype)((_svi)->sv_flags & 0xff)) == SVt_PVGV ||
((svtype)((_svi)->sv_flags & 0xff)) == SVt_PVLV))' failed.
JSON::XS-2.1 tests clean with perl-5.8.8 latest and perl-5.10.0-33733.
JSON::XS-2.2 tests clean with perl-5.8.8 latest and fails with all of
perl-5.10.0-33733 and other old patch levels I have laying around, back
through several 336xx series patches.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=critical
---
Site configuration information for perl 5.10.0:
Configured by David Favor at Tue Apr 22 22:28:31 CDT 2008.
Summary of my perl5 (revision 5 version 10 subversion 0 patch 33733) configuration:
Platform:
osname=linux, osvers=2.6.24.3-50.fc8, archname=i686-linux-thread-multi
uname='linux net1.coolsurf.com 2.6.24.3-50.fc8 #1 smp thu mar 20 14:47:10 edt 2008 i686 i686
i386 gnulinux '
config_args='-Dprefix=/common/pkgs/perl-5.10.0-33733 -ders -Dusedevel -Dcf_by=David Favor
-Dcc=gcc -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic -Dloclibpth=/usr/local/lib
-Dlocincpth=/usr/local/include -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid
-Dd_semctl_semun -Dotherlibdirs=/tools/pmlib:/usr/local/pmlib -DDEBUGGING -Ui_db -Ui_ndbm -Di_gdbm
-Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly
-Dpager=/usr/bin/less -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'
hint=recommended, useposix=true, d_sigaction=define
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='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 --param=ssp-buffer-size=4
-m32 -fstack-protector -mtune=generic ',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.1.2 20070925 (Red Hat 4.1.2-33)', 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, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.7'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/common/pkgs/perl-5.10.0-33733/lib/5.10.0/i686-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -m32 -fstack-protector -mtune=generic -L/usr/local/lib'
Locally applied patches:
MAINT33535
---
@INC for perl 5.10.0:
/common/pkgs/perl-5.10.0-33733/lib/5.10.0/i686-linux-thread-multi
/common/pkgs/perl-5.10.0-33733/lib/5.10.0
/common/pkgs/perl-5.10.0-33733/lib/site_perl/5.10.0/i686-linux-thread-multi
/common/pkgs/perl-5.10.0-33733/lib/site_perl/5.10.0
/tools/pmlib
/usr/local/pmlib
.
---
Environment for perl 5.10.0:
HOME=/root
LANG=en_US
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/common/tools/bin:/tools/bin:/usr/local/bin:/usr/lib/ccache:/bin:/usr/bin:/root/bin:/common/tools/sbin:/tools/sbin:/usr/local/sbin:/sbin:/usr/sbin:/root/sbin:/common/tools/rhmemtools:/common/tools/oneshot:/common/tools/rhmemconvert
PERL_BADLANG (unset)
SHELL=/bin/bash
--
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com for the easy way.
Thread Next
-
[perl #53244] perl-5.10.0-33733 assertion with JSON::XS-2.2
by david @ davidfavor . com