From: Nicholas N. <nj...@ca...> - 2003-05-20 12:01:15
|
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 |