|
From: Nicholas N. <nj...@ca...> - 2003-11-24 11:32:31
|
On Mon, 24 Nov 2003, Salim SAYOURI wrote: > It seems that the pointers used in Judy array are aligned on 8 bytes! And > launching valgrind with the option --alignment=8 solves the problem. This is a fairly common problem... perhaps we should just change Valgrind's allocator to align heap blocks on 8-byte boundaries? I know that programs should, strictly speaking, be able to handle 4-byte alignments. But it does cause difficult-to-understand problems with Memcheck. Not sure. N |