From: Sami R. <sam...@un...> - 2003-05-20 12:35:44
|
It works ! Thanks a lot ! On Tue, 2003-05-20 at 14:00, Nicholas Nethercote wrote: > On Tue, 20 May 2003, Sami Romdhani wrote: > > > Table 1. block_array is currupt > > mwmem.c:1010: Assert : Forced Assertion "Unaligned pointer found in > > cache" > > Aborted > > > > I tried to look in the source code of valgrind for this mwmem.c file, > > but couldn't find it. I'm then assuming that this files comes from the > > matlab libraries (difficult to be sure as nm does not work on the matlab > > .so libs) > > Try running Valgrind with the --alignment=8 option... many implementations > of malloc() give back 8-byte aligned pointers, Valgrind by default > (legitimately) gives back 4-byte aligned pointers, and this breaks some > programs. > > N > -- http://informatik.unibas.ch/personen/romdhani_sami/ |