FAQ
# New Ticket Created by farnham@t-bug.net
# Please include the string: [perl #32465]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=32465 >



This is a bug report for perl from farnham@t-bug.net,
generated with the help of perlbug 1.35 running under perl v5.8.4.

#!/usr/local/bin/perl

my $TEXT = "";

for (my $i=0;$i<11500;$i++) {
$TEXT .= "x";
}

$TEXT =~ s/(x?)+//g;
---
Flags:
category=core
severity=medium
---
Site configuration information for perl v5.8.4:

Configured by farnham at Tue Jun 15 13:25:26 MDT 2004.

Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=linux, osvers=2.4.26, archname=i686-linux
uname='linux pistol.t-bug.net 2.4.26 #2 tue apr 20 06:09:32 mdt 2004 i686 i686 i386 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='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2',
cppflags='-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.4.0', 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='gcc', 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.2.so, so=so, useshrplib=false, libperl=libperl.a
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:
/usr/local/lib/perl5/5.8.4/i686-linux
/usr/local/lib/perl5/5.8.4
/usr/local/lib/perl5/site_perl/5.8.4/i686-linux
/usr/local/lib/perl5/site_perl/5.8.4
/usr/local/lib/perl5/site_perl
.

---
Environment for perl v5.8.4:
HOME=/export/home/farnham
LANG=en_US
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/vim-6.3/bin:/usr/local/gcc-3.4.0/bin:/usr/local/octave-2.1.57/bin:/usr/local/xmms-1.2.10/bin:/usr/local/vorbis-tools-1.0.1/bin:/usr/local/glimpse-4.18.0/bin:/usr/local/cdrtools-2.01/bin:/usr/local/sox-12.17.5/bin:/usr/local/madplay-0.15.2b/bin:/usr/local/MPlayer-1.0pre5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/export/home/farnham/LSA/local/bin:/usr/X11R6/bin:/usr/java/bin:/usr/games:/usr/etc:/lib:/export/home/farnham/bin:/usr/lib/qt-3.1/bin:.
PERL_BADLANG (unset)
SHELL=/bin/tcsh

Search Discussions

  • Joe McMahon at Nov 16, 2004 at 11:30 pm

    On Nov 16, 2004, at 2:38 PM, farnham@t-bug.net (via RT) wrote:

    #!/usr/local/bin/perl

    my $TEXT = "";

    for (my $i=0;$i<11500;$i++) {
    $TEXT .= "x";
    }

    $TEXT =~ s/(x?)+//g;
    Confirmed segfault on OS X with 5.8.5.

    --- Joe M.
  • Paul Johnson at Nov 16, 2004 at 11:54 pm

    On Tue, Nov 16, 2004 at 06:30:10PM -0500, Joe McMahon wrote:
    On Nov 16, 2004, at 2:38 PM, farnham@t-bug.net (via RT) wrote:

    #!/usr/local/bin/perl

    my $TEXT = "";

    for (my $i=0;$i<11500;$i++) {
    $TEXT .= "x";
    }

    $TEXT =~ s/(x?)+//g;
    Confirmed segfault on OS X with 5.8.5.
    This is our perennial RE bug of blowing the stack, right?

    --
    Paul Johnson - paul@pjcj.net
    http://www.pjcj.net

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedNov 16, '04 at 7:38p
activeNov 16, '04 at 11:54p
posts3
users3
websiteperl.org

People

Translate

site design / logo © 2022 Grokbase