develooper Front page | perl.perl5.porters | Postings from January 2001

[ID 20010130.001] problem with keys() and dbmopen-style hash

Thread Next
January 30, 2001 00:03
[ID 20010130.001] problem with keys() and dbmopen-style hash
Message ID:

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

[Please enter your report here]

I have created a fairly large tied hash, using dbmopen:

  -rw-r--r--   1 root  httpd  40361984 Jan 29 14:24 trim.db

Although direct inquiries into the hash seem to work OK,
looping over the hash with keys() seems to miss some elements.
I am willing to let someone download the hash, but its size
(40 MB) makes this a bit arduous.  Consequently, I am also
looking for tests I can run here...

[Please do not change anything below this line]

Site configuration information for perl 5.00503:

Configured by markm at Sun Mar  5 13:39:27 SAST 2000.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
    osname=freebsd, osvers=4.0-current, archname=i386-freebsd
    uname='FreeBSD 4.0-current FreeBSD 4.0-current #0: $Date$'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    cc='cc', optimize='undef', gccversion=2.95.2 19991024 (release)
    ccflags =''
    stdchar='char', d_stdstdio=undef, usevfork=true
    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 ='-Wl,-E -lperl -lm '
    libs=-lm -lc -lcrypt
    libc=, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/lib'
    cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared -lperl -lm '

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