Front page | perl.perl5.porters |
Postings from August 2001
[ID 20010831.001] SEGV from ($a, b) = (1, 2)
Thread Next
From:
john
Date:
August 31, 2001 00:29
Subject:
[ID 20010831.001] SEGV from ($a, b) = (1, 2)
Message ID:
20010831073152.5A3E72A0D@gate.theusgroup.com
This is a bug report for perl from john@theusgroup.com,
generated with the help of perlbug 1.33 running under perl v5.6.1.
-----------------------------------------------------------------
[Please enter your report here]
Script started on Thu Aug 30 00:18:00 2001
% cat core_test.pl
#!/usr/bin/perl
($a, b) = (1, 2);
% perl -cw core_test.pl
Unquoted string "b" may clash with future reserved word at core_test.pl line 3.
Name "main::a" used only once: possible typo at core_test.pl line 3.
Name "main::b" used only once: possible typo at core_test.pl line 3.
core_test.pl syntax OK
zsh: segmentation fault (core dumped) perl -cw core_test.pl
% gdb /usr/bin/perl perl.core
Core was generated by `perl'.
Program terminated with signal 11, Segmentation fault.
#0 0x481d37b6 in wrtwarning ()
(gdb) bt
#0 0x481d37b6 in wrtwarning ()
#1 0x481d4673 in ifree ()
#2 0x481d492b in free ()
#3 0x480a5b45 in Perl_safefree ()
#4 0x4808b946 in Perl_op_free ()
#5 0x4808b909 in Perl_op_free ()
#6 0x4808b909 in Perl_op_free ()
#7 0x4808b909 in Perl_op_free ()
#8 0x4808b909 in Perl_op_free ()
#9 0x4808b909 in Perl_op_free ()
...
(gdb) q
%
Script done on Thu Aug 30 00:19:12 2001
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=low
---
Site configuration information for perl v5.6.1:
Configured by john at Thu May 3 02:53:35 PDT 2001.
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=bsdos, osvers=4.1, archname=i386-bsdos
uname='bsdos theusgroup.com 4.1 bsdi bsdos 4.1 kernel #2: sat jan 13 17:20:53 pst 2001 john@theusgroup.com:localsrcsyscompilegate i386 '
config_args='-des'
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
optimize='-O2',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='egcs-2.91.66 19990314 (egcs-1.1.2 release)', 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, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/X11/lib -L/usr/local/lib'
libpth=/usr/local/lib /usr/shlib /shlib /lib /usr/lib /usr/X11/lib
libs=-lutil -lbind -lgdbm -ldl -lm -lc
perllibs=-lutil -lbind -ldl -lm -lc
libc=/shlib/libc.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,//CORE'
cccdlflags='-fPIC', lddlflags='-shared -x -L/usr/X11/lib -L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.6.1:
/usr/local/lib/perl5/5.6.1/i386-bsdos
/usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i386-bsdos
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl/5.6.0/i386-bsdos
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
.
---
Environment for perl v5.6.1:
HOME=/usr/home/john
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/usr/local/bin:/usr/local/X11/bin:/bin:/sbin:/usr/sbin:/usr/bin:/usr/contrib/bin:/usr/X11/bin:/usr/local/gnu/bin
PERL_BADLANG (unset)
SHELL=/bin/zsh
Thread Next
-
[ID 20010831.001] SEGV from ($a, b) = (1, 2)
by john