Front page | perl.perl5.porters |
Postings from February 2000
[ID 20000222.017] Not OK: perl v5.5.660 on Linux-i686 -Dusemymalloc
From:
jtobey
Date:
February 22, 2000 23:01
Subject:
[ID 20000222.017] Not OK: perl v5.5.660 on Linux-i686 -Dusemymalloc
Message ID:
m12NVmO-000FPKC@feynman.localnet
This is a bug report for perl from jtobey@john-edwin-tobey.org,
generated with the help of perlbug 1.27 running under perl v5.5.650.
-----------------------------------------------------------------
[Please enter your report here]
t/pragma/warning.t fails in utf8 in free():
$ ./perl harness pragma/warnings.t
pragma/warnings.....ok 338/348PROG:
# utf8.c [utf8_to_uv] -W
use utf8 ;
my $a = "snstorm" ;
{
no warnings 'utf8' ;
my $a = "snstorm";
use warnings 'utf8' ;
my $a = "snstorm";
}
EXPECTED:
Malformed UTF-8 character at - line 3.
Malformed UTF-8 character at - line 8.
GOT:
Malformed UTF-8 character at - line 3.
assertion botched (chunk's tail overwrite?): *((char *)((caddr_t)ovp + nbytes - sizeof (unsigned int) + i)) == 0x55
pragma/warnings.....ok 348/348FAILED test 339
Failed 1/348 tests, 99.71% okay
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
pragma/warnings 348 1 0.29% 339
Failed 1/1 test scripts, 0.00% okay. 1/348 subtests failed, 99.71% okay.
Here is the backtrace from GDB:
(gdb) r -I../lib tmp
Starting program: /src/perl5.5.660/t/perl -I../lib tmp
Malformed UTF-8 character at tmp line 3.
assertion botched (chunk's tail overwrite?): *((char *)((caddr_t)ovp + nbytes - sizeof (unsigned int) + i)) == 0x55
Program received signal SIGABRT, Aborted.
0x400af5d1 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x400af5d1 in kill () from /lib/libc.so.6
#1 0x400af2b8 in raise () from /lib/libc.so.6
#2 0x400b0911 in abort () from /lib/libc.so.6
#3 0x805f789 in botch () at malloc.c:963
#4 0x806016c in free (mp=0x81070e8) at malloc.c:1558
#5 0x80a647e in Perl_sv_clear (sv=0x8109420) at sv.c:3666
#6 0x80a6739 in Perl_sv_free (sv=0x8109420) at sv.c:3782
#7 0x8078d91 in S_op_clear (o=0x810ba08) at op.c:798
#8 0x8078ca9 in Perl_op_free (o=0x810ba08) at op.c:745
#9 0x8078c6c in Perl_op_free (o=0x810b9c8) at op.c:733
#10 0x807affc in Perl_fold_constants (o=0x810b9c8) at op.c:2239
#11 0x807b2d5 in Perl_convert (type=67, flags=0, o=0x810ba08) at op.c:2344
#12 0x8076d33 in Perl_yyparse () at perly.y:422
#13 0x805bc71 in S_parse_body (env=0x0, xsinit=0x8059ac0 <xs_init>)
at perl.c:1198
#14 0x805b333 in perl_parse (my_perl=0x80fb408, xsinit=0x8059ac0 <xs_init>,
argc=3, argv=0xbffffd14, env=0x0) at perl.c:813
#15 0x8059a79 in main (argc=3, argv=0xbffffd14, env=0xbffffd24)
at perlmain.c:51
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Site configuration information for perl v5.5.650:
Configured by jtobey at Fri Feb 11 02:13:31 EST 2000.
Summary of my perl5 (revision 5.0 version 5 subversion 650) configuration:
Platform:
osname=linux, osvers=2.2.14pre16, archname=i686-linux
uname='linux feynman 2.2.14pre16 #1 thu dec 23 19:33:36 est 1999 i686 unknown '
config_args='-Dcc=gcc -Dprefix=/usr/local -Doptimize=-g -O2 -ders'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usesocks=undef useperlio=undef d_sfio=undef
use64bits=undef uselargefiles=define usemultiplicity=undef
Compiler:
cc='gcc', optimize='-g -O2', gccversion=2.95.2 19991109 (Debian GNU/Linux)
cppflags='-Dbool=char -DHAS_BOOL -DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.5.650:
/usr/local/lib/perl5/5.5.650/i686-linux
/usr/local/lib/perl5/5.5.650
/usr/local/lib/perl5/site_perl/5.5.650/i686-linux
/usr/local/lib/perl5/site_perl/5.5.650
/usr/local/lib/perl5/site_perl/5.005/i686-linux
/usr/local/lib/perl5/site_perl/5.005
/usr/local/lib/perl5/site_perl
.
---
Environment for perl v5.5.650:
HOME=/home/jtobey
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/jtobey/bin:/jtobey/local/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
PERL_BADLANG (unset)
SHELL=/bin/bash
-
[ID 20000222.017] Not OK: perl v5.5.660 on Linux-i686 -Dusemymalloc
by jtobey