|
From: Crispin F. <val...@fl...> - 2003-11-24 11:45:24
|
On Mon, 2003-11-24 at 11:32, Nicholas Nethercote wrote: > 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. It would certainly help running some gnome programs, I know quite a few people who thought that valgrind couldn't run their programs (certainly the alignment is needed for galeon and epiphany). Crispin |