[valgrind] [Bug 356675] callgrind test apk in android 5.0.2
https://bugs.kde.org/show_bug.cgi?id=356675 --- Comment #3 from winnie_hx --- Sorry,I think it's my fault,this problem must be in the core of valgrind ,i have modified it to "general".And Thank you very much! At 2016-05-12 20:02:23, "Josef Weidendorfer via KDE Bugzilla" wrote: >https://bugs.kde.org/show_bug.cgi?id=356675 > >--- Comment #2 from Josef Weidendorfer --- >Can you provide the complete output of the crash? >As the patch is about VG core stuff, I assume the crash also happens with other >VG tools? >If so, It seems better to re-assign this to "general" component. > >-- >You are receiving this mail because: >You are on the CC list for the bug. >You reported the bug. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 362892] 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”
https://bugs.kde.org/show_bug.cgi?id=362892 winnie_hx changed: What|Removed |Added Component|callgrind |general -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 356675] callgrind test apk in android 5.0.2
https://bugs.kde.org/show_bug.cgi?id=356675 winnie_hx changed: What|Removed |Added Component|callgrind |general -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 356675] callgrind test apk in android 5.0.2
https://bugs.kde.org/show_bug.cgi?id=356675 --- Comment #1 from winnie_hx --- Created attachment 98929 --> https://bugs.kde.org/attachment.cgi?id=98929&action=edit patch that uses signal handle to fix this problem add this patch can solve the signal problem that some apk may meet SIGSEGV . since then you can test apk by valgrind in android 5.0 or most -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 362939] test apk in android 5.0 or most,at 0x6A23AB4: art::Thread::InstallImplicitProtection() (in /system/lib/libart.so)
https://bugs.kde.org/show_bug.cgi?id=362939 --- Comment #2 from winnie_hx --- using patch to fix this problem ,and then you can test apk by valgrind in android 5.0 or most . memcheck,callgrind,lackey and so on. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 362939] test apk in android 5.0 or most,at 0x6A23AB4: art::Thread::InstallImplicitProtection() (in /system/lib/libart.so)
https://bugs.kde.org/show_bug.cgi?id=362939 winnie_hx changed: What|Removed |Added CC||winnie...@163.com --- Comment #1 from winnie_hx --- Created attachment 98913 --> https://bugs.kde.org/attachment.cgi?id=98913&action=edit patch to fix this problem -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 362939] New: test apk in android 5.0 or most,at 0x6A23AB4: art::Thread::InstallImplicitProtection() (in /system/lib/libart.so)
https://bugs.kde.org/show_bug.cgi?id=362939 Bug ID: 362939 Summary: test apk in android 5.0 or most,at 0x6A23AB4: art::Thread::InstallImplicitProtection() (in /system/lib/libart.so) 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 I test apk by valgrind in android 5.0 or most ,must meet the problem: at 0x6A23AB4: art::Thread::InstallImplicitProtection() (in /system/lib/libart.so) I/val.sh ( 4822): ==4824== If you believe this happened as a result of a stack I/val.sh ( 4822): ==4824== overflow in your program's main thread (unlikely but I/val.sh ( 4822): ==4824== possible), you can try to increase the size of the I/val.sh ( 4822): ==4824== main thread stack using the --main-stacksize= flag. I/val.sh ( 4822): ==4824== The main thread stack size used in this run was 134217728 I try to add --main-stacksize=134217728, this problem is still exist. finally ,the problem can be solved.I attach a patch that fix the issue. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 362892] 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”
https://bugs.kde.org/show_bug.cgi?id=362892 winnie_hx changed: What|Removed |Added CC||winnie...@163.com --- Comment #1 from winnie_hx --- Created attachment 98896 --> https://bugs.kde.org/attachment.cgi?id=98896&action=edit patch to fix this problem patch to fix this problem that android has maps function but valgrind doesn't have the support for /proc/self/maps. some files are modified: coregrind/m_main.c coregrind/m_syswrap/syswrap-linux.c coregrind/m_syswrap/syswrap-generic.c coregrind/pub_core_clientstate.h coregrind/m_clientstate.c -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 344802] disInstr(arm): unhandled instruction: 0xEC510F1E
https://bugs.kde.org/show_bug.cgi?id=344802 winnie_hx changed: What|Removed |Added Attachment #98873|0 |1 is obsolete|| --- Comment #12 from winnie_hx --- Created attachment 98894 --> https://bugs.kde.org/attachment.cgi?id=98894&action=edit increae the decode of mrrc in guest_arm_toIR.c -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 362892] New: 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”
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.
[valgrind] [Bug 356675] callgrind test apk in android 5.0.2
https://bugs.kde.org/show_bug.cgi?id=356675 winnie_hx changed: What|Removed |Added CC||winnie...@163.com -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 344802] disInstr(arm): unhandled instruction: 0xEC510F1E
https://bugs.kde.org/show_bug.cgi?id=344802 --- Comment #11 from winnie_hx --- sorry , (0xEC510F1E == (insn & 0xFFF00FFF)) must modifiy as (0xEC510F1E == (insn & 0x0FFF)) -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 344802] disInstr(arm): unhandled instruction: 0xEC510F1E
https://bugs.kde.org/show_bug.cgi?id=344802 winnie_hx changed: What|Removed |Added CC||winnie...@163.com --- Comment #10 from winnie_hx --- Created attachment 98873 --> https://bugs.kde.org/attachment.cgi?id=98873&action=edit increase the decode about mrrc in VEX/priv/guest_arm_toIR.c in guest_arm_toIR.c:17257 lines I increase the decode about mrrc : /*mrrc p15, 1, r0, r1, c14 */ if (0xEC510F1E == (insn & 0xFFF00FFF)) { UInt rK = INSN(15,12); UInt rM = INSN(19,16); if (rK <= 14&&rM <= 14) { putIRegA(rK, mkU32(0), condT, Ijk_Boring); putIRegA(rM, mkU32(0), condT, Ijk_Boring); DIP("mrrc p15,1,r%u,r%u,r1,c14\n",rM,rK); goto decode_success; } } -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 356675] New: callgrind test apk in android 5.0.2
https://bugs.kde.org/show_bug.cgi?id=356675 Bug ID: 356675 Summary: callgrind test apk in android 5.0.2 Product: valgrind Version: 3.10.0 Platform: Android OS: Android 5.x Status: UNCONFIRMED Severity: crash Priority: NOR Component: callgrind Assignee: josef.weidendor...@gmx.de Reporter: winnie...@163.com Created attachment 96060 --> https://bugs.kde.org/attachment.cgi?id=96060&action=edit this is test a apk in android5.0.2 by callgrind We want to test hot functions in apk at android 5.0.2 by callgrind. because there are oat files in android 5.0.2 .Oat file is a elf of android.So we think callgrind can test the hot functions in apk. However,when we test by callgrind,we find a bug in dex file(oat file): at 0x1599449A: ??? (in /data/dalvik-cache/arm/data@app@com.kiloo.subwaysur...@base.apk@classes.dex) -- You are receiving this mail because: You are watching all bug changes.