[Phoenix-pm] [perl #32407] not initialized $_ causes SIGSEGV in
Perl_sv_recode_to_utf8
Scott Walters
scott at illogics.org
Fri Nov 12 04:16:27 CST 2004
Another crasher - wee!!
----- Forwarded message from "ae5t-ksn at asahi-net.or.jp" <perlbug-followup at perl.org> -----
Return-Path: perl5-porters-return-95798-scott=slowass.net at perl.org
X-Original-To: scott at slowass.net
Delivered-To: scott at slowass.net
Received: from lists.develooper.com (x6.develooper.com [63.251.223.186])
by slowass.net (Postfix) with SMTP id 781CC5538C
for <scott at slowass.net>; Fri, 12 Nov 2004 01:55:58 -0800 (PST)
Received: (qmail 15617 invoked by uid 514); 12 Nov 2004 09:58:27 -0000
Mailing-List: contact perl5-porters-help at perl.org; run by ezmlm
Precedence: bulk
list-help: <mailto:perl5-porters-help at perl.org>
list-unsubscribe: <mailto:perl5-porters-unsubscribe at perl.org>
list-post: <mailto:perl5-porters at perl.org>
X-List-Archive: <http://nntp.perl.org/group/perl.perl5.porters/95798>
Delivered-To: mailing list perl5-porters at perl.org
Delivered-To: moderator for perl5-porters at perl.org
Received: (qmail 10779 invoked from network); 11 Nov 2004 10:23:57 -0000
Delivered-To: perl5-porters at perl.org
X-Spam-Status: No, hits=-11.9 required=8.0
tests=BAYES_00,PERLBUG_CONF,RT_TAG
X-Spam-Check-By: la.mx.develooper.com
Delivered-To: rt-perl5-testers at x1.develooper.com
Mail-From: perlbug-followup at perl.org Thu Nov 11 02:23:50 2004
Delivered-To: bugs-perl5-testers at netlabs.develooper.com
X-Spam-Status: No, hits=-11.9 required=8.0
tests=BAYES_00,PERLBUG_CONF,RT_TAG
X-Spam-Check-By: la.mx.develooper.com
Date: 11 Nov 2004 10:23:42 -0000
From: "ae5t-ksn at asahi-net.or.jp" <perlbug-followup at perl.org>
X-RT-NewTicket: yes
To: bugs-bitbucket at rt.perl.org
Mail-Followup-To: perl5-porters at perl.org
Reply-To: perl5-porters at perl.org
X-RT-Will-Also-CC: ae5t-ksn at asahi-net.or.jp,
Subject: [perl #32407] not initialized $_ causes SIGSEGV in Perl_sv_recode_to_utf8
In-Reply-To: <rt-32407 at perl>
Message-ID: <rt-3.0.11-32407-100131.4.76067283067898 at perl.org>
X-RT-Loop-Prevention: perl
RT-Ticket: perl #32407
Managed-by: RT 3.0.11 (http://www.bestpractical.com/rt/)
RT-Originator: ae5t-ksn at asahi-net.or.jp
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Resent-To: perl5-porters at perl.org
Resent-Message-Id: <20041112095558.781CC5538C at slowass.net>
Resent-Date: Fri, 12 Nov 2004 01:55:58 -0800 (PST)
Resent-From: perl5-porters-return-95798-scott=slowass.net at perl.org
# New Ticket Created by ae5t-ksn at asahi-net.or.jp
# Please include the string: [perl #32407]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=32407 >
This is a bug report for perl from ae5t-ksn at asahi-net.or.jp,
generated with the help of perlbug 1.35 running under perl v5.8.4.
-----------------------------------------------------------------
[Please enter your report here]
When I run the following command line, perl dies with SIGSEGV.
perl -Mencoding=utf-8 -e 'chomp'
With gdb, it dies at Perl_sv_recode_to_utf8(). I encountered this bug
by perl 5.8.4 on Debian (sid). Some my friends reported that
perl 5.8.5 on FreeBSD 4.10-stable, perl 5.8.4 on Solaris 9 causes
same problem.
KUSANO Takayuki <URL:http://www.asahi-net.or.jp/~AE5T-KSN/>
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
Site configuration information for perl v5.8.4:
Configured by Debian Project at Sat Nov 6 18:41:03 UTC 2004.
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=linux, osvers=2.6.10-rc1-bk1, archname=i386-linux-thread-multi
uname='linux cyberhq 2.6.10-rc1-bk1 #1 smp sat oct 23 12:56:07 pdt 2004 i686 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.4 -Dsitearch=/usr/local/lib/perl/5.8.4 -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 -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.4 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef 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 -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3.5 (Debian 1:3.3.5-2)', 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=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so.5.8.4
gnulibc_version='2.3.2'
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.4:
/etc/perl
/usr/local/lib/perl/5.8.4
/usr/local/share/perl/5.8.4
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8
/usr/share/perl/5.8
/usr/local/lib/site_perl
.
---
Environment for perl v5.8.4:
HOME=/home/mickn
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
PERL_BADLANG (unset)
SHELL=/bin/bash
----- End forwarded message -----
More information about the Phoenix-pm
mailing list