# New Ticket Created by  Jim McKim 
# Please include the string:  [perl #37183]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37183 >



This is a bug report for perl from [EMAIL PROTECTED],
generated with the help of perlbug 1.35 running under perl v5.8.7.


-----------------------------------------------------------------
[Please enter your report here]


This script (three lines, below) caused perl to fault, apparently during a 
memory
allocation operation.

The first character in the re is U+00a8.

#!/usr/local/bin/perl -w
use encoding 'utf8';
my $x = /ยจ\.\//;

As perl aborts, I usually see the message:
"*** glibc detected *** corrupted double-linked list: 0x08134618 ***"

gdb on the core dump reports:

#0  0xffffe410 in ?? ()
#1  0xbfffeafc in ?? ()
#2  0x00000006 in ?? ()
#3  0x00002a2b in ?? ()
#4  0xb7e576e5 in raise () from /lib/tls/libc.so.6
#5  0xb7e59049 in abort () from /lib/tls/libc.so.6
#6  0xb7e8b7ba in __fsetlocking () from /lib/tls/libc.so.6
#7  0xb7e91717 in malloc_usable_size () from /lib/tls/libc.so.6
#8  0xb7e9268e in free () from /lib/tls/libc.so.6
#9  0xb7e94411 in malloc () from /lib/tls/libc.so.6
#10 0x0809ee55 in Perl_safesysmalloc ()
#11 0x08104d84 in PerlIOBuf_get_base ()
#12 0x08104b0d in PerlIOBuf_write ()
#13 0x080a00b0 in Perl_write_to_stderr ()
#14 0x080a0b1c in Perl_vwarn ()
#15 0x080a0d7e in Perl_vwarner ()
#16 0x080a0e0d in Perl_warner ()
#17 0x080b5537 in Perl_report_uninit ()
#18 0x080bddd1 in Perl_sv_2pv_flags ()
#19 0x080b0160 in Perl_pp_match ()
#20 0x080ad2ed in Perl_runops_standard ()
#21 0x080625d5 in perl_run ()
#22 0x0805e602 in main ()

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
     category=core
     severity=medium
---
Site configuration information for perl v5.8.7:

Configured by mckim at Wed Aug 31 15:22:51 EDT 2005.

Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
   Platform:
     osname=linux, osvers=2.6.11-6mdk, archname=i686-linux
     uname='linux bandersnatch.grc.nasa.gov 2.6.11-6mdk #1 tue mar 22 16:04:32 
cet 2005 i686 
intel(r) pentium(r) 4 cpu 3.60ghz unknown gnulinux '
     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='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include 
-D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
     optimize='-O2',
     cppflags='-fno-strict-aliasing -pipe -I/usr/local/include 
-I/usr/include/gdbm'
     ccversion='', gccversion='3.4.3 (Mandrakelinux 10.2 3.4.3-7mdk)', 
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 =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
     libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a
     gnulibc_version='2.3.4'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:


---
@INC for perl v5.8.7:
     /usr/local/lib/perl5/5.8.7/i686-linux
     /usr/local/lib/perl5/5.8.7
     /usr/local/lib/perl5/site_perl/5.8.7/i686-linux
     /usr/local/lib/perl5/site_perl/5.8.7
     /usr/local/lib/perl5/site_perl
     .

---
Environment for perl v5.8.7:
     HOME=/home/mckim
     LANG=en_US
     LANGUAGE=en_US:en
     LC_ADDRESS=en_US
     LC_COLLATE=en_US
     LC_CTYPE=en_US
     LC_IDENTIFICATION=en_US
     LC_MEASUREMENT=en_US
     LC_MESSAGES=en_US
     LC_MONETARY=en_US
     LC_NAME=en_US
     LC_NUMERIC=en_US
     LC_PAPER=en_US
     LC_SOURCED=1
     LC_TELEPHONE=en_US
     LC_TIME=en_US
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
 
PATH=/home/mckim/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/jdk-1.4.2_07/bin:/opt/jdk1.5.0_01/bin:/opt/netbeans-4.0/bin/:/usr/local/kde/bin:/usr/lib/ssh:/usr/lib/jdk-1.4.2_07/bin
     PERL_BADLANG (unset)
     SHELL=/bin/bash

Reply via email to