develooper Front page | perl.perl5.porters | Postings from March 2008

[perl #52074] Segfault on ISA push after symbol table delete

Thread Next
From:
Peter Scott
Date:
March 25, 2008 05:33
Subject:
[perl #52074] Segfault on ISA push after symbol table delete
Message ID:
rt-3.6.HEAD-25460-1206446636-1767.52074-75-0@perl.org
# New Ticket Created by  Peter Scott 
# Please include the string:  [perl #52074]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=52074 >


The last time I can find this being addressed here was in 2003 in 
http://groups.google.com/group/perl.perl5.porters/browse_thread/thread/16832fe88182a06 
, but there doesn't appear to have been a resolution.  I couldn't 
find open bugs on a subject seach, so I'm putting this in just on the 
principle that there ought to be a better response than segfaulting:

$ perl -e 'delete $main::{"foo::"}; push @foo::ISA, "bar"'
Segmentation fault

Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
   Platform:
     osname=linux, osvers=2.6.16-1.2133_fc5, archname=i686-linux
     uname='linux tweety 2.6.16-1.2133_fc5 #1 tue jun 6 00:52:14 edt 
2006 i686 athlon i386 gnulinux '
     config_args='-des -DDEBUGGING'
     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 ='-DDEBUGGING -fno-strict-aliasing -pipe 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm',
     optimize='-O2 -g',
     cppflags='-DDEBUGGING -fno-strict-aliasing -pipe 
-I/usr/local/include -I/usr/include/gdbm'
     ccversion='', gccversion='4.1.1 20060525 (Red Hat 4.1.1-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 -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
     libc=/lib/libc-2.4.so, so=so, useshrplib=false, libperl=libperl.a
     gnulibc_version='2.4'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
     cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
                         USE_LARGE_FILES USE_PERLIO
   Built under linux
   Compiled at Dec 26 2007 19:03:58
   @INC:
     /usr/local/lib/perl5/5.10.0/i686-linux
     /usr/local/lib/perl5/5.10.0
     /usr/local/lib/perl5/site_perl/5.10.0/i686-linux
     /usr/local/lib/perl5/site_perl/5.10.0
     /usr/local/lib/perl5/site_perl/5.8.8
     /usr/local/lib/perl5/site_perl
     .


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