Skip Menu |

This queue is for tickets about the JSON-DWIW CPAN distribution.

Report information
The Basics
Id: 40879
Status: resolved
Priority: 0/
Queue: JSON-DWIW

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

Bug Information
Severity: Important
Broken in: 0.27
Fixed in: (no value)



Subject: segfaults in tests on linux and perl 5.10
Fails tests on perl 5.10 on Debian Linux (unstable). rkitover@rkitover-linux ~/.cpan/build/JSON-DWIW-0.27-CoztyP % perl -Mblib t/05exceptions.t 1..4 # Running under perl version 5.011000 for linux # Current time local: Wed Nov 12 18:43:38 2008 # Current time GMT: Thu Nov 13 02:43:38 2008 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 zsh: segmentation fault (core dumped) perl -Mblib t/05exceptions.t rkitover@rkitover-linux ~/.cpan/build/JSON-DWIW-0.27-CoztyP % perl -Mblib t/12error.t 1..26 # Running under perl version 5.011000 for linux # Current time local: Wed Nov 12 18:44:17 2008 # Current time GMT: Thu Nov 13 02:44:17 2008 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 zsh: segmentation fault (core dumped) perl -Mblib t/12error.t rkitover@rkitover-linux ~/.cpan/build/JSON-DWIW-0.27-CoztyP % prove -bv t/15bom.t t/15bom.... 1..5 # Running under perl version 5.010000 for linux # Current time local: Wed Nov 12 18:45:50 2008 # Current time GMT: Thu Nov 13 02:45:50 2008 # Using Test.pm version 1.25 ok 1 ok 2 Failed 3/5 subtests Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=2.6.22-3-vserver-amd64, archname=x86_64-linux-gnu-thread-multi uname='linux excelsior 2.6.22-3-vserver-amd64 #1 smp tue feb 12 10:01:41 utc 2008 x86_64 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.10.0 -Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.10.0 -Dd_dosuid -des' 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='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.3.2', 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='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so.5.10.0 gnulibc_version='2.7' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Nov 2 2008 07:32:27 %ENV: PERL5LIB="/home/rkitover/wm_fms/loader/lib/perl:/home/rkitover/lib/perl" PERL5_CPANPLUS_IS_RUNNING="9252" PERL5_CPAN_IS_RUNNING="9252" PERLDB_OPTS="NonStop" @INC: /home/rkitover/wm_fms/loader/lib/perl /home/rkitover/lib/perl /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
Subject: Re: [rt.cpan.org #40879] segfaults in tests on linux and perl 5.10
Date: Thu, 20 Nov 2008 20:59:55 -0800
To: bug-JSON-DWIW [...] rt.cpan.org
From: Don Owens <don [...] regexguy.com>
Please try version 0.27.2: http://perl.regexguy.com/dist/JSON-DWIW-0.27.2.tar.gz I've checked this on a 64-bit system and it seems to work. Please let me know if it works for you. Thanks. ./don Rafael Kitover via RT spake thusly on 11/12/08 6:48 PM: Show quoted text
> Wed Nov 12 21:47:59 2008: Request 40879 was acted upon. > Transaction: Ticket created by RKITOVER > Queue: JSON-DWIW > Subject: segfaults in tests on linux and perl 5.10 > Broken in: 0.27 > Severity: Important > Owner: Nobody > Requestors: rkitover@io.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40879 > > > > Fails tests on perl 5.10 on Debian Linux (unstable). > > rkitover@rkitover-linux ~/.cpan/build/JSON-DWIW-0.27-CoztyP % perl > -Mblib t/05exceptions.t > 1..4 > # Running under perl version 5.011000 for linux > # Current time local: Wed Nov 12 18:43:38 2008 > # Current time GMT: Thu Nov 13 02:43:38 2008 > # Using Test.pm version 1.25 > ok 1 > ok 2 > ok 3 > zsh: segmentation fault (core dumped) perl -Mblib t/05exceptions.t > > rkitover@rkitover-linux ~/.cpan/build/JSON-DWIW-0.27-CoztyP % perl > -Mblib t/12error.t > 1..26 > # Running under perl version 5.011000 for linux > # Current time local: Wed Nov 12 18:44:17 2008 > # Current time GMT: Thu Nov 13 02:44:17 2008 > # Using Test.pm version 1.25 > ok 1 > ok 2 > ok 3 > ok 4 > ok 5 > ok 6 > ok 7 > ok 8 > ok 9 > ok 10 > ok 11 > ok 12 > ok 13 > ok 14 > ok 15 > ok 16 > zsh: segmentation fault (core dumped) perl -Mblib t/12error.t > > rkitover@rkitover-linux ~/.cpan/build/JSON-DWIW-0.27-CoztyP % prove -bv > t/15bom.t > t/15bom.... > 1..5 > # Running under perl version 5.010000 for linux > # Current time local: Wed Nov 12 18:45:50 2008 > # Current time GMT: Thu Nov 13 02:45:50 2008 > # Using Test.pm version 1.25 > ok 1 > ok 2 > Failed 3/5 subtests > > Summary of my perl5 (revision 5 version 10 subversion 0) configuration: > Platform: > osname=linux, osvers=2.6.22-3-vserver-amd64, > archname=x86_64-linux-gnu-thread-multi > uname='linux excelsior 2.6.22-3-vserver-amd64 #1 smp tue feb 12 > 10:01:41 utc 2008 x86_64 gnulinux ' > config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN > -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr > -Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10 > -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 > -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local > -Dsitelib=/usr/local/share/perl/5.10.0 > -Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1 > -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 > -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl > -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio > -Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib > -Dlibperl=libperl.so.5.10.0 -Dd_dosuid -des' > 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='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN > -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64', > optimize='-O2 -g', > cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing > -pipe -I/usr/local/include' > ccversion='', gccversion='4.3.2', 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='cc', ldflags =' -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 > libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt > perllibs=-ldl -lm -lpthread -lc -lcrypt > libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so.5.10.0 > gnulibc_version='2.7' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' > cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV > PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP > USE_64_BIT_ALL > USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES > USE_PERLIO USE_REENTRANT_API > Built under linux > Compiled at Nov 2 2008 07:32:27 > %ENV: > PERL5LIB="/home/rkitover/wm_fms/loader/lib/perl:/home/rkitover/lib/perl" > PERL5_CPANPLUS_IS_RUNNING="9252" > PERL5_CPAN_IS_RUNNING="9252" > PERLDB_OPTS="NonStop" > @INC: > /home/rkitover/wm_fms/loader/lib/perl > /home/rkitover/lib/perl > /etc/perl > /usr/local/lib/perl/5.10.0 > /usr/local/share/perl/5.10.0 > /usr/lib/perl5 > /usr/share/perl5 > /usr/lib/perl/5.10 > /usr/share/perl/5.10 > /usr/local/lib/site_perl > . >
-- Don Owens don@regexguy.com
Subject: Re: [rt.cpan.org #40879] segfaults in tests on linux and perl 5.10
Date: Fri, 21 Nov 2008 18:47:07 -0800
To: bug-JSON-DWIW [...] rt.cpan.org
From: Rafael Kitover <rkitover [...] io.com>
All tests pass! Don Owens via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=40879 > > > Please try version 0.27.2: > > http://perl.regexguy.com/dist/JSON-DWIW-0.27.2.tar.gz > > > I've checked this on a 64-bit system and it seems to work. Please let > me know if it works for you. > > Thanks. > > ./don > > > Rafael Kitover via RT spake thusly on 11/12/08 6:48 PM:
>> Wed Nov 12 21:47:59 2008: Request 40879 was acted upon. >> Transaction: Ticket created by RKITOVER >> Queue: JSON-DWIW >> Subject: segfaults in tests on linux and perl 5.10 >> Broken in: 0.27 >> Severity: Important >> Owner: Nobody >> Requestors: rkitover@io.com >> Status: new >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40879 > >> >> >> Fails tests on perl 5.10 on Debian Linux (unstable). >> >> rkitover@rkitover-linux ~/.cpan/build/JSON-DWIW-0.27-CoztyP % perl >> -Mblib t/05exceptions.t >> 1..4 >> # Running under perl version 5.011000 for linux >> # Current time local: Wed Nov 12 18:43:38 2008 >> # Current time GMT: Thu Nov 13 02:43:38 2008 >> # Using Test.pm version 1.25 >> ok 1 >> ok 2 >> ok 3 >> zsh: segmentation fault (core dumped) perl -Mblib t/05exceptions.t >> >> rkitover@rkitover-linux ~/.cpan/build/JSON-DWIW-0.27-CoztyP % perl >> -Mblib t/12error.t >> 1..26 >> # Running under perl version 5.011000 for linux >> # Current time local: Wed Nov 12 18:44:17 2008 >> # Current time GMT: Thu Nov 13 02:44:17 2008 >> # Using Test.pm version 1.25 >> ok 1 >> ok 2 >> ok 3 >> ok 4 >> ok 5 >> ok 6 >> ok 7 >> ok 8 >> ok 9 >> ok 10 >> ok 11 >> ok 12 >> ok 13 >> ok 14 >> ok 15 >> ok 16 >> zsh: segmentation fault (core dumped) perl -Mblib t/12error.t >> >> rkitover@rkitover-linux ~/.cpan/build/JSON-DWIW-0.27-CoztyP % prove -bv >> t/15bom.t >> t/15bom.... >> 1..5 >> # Running under perl version 5.010000 for linux >> # Current time local: Wed Nov 12 18:45:50 2008 >> # Current time GMT: Thu Nov 13 02:45:50 2008 >> # Using Test.pm version 1.25 >> ok 1 >> ok 2 >> Failed 3/5 subtests >> >> Summary of my perl5 (revision 5 version 10 subversion 0) configuration: >> Platform: >> osname=linux, osvers=2.6.22-3-vserver-amd64, >> archname=x86_64-linux-gnu-thread-multi >> uname='linux excelsior 2.6.22-3-vserver-amd64 #1 smp tue feb 12 >> 10:01:41 utc 2008 x86_64 gnulinux ' >> config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN >> -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr >> -Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10 >> -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 >> -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local >> -Dsitelib=/usr/local/share/perl/5.10.0 >> -Dsitearch=/usr/local/lib/perl/5.10.0 -Dman1dir=/usr/share/man/man1 >> -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 >> -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl >> -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio >> -Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib >> -Dlibperl=libperl.so.5.10.0 -Dd_dosuid -des' >> 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='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN >> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE >> -D_FILE_OFFSET_BITS=64', >> optimize='-O2 -g', >> cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing >> -pipe -I/usr/local/include' >> ccversion='', gccversion='4.3.2', 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='cc', ldflags =' -L/usr/local/lib' >> libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 >> libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt >> perllibs=-ldl -lm -lpthread -lc -lcrypt >> libc=/lib/libc-2.7.so, so=so, useshrplib=true, libperl=libperl.so.5.10.0 >> gnulibc_version='2.7' >> Dynamic Linking: >> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' >> cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib' >> >> >> Characteristics of this binary (from libperl): >> Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV >> PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP >> USE_64_BIT_ALL >> USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES >> USE_PERLIO USE_REENTRANT_API >> Built under linux >> Compiled at Nov 2 2008 07:32:27 >> %ENV: >> PERL5LIB="/home/rkitover/wm_fms/loader/lib/perl:/home/rkitover/lib/perl" >> PERL5_CPANPLUS_IS_RUNNING="9252" >> PERL5_CPAN_IS_RUNNING="9252" >> PERLDB_OPTS="NonStop" >> @INC: >> /home/rkitover/wm_fms/loader/lib/perl >> /home/rkitover/lib/perl >> /etc/perl >> /usr/local/lib/perl/5.10.0 >> /usr/local/share/perl/5.10.0 >> /usr/lib/perl5 >> /usr/share/perl5 >> /usr/lib/perl/5.10 >> /usr/share/perl/5.10 >> /usr/local/lib/site_perl >> . >>
>
Fixed in version 0.28, which is now available on CPAN.