Re: panic: DESTROY (dbih_clearcom) in trace output



On Fri, Jun 08, 2007 at 11:58:23AM +0100, Martin Evans wrote:
Tim Bunce wrote:
On Thu, Jun 07, 2007 at 08:53:56PM +0100, Martin J. Evans wrote:
(in cleanup) panic: DESTROY (dbih_clearcom) inner handle HASH is
not a hash ref at
/usr/lib/perl5/site_perl/5.8.8/DBIx/Log4perl/db.pm line 55.

I can find in the following in dbih_inner

/* extra checks if being paranoid */
if (DBIS->debug && (!SvROK(hrv) || SvTYPE(SvRV(hrv)) != SVt_PVHV)) {
if (!what)
return NULL;
sv_dump(orv);
croak("panic: %s inner handle %s is not a hash ref",
what, neatsvpv(hrv,0));
}

but I'm not sure what it is croaking about. Is this something I need to
worry about?

Nope. Upgrade your DBI.

This was fixed in r9395. The log comment was: "Remove old DBI internal
sanity check that's no longer valid (after spending a few hours banging
my head against it)"

Thanks - that did the trick. Would you mind if I changed DBI::Changes to
mention this in case others hit it?

Go ahead. Thanks.

Tim.
.