Hi ,
I am trying to run valgrind on JB, i have followed the instruction from,
http://valgrind.org/docs/manual/dist.readme-android.html
I have built the source working fine,I want to detect memory leaks on
Settings application , so i have got help from this site,
http://blog.mozilla.org/jseward/2011/09/27/valgrind-on-android-current-status/
when i am trying to start the application its not getting launched, time
out happens,
please let me know if you can help me out ?
Please have a look at the logs,
I/dalvikvm( 1112): Exec: /system/bin/sh -c logwrapper logwrapper
/data/local/start_valgrind.sh /system/bin/app_process /system/bin
--application '--nice-name=com.android.settings'
com.android.internal.os.WrapperInit 26 16 'android.app.ActivityThread'
I/start_valgrind.sh( 1124): ******** Starting the Logwrapper *****
I/start_valgrind.sh( 1124): ==1126== Memcheck, a memory error detector
I/start_valgrind.sh( 1124): ==1126== Copyright (C) 2002-2012, and GNU
GPL'd, by Julian Seward et al.
I/start_valgrind.sh( 1124): ==1126== Using Valgrind-3.8.1 and LibVEX; rerun
with -h for copyright info
I/start_valgrind.sh( 1124): ==1126== Command: /system/bin/app_process
/system/bin --application --nice-name=com.android.settings
com.android.internal.os.WrapperInit 26 16 android.app.ActivityThread
I/start_valgrind.sh( 1124): ==1126==
D/skia ( 1101): SkGraphics::Term() dlclose() BLTsville (CPU)
D/skia ( 1126): SkGraphics::Init() - BLTsville (CPU) dlopen success
D/AndroidRuntime( 1126):
D/AndroidRuntime( 1126): >>>>>> AndroidRuntime START
com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 1126): CheckJNI is OFF
D/dalvikvm( 1126): Trying to load lib libjavacore.so 0x0
I/start_valgrind.sh( 1124): ==1126== Conditional jump or move depends on
uninitialised value(s)
I/start_valgrind.sh( 1124): ==1126== at 0x4006694: strlen (in
/system/bin/linker)
I/start_valgrind.sh( 1124): ==1126==
I/start_valgrind.sh( 1124): ==1126== Conditional jump or move depends on
uninitialised value(s)
I/start_valgrind.sh( 1124): ==1126== at 0x4006698: strlen (in
/system/bin/linker)
I/start_valgrind.sh( 1124): ==1126==
D/dalvikvm( 1126): Added shared lib libjavacore.so 0x0
D/dalvikvm( 1126): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 1126): Added shared lib libnativehelper.so 0x0
D/AndroidRuntime( 1126): Calling main entry
com.android.internal.os.WrapperInit
I/Zygote ( 117): Wrapped process has pid 1126
I/ActivityManager( 298): Start proc com.android.settings for activity
com.android.settings/.Settings: pid=1126 uid=1000 gids={41000, 3003, 1015,
3002, 3001, 1028}
W/ActivityManager( 298): Launch timeout has expired, giving up wake lock!
Thanks and regards,
Aravindhan
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users