develooper Front page | perl.perl5.porters | Postings from February 2003

[perl #21258] Segfault on some versions of 5.8

Thread Next
From:
Martin Ruderer
Date:
February 17, 2003 06:20
Subject:
[perl #21258] Segfault on some versions of 5.8
Message ID:
rt-21258-52230.1.64096443894735@bugs6.perl.org
# New Ticket Created by  Martin Ruderer 
# Please include the string:  [perl #21258]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=21258 >


This is a bug report for perl from martin@lddd.org,
generated with the help of perlbug 1.34 running under perl v5.8.0.


I encountered a segfault at 
perl -e'1 for ("")x~-~-0' 
and found out that it only segfaults on SOME versions of 5.8.
For example on a i686-linux-thread-multi-64all-ld it does not.
Sorry, that's all i can say..




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

Configured by sorrow at Sun Feb 16 15:07:21 CET 2003.

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.19, archname=i686-linux-thread-multi
    uname='linux piece 2.4.19 #1 smp sun feb 9 10:45:19 cet 2003 i686
unknown '    config_args='-Dprefix=/usr -Dlibperl=libperl.so'
    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 -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',    optimize='-O3',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing'
    ccversion='', gccversion='3.2.1', 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 -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=/lib/libc-2.3.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.1'
  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.8.0:
    /usr/lib/perl5/5.8.0/i686-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    .

---
Environment for perl v5.8.0:
    HOME=/home/sorrow
    LANG=
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
   
PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/
games:/usr/local/games:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/u
sr/local/bin:/usr/games:/usr/local/games:/usr/bin/X11:/ho
me/sorrow/bin:.:/usr/local/silc/bin:/usr/local/mupad/share/bin:/usr/loc
al/silc/bin    PERL_BADLANG (unset)
    SHELL=/bin/bash


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About