Skip Menu |

This queue is for tickets about the Devel-StackTrace-WithLexicals CPAN distribution.

Report information
The Basics
Id: 61715
Status: resolved
Priority: 0/
Queue: Devel-StackTrace-WithLexicals

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

Bug Information
Severity: Critical
Broken in: 0.06
Fixed in: (no value)



Subject: Fails tests with Devel::StackTrace 1.24 installed.
The fix is to change Makefile.PL to require Devel::StackTrace 1.25 I had D::ST 1.24 and here is the output from the failed unit tests: === begin test output === PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/000-synopsis.t .. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. t/000-synopsis.t .. ok t/001-basic.t ..... Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. t/001-basic.t ..... 1/4 Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. t/001-basic.t ..... ok t/002-nested.t .... Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. t/002-nested.t .... ok t/003-eval.t ...... Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. t/003-eval.t ...... ok t/004-no-refs.t ... Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. t/004-no-refs.t ... 1/15 Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. t/004-no-refs.t ... ok t/990-basic.t ..... 1/36 Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. Can't locate object method "subroutine" via package "Devel::StackTrace::WithLexicals::Frame" at t/990-basic.t line 201. # Looks like you planned 36 tests but ran 28. # Looks like your test exited with 255 just after 28. t/990-basic.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 8/36 subtests t/991-bad-utf8.t .. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. Use of uninitialized value $_[2] in list assignment at /home/sscaffidi/perl5/lib/perl5/Devel/StackTrace.pm line 21. t/991-bad-utf8.t .. 1/2 # Failed test 'stringified output notes bad utf-8' # at t/991-bad-utf8.t line 29. # 'Trace begun at /home/sscaffidi/.cpanm/work/1285642170.2487/Devel-StackTrace- WithLexicals-0.06/blib/lib/Devel/StackTrace/WithLexicals/Frame.pm line 11 # Devel::StackTrace::WithLexicals::Frame::new('Devel::StackTrace::WithLexi cals::Frame', 'args', 'ARRAY(0x94458d8)', 'lexicals', 'HASH(0x947d150)', 'caller', 'ARRAY(0x9445b58)', 'respect_overload', undef, 'max_arg_length', undef) called at /home/sscaffidi/.cpanm/work/1285642170.2487/Devel-StackTrace- WithLexicals-0.06/blib/lib/Devel/StackTrace/WithLexicals.pm line 141 # Devel::StackTrace::WithLexicals::_add_frame('Devel::StackTrace::WithLexi cals=HASH(0x94455b8)', 'HASH(0x947d2a0)') called at /home/sscaffidi/.cpanm/work/1285642170.2487/Devel-StackTrace- WithLexicals-0.06/blib/lib/Devel/StackTrace/WithLexicals.pm line 121 # Devel::StackTrace::as_string('Devel::StackTrace::WithLexicals=HASH(0x944 55b8)') called at t/991-bad-utf8.t line 24 # eval {...} at t/991-bad-utf8.t line 24 # # Trace begun at /home/sscaffidi/.cpanm/work/1285642170.2487/Devel- StackTrace-WithLexicals- 0.06/blib/lib/Devel/StackTrace/WithLexicals/Frame.pm line 11 # Devel::StackTrace::WithLexicals::Frame::new('Devel::StackTrace::WithLexi cals::Frame', 'args', 'ARRAY(0x947d250)', 'lexicals', 'HASH(0x947d120)', 'caller', 'ARRAY(0x9445b48)', 'respect_overload', undef, 'max_arg_length', undef) called at /home/sscaffidi/.cpanm/work/1285642170.2487/Devel-StackTrace- WithLexicals-0.06/blib/lib/Devel/StackTrace/WithLexicals.pm line 141 # Devel::StackTrace::WithLexicals::_add_frame('Devel::StackTrace::WithLexi cals=HASH(0x94455b8)', 'HASH(0x947d180)') called at /home/sscaffidi/.cpanm/work/1285642170.2487/Devel-StackTrace- WithLexicals-0.06/blib/lib/Devel/StackTrace/WithLexicals.pm line 121 # Devel::StackTrace::as_string('Devel::StackTrace::WithLexicals=HASH(0x944 55b8)') called at t/991-bad-utf8.t line 24 # eval {...} at t/991-bad-utf8.t line 24 # # ' # doesn't match '(?-xism:\(bad\ utf\-8\))' # Looks like you failed 1 test of 2. t/991-bad-utf8.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests Test Summary Report ------------------- t/990-basic.t (Wstat: 65280 Tests: 28 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 36 tests but ran 28. t/991-bad-utf8.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=7, Tests=59, 0 wallclock secs ( 0.05 usr 0.02 sys + 0.22 cusr 0.07 csys = 0.36 CPU) Result: FAIL Failed 2/7 test programs. 1/59 subtests failed. make: *** [test_dynamic] Error 1 === end test output === In case you need the info... My system's `uname -a`: Linux chimpanzee 2.6.32-24-generic-pae #42-Ubuntu SMP Fri Aug 20 15:37:22 UTC 2010 i686 GNU/Linux My perl's `perl -V`: Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=linux, osvers=2.6.24-27-server, archname=i486-linux-gnu- thread-multi uname='linux vernadsky 2.6.24-27-server #1 smp fri mar 12 01:45:06 utc 2010 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN - Dcccdlflags=-fPIC -Darchname=i486-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.1 - Dsitearch=/usr/local/lib/perl/5.10.1 -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.1 -Dd_dosuid -des' 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='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -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 -DDEBIAN -fno-strict-aliasing - pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.4.3', 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='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/lib64 libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.11.1.so, so=so, useshrplib=true, libperl=libperl.so.5.10.1 gnulibc_version='2.11.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: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Apr 23 2010 07:36:53 %ENV: PERL5LIB="/home/sscaffidi/perl5/lib/perl5/i486-linux-gnu-thread- multi:/home/sscaffidi/perl5/lib/perl5" PERL5_CPANPLUS_IS_RUNNING="2487" PERL_MM_OPT="INSTALL_BASE=/home/sscaffidi/perl5" @INC: /home/sscaffidi/perl5/lib/perl5/i486-linux-gnu-thread-multi /home/sscaffidi/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
Aye aye. Fixed in 0.07. Thanks Stephen! Shawn