develooper Front page | perl.perl5.porters | Postings from May 2007

[perl #43073] Blead segfaults on local *@; eval {1}

Thread Next
From:
eirik @ allverden . no
Date:
May 30, 2007 08:15
Subject:
[perl #43073] Blead segfaults on local *@; eval {1}
Message ID:
rt-3.6.HEAD-1668-1180499214-172.43073-75-0@perl.org
# New Ticket Created by  eirik@allverden.no 
# Please include the string:  [perl #43073]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43073 >



This is a bug report for perl from eirik@blackbox.dav,
generated with the help of perlbug 1.35 running under perl 5.9.5.


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

To demonstrate:

eirik@blackbox[05:14:50]~$ bleadperl -e 'local *@; eval {1}'
Segmentation fault
eirik@blackbox[05:16:50]~$ 

If I trace or step through the code in the debugger, it terminates
successfully at the end of the code (which made this failure a pain to
track down).  Otherwise it segfaults in the debugger as well.

It's just blead, as far as I can tell.  This runs just fine in 5.8.8
and older releases, as well as in maint (as of a week ago, at least).

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl 5.9.5:

Configured by eirik at Wed May 30 04:30:09 CEST 2007.

Summary of my perl5 (revision 5 version 9 subversion 5 patch 31308) configuration:
  Platform:
    osname=linux, osvers=2.6.17.1320070524, archname=i686-linux
    uname='linux blackbox 2.6.17.1320070524 #1 thu may 24 11:29:03 cest 2007 i686 pentium4 i386 gnulinux '
    config_args='-des -Dusedevel -Dprefix=/opt/perl-blead'
    hint=recommended, useposix=true, d_sigaction=define
    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',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='3.4.6', 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.6.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.6'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib'

Locally applied patches:
    DEVEL

---
@INC for perl 5.9.5:
    /opt/perl-blead/lib/5.9.5/i686-linux
    /opt/perl-blead/lib/5.9.5
    /opt/perl-blead/lib/site_perl/5.9.5/i686-linux
    /opt/perl-blead/lib/site_perl/5.9.5
    .

---
Environment for perl 5.9.5:
    HOME=/home/eirik
    LANG=en_US
    LANGUAGE (unset)
    LC_COLLATE=C
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/local/apache/bin:/local/bin:/home/eirik/bin:/home/eirik/reddwarf/bin:/opt/kde/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