Subject: | Devel::StackTrace 1.1901 TEST FAILURE: Malformed UTF-8 character |
Date: | Tue, 15 Jul 2008 18:07:57 +0100 |
To: | bug-devel-stacktrace [...] rt.cpan.org |
From: | Lee Heagney <lee [...] ee.ucl.ac.uk> |
Dave,
I can't get the latest version of Devel::StackTrace to pass it's tests
on perl 5.8.7 on Solaris 10.
This has passed it's tests perfectly well on a CentOS 5.2 box running
perl 5.8.8.
I'm not sure what the issue is here, but I have noticed that the Solaris
box uses the locale "en_GB.ISO8859-15" and the CentOS box uses the
locale "en_US.UTF-8" (Not sure if this helpful/relevant).
Devel::StackTrace 1.19+ is a dependency for the latest version of RT
(3.8.0), so I can't install a previous version.
Please let me know if you need any further info.
Regards,
Lee.
maverick : 181 /home/lheagney/perl/modules/Devel-StackTrace-1.1901 %
perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris
uname='sunos maverick 5.9 generic_118558-10 sun4u sparc
sunw,sun-blade-1000 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/usr/local/bin/gcc', ccflags ='-fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.2.1', gccosandvers='solaris2.8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/local/bin/gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Sep 28 2005 18:17:16
@INC:
/usr/local/lib/perl5/5.8.7/sun4-solaris
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl/5.8.2/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.2
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
.
maverick : 182 /home/lheagney/perl/modules/Devel-StackTrace-1.1901 %
perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Devel::StackTrace
maverick : 183 /home/lheagney/perl/modules/Devel-StackTrace-1.1901 % gmake
cp lib/Devel/StackTrace.pm blib/lib/Devel/StackTrace.pm
Manifying blib/man3/Devel::StackTrace.3
maverick : 184 /home/lheagney/perl/modules/Devel-StackTrace-1.1901 %
gmake test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-basic..........ok
t/02-bad-utf8.......Malformed UTF-8 character (UTF-16 surrogate 0xd87a)
in pattern match (m//) at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 346.
Malformed UTF-8 character (UTF-16 surrogate 0xd87a) in pattern match
(m//) at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 346.
Malformed UTF-8 character (UTF-16 surrogate 0xd87a) in substitution
(s///) at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 349.
Malformed UTF-8 character (UTF-16 surrogate 0xd87a) in substitution
(s///) at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 349.
Malformed UTF-8 character (UTF-16 surrogate 0xd87a) in substitution
(s///) at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 350.
Malformed UTF-8 character (UTF-16 surrogate 0xd87a) in substitution
(s///) at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 350.
Malformed UTF-8 character (unexpected continuation byte 0xa1, with no
preceding start byte) in substitution iterator at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 350.
Malformed UTF-8 character (unexpected continuation byte 0xa1, with no
preceding start byte) in substitution iterator at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 350.
Malformed UTF-8 character (UTF-16 surrogate 0xd87a) in substitution
iterator at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 350.
Malformed UTF-8 character (unexpected continuation byte 0xba, with no
preceding start byte) in substitution iterator at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 350.
Malformed UTF-8 character (unexpected continuation byte 0xba, with no
preceding start byte) in substitution iterator at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 350.
Malformed UTF-8 character (unexpected continuation byte 0xa1, with no
preceding start byte) in substitution iterator at
/home/lheagney/perl/modules/Devel-StackTrace-1.1901/blib/lib/Devel/StackTrace.pm
line 350.
t/02-bad-utf8.......1/2
# Failed test 'stringified output notes bad utf-8'
# at t/02-bad-utf8.t line 29.
# 'Trace begun at t/02-bad-utf8.t line 35
# main::foo('^^á^ú') called at t/02-bad-utf8.t line 22
# '
# doesn't match '(?-xism:\(bad\ utf\-8\))'
# Looks like you failed 1 test of 2.
t/02-bad-utf8....... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/kwalitee..........skipped: This test is only run for the module author
t/pod-coverage......skipped: This test is only run for the module author
t/pod...............skipped: This test is only run for the module author
Test Summary Report
-------------------
t/02-bad-utf8.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=5, Tests=38, 1 wallclock secs ( 0.08 usr 0.03 sys + 0.54 cusr
0.14 csys = 0.79 CPU)
Result: FAIL
Failed 1/5 test programs. 1/38 subtests failed.
gmake: *** [test_dynamic] Error 29
**********************************************
Lee Heagney
System administrator
Dept Electronic & Electrical Engineering
University College London
Torrington Place
London TEL 020 7679 3960
WC1E 7JE FAX 020 7388 9325