when I run Valgrind on my executable it starts and then always fails after 
printing out this error:

Thread 9: status = VgTs_Runnable (lwpid 2354)
==2333==    at 0x6C5BCC: sys_clone (linux_syscall_support.h:2666)
==2333==    by 0x6C5BCC: 
google_breakpad::ExceptionHandler::GenerateDump(google_breakpad::ExceptionHandler::CrashContext*)
 (exception_handler.cc:527)
==2333==    by 0x6C60C3: google_breakpad::ExceptionHandler::SignalHandler(int, 
siginfo_t*, void*) (exception_handler.cc:368)
==2333==    by 0x4CE5ACF: ??? (in /lib/libc-2.22.so <http://libc-2.22.so>)

There is a good chance that the combination of the app and Android
does not behave in the way that valgrind expects a process to behave.
Android does not necessarily have the same behavior as Linux,
and the differences can lead to SIGSEGV, etc.

Run the whole thing (your app under valgrind) under the Android equivalent
of 'strace', and pay particular attention to the layout of the address
space (mmap, etc.)  Also turn on --trace-syscalls=yes and --trace-signals=yes
and -v -v -v to see what valgrind is up to.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to