Did you compile with --with-valgrind?
alloc_node_s is defined in line 382 in las.c
/ Martin Nilsson (saturator)
Previous text:
2004-03-02 23:31: Subject: valgrinding Pike - some problems
Hi,
Just attempted to valgrind recent version (from CVS), immediately got thousands of errors like this:
==7875== Conditional jump or move depends on uninitialised value(s) ==7875== at 0x81B5AF7: debug_check_node_hash (las.c:830) ==7875== by 0x81506F1: optimize_binary (operators.c:1712) ==7875== by 0x81C8A04: optimize (treeopt.h:3289) ==7875== by 0x81CCCF3: optimize_node (las.c:5363)
Where is the catch?
It seems that entire structure is initialized correctly upon allocation (there is a call to MEMSET)... What makes me curious, though - is - where alloc_node_s() is defined? Grepping all files in src/ gives single match - call to this function, object file symbol table says that alloc_node_s() is defined in las.c, but...
Regards, /Al
/ Brevbäraren