|
From: Philippe W. <phi...@sk...> - 2015-04-10 21:32:09
|
On Fri, 2015-04-10 at 21:24 +0000, Zhu, Yanwen wrote: > Philippe, > > Please see the attached file for > strace -f valgrind -v -v -v -d -d -d > output The trace confirms that the mmap syscall is failing: n64_write(--1953:1:main Starting the dynamic memory manager ) = 54 n64_mmap() = -1 EINVAL (Invalid argument) But we do not see the syscall args. Maybe you need to give an argument to strace to have them ? A possible cause could be the page size: as I understand, mips have different page size setup. If your valgrind has been compiled with a pagesize not matching your kernel/setup, then maybe Valgrind might ask wrongly aligned mmap requests, giving then this EINVAL You could then configure/compile valgrind, specifying the correct page size e.g. use the below configure option: --with-pagesize= override detected page size (4, 16 or 64) Philippe |