John Skaller wrote:
>
> The problem is when the pointer storage location
> is moved from the heap onto the stack then J1First,
> J1Next, etc, return rubbish. 
> 
> Now I can't tell if this is a bug in Judy, or it is a bug
> in my binding which 'just happens' to appear to work in
> the first case but actually corrupts memory somewhere.
> 
> I've spent around 2 days trying to figure out what's going
> on and can't.

Valgrind is an excellent tool which often tells you exactly what the bug is,
and almost never wastes your time with false alarms.  It's way better than
older memory-bug-finding tools that you may have used, like Purify.  Give
Valgrind a try.

Regards,

Zooko

P.S.  This advertisement brought to you by People For The Advancement of the
Use of Valgrind.  I have no financial interest in Valgrind -- I'm just a happy
user.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Judy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/judy-devel

Reply via email to