No bells here. Keep digging!

Tim.

On Tue, Jun 07, 2005 at 04:43:53PM -0400, Sam Tregar wrote:
> Hello all.  I've been playing with DBI::ProfileDumper again and I've
> been experiencing an odd error.  At first I thought it was something
> happening in my application but then I got the same error from a very
> different app (one uses Class::DBI and lots of magic, the other is a
> straight-forward DBI app).
> 
> Here's the error:
> 
>    Invalid Profile data leaf element at depth 1: HASH (type 11) at 
> /home/sam/projectx/lib/i686-linux/DBI.pm line 677.
> 
> I poked around DBI.xs and found the line that's generating this
> message.  I added a call to sv_dump on the offending "data leaf
> element":
> 
>    SV = PVHV(0x9aaf1a8) at 0x9b43f8c
>      REFCNT = 1
>      FLAGS = (SHAREKEYS)
>      IV = 0
>      NV = 0
>      ARRAY = 0x0
>      KEYS = 0
>      FILL = 0
>      MAX = 7
>      RITER = -1
>      EITER = 0x0
> 
> So it looks like something is putting an empty hash into the profile
> array.  I haven't taken the next step of trying to track down where
> and how that hash is getting inserted.  I thought I'd stop here and
> see if this rings any bells.
> 
> -sam

Reply via email to