[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
[ID 20000127.002] 5.005_63 `Out of memory' on trivial program with @+ and @-
This is a bug report for perl from mjd@plover.com,
generated with the help of perlbug 1.27 running under perl 5.00563.
-----------------------------------------------------------------
[Please enter your report here]
Here is fish.pl:
================================================================
"fish" =~ /fish/;
print @-;
================================================================
When I run this, I get:
================================================================
Out of memory!
================================================================
If I change @- to $#-:
================================================================
135391488
================================================================
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Site configuration information for perl 5.00563:
Configured by mjd at Thu Dec 23 22:24:45 EST 1999.
Summary of my perl5 (revision 5.0 version 5 subversion 63) configuration:
Platform:
osname=linux, osvers=2.2.12, archname=i586-linux
uname='linux plover 2.2.12 #10 mon nov 1 17:02:09 est 1999 i586 unknown '
config_args='-des'
hint=previous, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
use64bits=undef usemultiplicity=undef
Compiler:
cc='cc', optimize='-g', gccversion=egcs-2.90.29 980515 (egcs-1.0.3 release)
cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /shlib /lib /usr/lib
libs=-lndbm -lgdbm -ldbm -ldb -ldl -lm -lc
libc=/lib/libc-2.0.7.so, so=so, useshrplib=false, libperl=libperl.a
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 5.00563:
lib
/usr/local/lib/perl5/5.00563/i586-linux
/usr/local/lib/perl5/5.00563
/usr/local/lib/site_perl/5.00562/i586-linux
/usr/local/lib/site_perl
.
---
Environment for perl 5.00563:
HOME=/home/mjd
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R6/lib
LOGDIR (unset)
PATH=/home/mjd/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11/bin:/usr/games:/sbin:/usr/sbin:/usr/local/bin/X11:/usr/local/bin/mh:/data/mysql/bin:/home/mjd/TPI/bin:/usr/local/mysql/bin
PERL_BADLANG (unset)
SHELL=/bin/bash
- Follow-Ups from:
-
Ilya Zakharevich <ilya@math.ohio-state.edu>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]