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

Bad hash at blib/lib/Storable.pm

From:
Bartlomiej Papierski
Date:
January 5, 2001 10:05
Subject:
Bad hash at blib/lib/Storable.pm
Message ID:
Pine.LNX.4.30.0101051842070.14526-100000@lupo.atrix.com.pl
Hello,

My perl config is as follows:
-----------------------------
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.15pre14, archname=i386-linux
    uname='linux them 2.2.15pre14 #2 smp mon mar 13 14:29:00 est 2000 i686
unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2 ', gccversion=2.95.2 20000313 (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'
------------------------------------------------------------------------

I'm using Sablotron-0.5 and Storable-1.0.7


When I try to fire up index.xml from AxKit samples I get the following
error:
----------------------------------------------------------------------
[Fri Jan  5 18:44:43 2001] [error] [client 212.244.39.65] [AxKit]
[UnCaught] Bad
 hash at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al)
 line 252,

[Fri Jan  5 18:44:43 2001] [error] [client 212.244.39.65] [AxKit]
[Backtrace] Bad hash at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al
) line 252,
        Error::subs::run_clauses('HASH(0x859c42c)', 'Bad hash at
blib/lib/Storable.pm (autosplit into blib/lib/auto/S...', '',
'ARRAY(0x82a8eec)') called at /usr/local/lib/site_perl/Error.pm line 386
        Error::subs::try('CODE(0x853558c)', 'HASH(0x859c42c)') called at
/usr/local/lib/site_perl/i386-linux/AxKit.pm line 637
        AxKit::handler('AxKit::Apache=SCALAR(0x85355b0)') called at
PerlHandler subroutine `AxKit' line 1
        eval {...} called at PerlHandler subroutine `AxKit' line 1
------------------------------------------------------------------


"Bad hash" means that one of the internal hash routines was passed a null
HV pointer. What kind of pointer it is?

Is anyone of you familiar with Storable?

_/ _/ _/  Bartlomiej Papierski      |  A T R I X  -  Internet Solutions
_/ _/ _/  http://www.atrix.com.pl/  |  90-418 Lodz, al. Kosciuszki 1
_/ _/ _/  B.Papierski@atrix.com.pl  |  tel./fax (42) 631.11.66
_/ _/ _/  office@atrix.com.pl       |  mobile (501) 759.727





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About