develooper Front page | perl.perl5.porters | Postings from October 2003

[perl #24154] Core dump when using Storable

Thread Next
October 8, 2003 19:11
[perl #24154] Core dump when using Storable
Message ID:
# New Ticket Created by 
# Please include the string:  [perl #24154]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This is a bug report for perl from,
generated with the help of perlbug 1.34 running under perl v5.8.1.

[Please enter your report here]

When running this:

  perl -we '$db = bless {}; $db->{db}{12345}; use Storable; sub DESTROY { store(shift->{db},"outfile") }'

perl gets a SEGV signal and dumps core..

The code generates thesame results on at least 4 machines.
I've tested on:
- Fully updated Gentoo/GNU/Linux (this machine)
- FreeBSD 4.7-RELEASE-p13 with perl5 (revision 5.0 version 6 subversion 1)
- FreeBSD 4.7-RELEASE-p21 with perl5 (revision 5.0 version 6 subversion 1)

Not having this problem on:
- FreeBSD 4.2-RELEASE     with perl5 (revision 5.0 version 6 subversion 1)
- BSD/OS 4.1 BSDI         with perl5 (revision 5.0 version 6 subversion 1)

Hope i've supplied enough information.

Kind Regards,

Berik Visschers <>,
XS4ALL Internet BV.

[Please do not change anything below this line]
Site configuration information for perl v5.8.1:

Configured by berikv at Tue Oct  7 12:09:13 CEST 2003.

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
    osname=linux, osvers=2.4.20-gentoo-r6, archname=i686-linux
    uname='linux dhcp308 2.4.20-gentoo-r6 #4 fri aug 29 23:29:40 cest 2003 i686 intel(r) celeron(r) cpu 1.80ghz genuineintel gnulinux '
    config_args='-des -Darchname=i686-linux -Dcc=gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth=  -Doptimize=-march=pentium3 -O3 -pipe -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman3ext=3pm -Dcf_by=Gentoo -Ud_csh -Di_gdbm -Di_db -Di_ndbm'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-march=pentium3 -O3 -pipe',
    cppflags='-DPERL5 -fno-strict-aliasing'
    ccversion='', gccversion='3.3.1 20030916 (Gentoo Linux 3.3.1-r4, propolice)', 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='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/, 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 v5.8.1:

Environment for perl v5.8.1:
    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