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

[ID 20000318.003] electric-fence finds a bad memory reference in perl

Thread Next
March 18, 2000 17:13
[ID 20000318.003] electric-fence finds a bad memory reference in perl
Message ID:

This is a bug report for perl from,
generated with the help of perlbug 1.26 running under perl 5.00503.


I submitted this to the Debian bug tracking system (Bug#57217), but to
my knowledge the maintainer has not forwarded it.  I believe a
reproducible memory reference error should be of concern, so I have
decided to forward it myself.  (I am also a Debian developer.)

			- Jim Van Zandt

Date: Sun, 6 Feb 2000 19:56:20 -0500 (EST)
From: James R. Van Zandt <>
Subject: perl-5.005-base: electric-fence finds a bad memory reference

Package: perl-5.005-base
Version: 5.005.03-4.1
Severity: normal

automake is a perl script.  electric-fence thinks it has a bad memory

  $ automake --add-missing
    Electric Fence 2.0.5 Copyright (C) 1987-1998 Bruce Perens.
  Segmentation fault (core dumped)

The directory contents after this (which also indicates which files
automake would try to copy in) is as follows:
  $ ls
  AUTHORS      NEWS          core         squeegee.c        squeegee.texinfo
  ChangeLog    README        gpl.texinfo   system.h  squeegee.1  xmalloc.c
(core is 65 MB)

I have automake 1.4-6 and electric-fence 2.1.3 .
Here's the version of perl I am using:

  vanzandt:~# update-alternatives --display perl
  perl - status is auto.
   link currently points to /usr/bin/perl-5.005
  /usr/bin/perl-5.005 - priority 5005
  /usr/bin/perl-5.004 - priority 5004
  Current `best' version is /usr/bin/perl-5.005.
  vanzandt:~# ls -l /usr/bin/perl*5.005*
  -rwxr-xr-x    3 root   root     535152 Dec 19 12:29 /usr/bin/perl-5.005
  -rwxr-xr-x    3 root   root     535152 Dec 19 12:29 /usr/bin/perl5.005
  -rwxr-xr-x    3 root   root     535152 Dec 19 12:29 /usr/bin/perl5.00503
  -rwxr-xr-x    1 root   root      31728 Dec 19 12:29 /usr/bin/perlbug-5.005
  -rwxr-xr-x    1 root   root      26311 Dec 19 12:29 /usr/bin/perlcc-5.005
  -rwxr-xr-x    1 root   root      16815 Dec 19 12:29 /usr/bin/perldoc-5.005
  vanzandt:~# dpkg --search /usr/bin/perl5.00503
  perl-5.005-base: /usr/bin/perl5.00503

			- Jim Van Zandt

-- System Information
Debian Release: potato
Kernel Version: Linux vanzandt 2.2.5 #8 Mon Jul 26 17:02:20 EDT 1999 i686 unknown

Versions of the packages perl-5.005-base depends on:
ii  libc6           2.1.2-11       GNU C Library: Shared libraries and Timezone
ii  libgdbmg1       1.7.3-26.2     GNU dbm database routines (runtime version).

[Please do not change anything below this line]

Site configuration information for perl 5.00503:

Configured by rhertzog at Sun Dec 19 18:11:52 CET 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
    osname=linux, osvers=2.2.13, archname=i386-linux
    uname='linux p200 2.2.13 #3 fri nov 5 15:32:20 cet 1999 i586 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    cc='cc', optimize='-O2', gccversion=2.95.2 19991109 (Debian GNU/Linux)
    cppflags='-Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, 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 /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=, 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.00503:

Environment for perl 5.00503:
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About