Bug 362939 - test apk in android 5.0 or most,at 0x6A23AB4: art::Thread::InstallImplicitProtection() (in /system/lib/libart.so)
Summary: test apk in android 5.0 or most,at 0x6A23AB4: art::Thread::InstallImplicitPro...
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.11.0
Platform: Android Android 5.x
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-11 11:56 UTC by winnie_hx
Modified: 2016-05-12 12:06 UTC (History)
1 user (show)

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


Attachments
patch to fix this problem (621 bytes, patch)
2016-05-11 12:37 UTC, winnie_hx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description winnie_hx 2016-05-11 11:56:42 UTC
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.
Comment 1 winnie_hx 2016-05-11 12:37:28 UTC
Created attachment 98913 [details]
patch to fix this problem
Comment 2 winnie_hx 2016-05-11 12:39:08 UTC
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.
Comment 3 Josef Weidendorfer 2016-05-12 12:06:30 UTC
Re-assigned to general. Not specific for callgrind.