Subject: | sv.c:5980: Perl_sv_clear: Assertion `((svtype)((sv)->sv_flags & 0xff)) != 0xff' failed. |
Installing on bleadperl (approximately perl-5.13.8) with assertions enabled:
sv.c:5980: Perl_sv_clear: Assertion `((svtype)((sv)->sv_flags & 0xff))
!= 0xff' failed.
Transcript attached.
Subject: | variable-magic-bug.txt |
$ Configure\
'-Dcc=ccache cc'\
-Dld=gcc\
-Uversiononly\
-Dusedevel\
-Dprefix=/tmp/perl\
-Dusethreads\
-DDEBUGGING\
-Duse64bitint\
-de
$ /tmp/perl/bin/perl -V
Summary of my perl5 (revision 5 version 13 subversion 8) configuration:
Derived from: 058a5f6c07fb65259d48ba7f4bbc3adddd2bb5b1
Platform:
osname=linux, osvers=2.6.35-22-generic, archname=i686-linux-thread-multi-64int
uname='linux lik 2.6.35-22-generic #35-ubuntu smp sat oct 16 20:36:48 utc 2010 i686 gnulinux '
config_args='-Dcc=ccache cc -Dld=gcc -Uversiononly -Dusedevel -Dprefix=/tmp/perl -Dusethreads -DDEBUGGING -Duse64bitint -de'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='ccache cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.4.5', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.12.1.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.12.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector'
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_DEVEL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Locally applied patches:
uncommitted-changes
Built under linux
Compiled at Jan 16 2011 13:09:04
%ENV:
PERL5LIB="/home/josh/dev/common/lib"
@INC:
/home/josh/dev/common/lib
/tmp/perl/lib/site_perl/5.13.8/i686-linux-thread-multi-64int
/tmp/perl/lib/site_perl/5.13.8
/tmp/perl/lib/5.13.8/i686-linux-thread-multi-64int
/tmp/perl/lib/5.13.8
/tmp/perl/lib/site_perl
.
$ cpanm Dist::Zilla
...
Fetching http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/Variable-Magic-0.45.tar.gz
-> OK
Unpacking Variable-Magic-0.45.tar.gz
Entering Variable-Magic-0.45
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.57_05)
Configuring Variable-Magic-0.45
Running Makefile.PL
Checking if this is ActiveState Perl 5.8.8 build 822 or higher... no
Checking if this is gcc 3.4 on Windows trying to link against an import library... no
Checking if your kit is complete...
Looks good
Writing Makefile for Variable::Magic
Writing MYMETA.yml
-> OK
Checking dependencies from MYMETA.yml ...
Finding PREREQ from Makefile ...
Checking if you have base 0 ... Yes (2.15)
Checking if you have XSLoader 0 ... Yes (0.13)
Checking if you have Exporter 0 ... Yes (5.64_03)
Checking if you have Carp 0 ... Yes (1.19)
Checking if you have base 0 ... Yes (2.15)
Checking if you have Test::More 0 ... Yes (0.97_01)
Checking if you have XSLoader 0 ... Yes (0.13)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.57_05)
Checking if you have Exporter 0 ... Yes (5.64_03)
Checking if you have Carp 0 ... Yes (1.19)
Checking if you have base 0 ... Yes (2.15)
Checking if you have XSLoader 0 ... Yes (0.13)
Checking if you have Exporter 0 ... Yes (5.64_03)
Checking if you have Carp 0 ... Yes (1.19)
Building and testing Variable-Magic-0.45
cp lib/Variable/Magic.pm blib/lib/Variable/Magic.pm
/tmp/perl/bin/perl /tmp/perl/lib/5.13.8/ExtUtils/xsubpp -typemap /tmp/perl/lib/5.13.8/ExtUtils/typemap Magic.xs > Magic.xsc && mv Magic.xsc Magic.c
ccache cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.45\" -DXS_VERSION=\"0.45\" -fPIC "-I/tmp/perl/lib/5.13.8/i686-linux-thread-multi-64int/CORE" Magic.c
Running Mkbootstrap for Variable::Magic ()
chmod 644 Magic.bs
rm -f blib/arch/auto/Variable/Magic/Magic.so
gcc -shared -O2 -g -L/usr/local/lib -fstack-protector Magic.o -o blib/arch/auto/Variable/Magic/Magic.so \
\
chmod 755 blib/arch/auto/Variable/Magic/Magic.so
cp Magic.bs blib/arch/auto/Variable/Magic/Magic.bs
chmod 644 blib/arch/auto/Variable/Magic/Magic.bs
Manifying blib/man3/Variable::Magic.3
PERL_DL_NONLAZY=1 /tmp/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing Variable::Magic 0.45, Perl 5.013008 (no patchlevel), /tmp/perl/bin/perl
t/00-load.t ............... ok
t/01-import.t ............. ok
t/10-simple.t ............. ok
t/11-multiple.t ........... ok
t/13-data.t ............... ok
t/14-callbacks.t .......... ok
t/15-self.t ............... ok
# Using Hash::Util::FieldHash 1.07
t/16-huf.t ................ ok
t/17-ctl.t ................ ok
t/18-opinfo.t ............. ok
t/20-get.t ................ ok
t/21-set.t ................ ok
t/22-len.t ................ ok
t/23-clear.t .............. ok
t/24-free.t ............... ok
# Using Tie::Array 1.04
# Using Tie::Hash 1.04
t/25-copy.t ............... ok
t/27-local.t .............. ok
# Using Tie::Hash 1.04
t/28-uvar.t ............... ok
# Using Tie::Array 1.04
t/30-scalar.t ............. ok
t/31-array.t .............. ok
perl: sv.c:5980: Perl_sv_clear: Assertion `((svtype)((sv)->sv_flags & 0xff)) != 0xff' failed.
t/32-hash.t ...............
Failed 1/64 subtests
t/33-code.t ............... ok
# Using Symbol 1.07
t/34-glob.t ............... ok
t/35-stash.t .............. ok
# Using threads 1.83
# Using threads::shared 1.36
t/40-threads.t ............ ok
# Using threads 1.83
# Using threads::shared 1.36
t/41-clone.t .............. ok
t/80-leaks.t .............. ok
t/91-pod.t ................ ok
t/92-pod-coverage.t ....... ok
t/95-portability-files.t .. skipped: Test::Portability::Files required for testing filenames portability
t/99-kwalitee.t ........... skipped: Test::Kwalitee not installed
Test Summary Report
-------------------
t/32-hash.t (Wstat: 6 Tests: 63 Failed: 0)
Non-zero wait status: 6
Parse errors: Bad plan. You planned 64 tests but ran 63.
Files=31, Tests=1176, 7 wallclock secs ( 1.36 usr 0.16 sys + 6.46 cusr 0.49 csys = 8.47 CPU)
Result: FAIL
Failed 1/31 test programs. 0/1176 subtests failed.
make: *** [test_dynamic] Error 255
-> FAIL Installing Variable::Magic failed. See /home/josh/.cpanm/build.log for details.