https://bugs.kde.org/show_bug.cgi?id=362892

            Bug ID: 362892
           Summary: test apk in android5.0.2,after fix the bug
                    344802,android log“Unable to create protected region
                    in stack for implicit overflow check. Reason: Out of
                    memory size:  4096”
           Product: valgrind
           Version: 3.11.0
          Platform: Android
                OS: Android 5.x
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: callgrind
          Assignee: josef.weidendor...@gmx.de
          Reporter: winnie...@163.com

Created attachment 98877
  --> https://bugs.kde.org/attachment.cgi?id=98877&action=edit
valgrind log

When i test apk by valgrind in android 5.0.2.
After i fix the bug 344802 to handle the "mrrc"instrction.and then i run apk by
valgrind.
I creat a script called val.sh:
#!/system/bin/sh
PACKAGE="com.kiloo.subwaysurf"
VGPARAMS='-d -d -v -v --error-limit=no --trace-children=yes --tool=callgrind
--callgrind-out-file=/data/local/callgrind.out.%p
export TMPDIR=/data/data/$PACKAGE
export VALGRIND_LIB=/data/local/Inst/lib/valgrind/
exec /data/local/Inst/bin/valgrind $VGPARAMS $*

and use 
adb shell setprop wrap.com.kiloo.subwaysurf  "logwrapper /data/local/val.sh"   
 to setprop the property of this apk
use 
am start  -a android.intent.action.MAIN -n
com.kiloo.subwaysurf/com.skynet.android.impl.ui.SkynetSplashActivity       to  
 run apk  by  valgrind 

use this way  i find this  below problem :
art/runtime/thread.cc:2270] Unable to create protected region in stack for
implicit overflow check. Reason: Out of memory size:  4096
and   system begin crash

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to