Bug 356675 - callgrind test apk in android 5.0.2
Summary: callgrind test apk in android 5.0.2
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.10.0
Platform: Android Android 5.x
: NOR crash
Target Milestone: ---
Assignee: Josef Weidendorfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-14 12:07 UTC by winnie_hx
Modified: 2016-05-13 13:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
this is test a apk in android5.0.2 by callgrind (405.29 KB, text/plain)
2015-12-14 12:07 UTC, winnie_hx
Details
patch that uses signal handle to fix this problem (4.54 KB, patch)
2016-05-12 09:22 UTC, winnie_hx
Details
attachment-20835-0.html (881 bytes, text/html)
2016-05-13 13:38 UTC, winnie_hx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description winnie_hx 2015-12-14 12:07:33 UTC
Created attachment 96060 [details]
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.subwaysurf-1@base.apk@classes.dex)
Comment 1 winnie_hx 2016-05-12 09:22:54 UTC
Created attachment 98929 [details]
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
Comment 2 Josef Weidendorfer 2016-05-12 12:02:23 UTC
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.
Comment 3 winnie_hx 2016-05-13 13:38:44 UTC
Created attachment 98947 [details]
attachment-20835-0.html

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" <bugzilla_noreply@kde.org> wrote:
>https://bugs.kde.org/show_bug.cgi?id=356675
>
>--- Comment #2 from Josef Weidendorfer <josef.weidendorfer@gmx.de> ---
>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.