I have built valgrind for android using the arm toolchain provided with android source (arm-eabi 4.4.0). But executing valgrind in android emulator results in the following error
==905== Memcheck, a memory error detector ==905== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==905== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright info ==905== Command: ls ==905== ==905== Invalid read of size 4 ==905== at 0xB40050A8: ??? (in /system/bin/linker) ==905== Address 0xb0012570 is not stack'd, malloc'd or (recently) free'd ==905== ==905== Process terminating with default action of signal 11 (SIGSEGV) ==905== Access not within mapped region at address 0xB0012570 ==905== at 0xB40050A8: ??? (in /system/bin/linker) ==905== If you believe this happened as a result of a stack ==905== overflow in your program's main thread (unlikely but ==905== possible), you can try to increase the size of the ==905== main thread stack using the --main-stacksize= flag. ==905== The main thread stack size used in this run was 8388608. ==905== [1] Segmentation fault valgrind ls Even by giving --main-stacksize option with a higher value gives the same result. Any help is greatly apreciated Regards Midhun
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
