Native Crash | art::MonitorList::SweepMonitorList - android

Below error occurred to multiple users but once mostly per device. But it continuous to happen.
I have not used App bundle, but provided 2 separate APK for 32 bit and 64 bit phones.
All devices mentioned so far are at Android 9 level.
My build is taken with target SDK API 26 (due to the limitation present in Kony IDE). compiled using API 28.
What may cause this error?
I am unable to reproduce this issue. Any probable cause for this issue?
Devices in which this observed:
Samsung Galaxy A7 (2018) (a7y18lte), Android 9
Samsung Galaxy Note10+ (d2s), Android 9
Samsung Galaxy S10 (beyond1), Android 9
Samsung Galaxy S10+ (beyond2), Android 9
Samsung Galaxy Note9 (crownlte), Android 9
Samsung Galaxy Note8 (greatlte), Android 9
Samsung Galaxy S10 (beyond1), Android 9
Huawei P20 Pro (HWCLT), Android 9
Huawei P30 Pro (HWVOG), Android 9
Huawei Mate 20 Pro (HWLYA), Android 9
Error From Google Play Console
pid: 0, tid: 0
backtrace:
#00 pc 00000000003c3ef8 /system/lib64/libart.so (art::MonitorList::SweepMonitorList(art::IsMarkedVisitor*)+288)
#01 pc 0000000000469874 /system/lib64/libart.so (art::Runtime::SweepSystemWeaks(art::IsMarkedVisitor*)+40)
#02 pc 00000000001c1824 /system/lib64/libart.so (art::gc::collector::ConcurrentCopying::SweepSystemWeaks(art::Thread*)+192)
#03 pc 00000000001be504 /system/lib64/libart.so (art::gc::collector::ConcurrentCopying::MarkingPhase()+1928)
#04 pc 00000000001bc8b8 /system/lib64/libart.so (art::gc::collector::ConcurrentCopying::RunPhases()+1328)
#05 pc 00000000001d2be8 /system/lib64/libart.so (art::gc::collector::GarbageCollector::Run(art::gc::GcCause, bool)+320)
#06 pc 00000000001f5594 /system/lib64/libart.so (art::gc::Heap::CollectGarbageInternal(art::gc::collector::GcType, art::gc::GcCause, bool)+3408)
#07 pc 0000000000206b10 /system/lib64/libart.so (art::gc::Heap::ConcurrentGC(art::Thread*, art::gc::GcCause, bool)+128)
#08 pc 000000000020c178 /system/lib64/libart.so (art::gc::Heap::ConcurrentGCTask::Run(art::Thread*)+40)
#09 pc 000000000022ebb8 /system/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+68)
#10 pc 000000000007b56c /system/framework/arm64/boot-core-libart.oat (dalvik.system.VMRuntime.clampGrowthLimit [DEDUPED]+124)
#11 pc 00000000001845d4 /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$HeapTaskDaemon.runInternal+196)
#12 pc 0000000000111e7c /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$Daemon.run+76)
#13 pc 000000000025d068 /system/framework/arm64/boot.oat (java.lang.Thread.run+72)
#14 pc 000000000055ab88 /system/lib64/libart.so (art_quick_invoke_stub+584)
#15 pc 00000000000d04c8 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#16 pc 00000000004618ac /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#17 pc 0000000000462968 /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
#18 pc 000000000048dd88 /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1120)
#19 pc 00000000000836c8 /system/lib64/libc.so (__pthread_start(void*)+196)
#20 pc 0000000000023bac /system/lib64/libc.so (__start_thread+68)

Related

ANDROID | Native crash | signal 7 (SIGBUS), code 1 (BUS_ADRALN)

I was unable to understand what could have caused this issue. Though it refers to RegexMatcher.
Does it mean, regular expression used in app may have caused this?
I am unable to reproduce this in devices. And it doesn't look like every-time issue.
Need support to understand what backtrace suggests?
Devices where Issue is seen
Huawei honor 10 Lite (HWHRY-H), Android 9
Huawei Mate 10 Pro (HWBLA), Android 9
Huawei Mate 20 Pro (HWLYA), Android 9
Huawei P20 Pro (HWCLT), Android 9
Huawei P10 Plus (HWVKY), Android 9
Huawei FIG-LX1 (HWFIG-H), Android 9
Huawei P20 Pro (HWCLT), Android 9
**Error received from Google Play console:**
backtrace:
#00 pc 0000000000133d69 /system/lib64/libicuuc.so
#01 pc 000000000019cf58 /system/lib64/libicui18n.so (icu_60::RegexMatcher::~RegexMatcher()+48)
#02 pc 000000000019cfec /system/lib64/libicui18n.so (icu_60::RegexMatcher::~RegexMatcher()+16)
#03 pc 000000000002336c /system/lib64/libjavacore.so (Matcher_free(void*)+68)
#04 pc 0000000000094120 /system/framework/arm64/boot-core-libart.oat (java.math.NativeBN.BN_copy [DEDUPED]+160)
#05 pc 000000000018340c /system/framework/arm64/boot-core-libart.oat (libcore.util.NativeAllocationRegistry$CleanerThunk.run+76)
#06 pc 000000000040c754 /system/framework/arm64/boot.oat (sun.misc.Cleaner.clean+164)
#07 pc 00000000001daa0c /system/framework/arm64/boot.oat (java.lang.ref.ReferenceQueue.enqueueLocked+236)
#08 pc 00000000001dab2c /system/framework/arm64/boot.oat (java.lang.ref.ReferenceQueue.enqueuePending+172)
#09 pc 00000000001d7b04 /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$ReferenceQueueDaemon.runInternal+244)
#10 pc 000000000015978c /system/framework/arm64/boot-core-libart.oat (java.lang.Daemons$Daemon.run+76)
#11 pc 00000000002c1038 /system/framework/arm64/boot.oat (java.lang.Thread.run+72)
#12 pc 000000000056ef88 /system/lib64/libart.so (art_quick_invoke_stub+584)
#13 pc 00000000000d4204 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#14 pc 0000000000472fd4 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
#15 pc 0000000000474090 /system/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue*)+424)
#16 pc 000000000049f684 /system/lib64/libart.so (art::Thread::CreateCallback(void*)+1120)
#17 pc 0000000000083588 /system/lib64/libc.so (__pthread_start(void*)+36)
#18 pc 00000000000241dc /system/lib64/libc.so (__start_thread+68)

Native Crash tgkill+8 for MediaPlayer (Samsung Oreo 8.0)

We are seeing a weird tgkill native crash for all kinds of Samsung devices with Android Oreo 8.0.
#00 pc 000000000006b818 /system/lib64/libc.so (tgkill+8)
#01 pc 000000000001df10 /system/lib64/libc.so (abort+88)
#02 pc 0000000000007f44 /system/lib64/liblog.so (__android_log_assert+304)
#03 pc 0000000000015a94 /system/lib64/libutils.so (_ZN7android6Looper4wakeEv+192)
#04 pc 0000000000695368 /system/framework/arm64/boot-framework.oat (android.os.Binder.restoreCallingIdentity [DEDUPED]+152)
#05 pc 00000000010b04b4 /system/framework/arm64/boot-framework.oat (android.os.MessageQueue.quit+276)
#06 pc 00000000010aaff4 /system/framework/arm64/boot-framework.oat (android.os.Looper.quitSafely+68)
#07 pc 0000000000e304c8 /system/framework/arm64/boot-framework.oat (android.media.MediaPlayer$4.run+456)
#08 pc 0000000001042b60 /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+80)
#09 pc 00000000010a9d00 /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+1184)
#10 pc 000000000104521c /system/framework/arm64/boot-framework.oat (android.os.HandlerThread.run+620)
#11 pc 0000000000507d84 /system/lib64/libart.so (art_quick_invoke_stub+580)
#12 pc 00000000000d82f4 /system/lib64/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+200)
#13 pc 00000000004309cc /system/lib64/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+104)
#14 pc 0000000000431b58 /system/lib64/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+432)
#15 pc 0000000000458038 /system/lib64/libart.so (_ZN3art6Thread14CreateCallbackEPv+1140)
#16 pc 0000000000068194 /system/lib64/libc.so (_ZL15__pthread_startPv+36)
#17 pc 000000000001f664 /system/lib64/libc.so (__start_thread+68)
We are using the MediaPlayer, so maybe this makes sense: android.media.MediaPlayer$4.run+456
The thing is, we have no idea how to debug it. Any ideas on what this crash is really about?
(Trying to get a Samsung with 8.0 in the meantime)
Maybe this is relevant:
tgkill - native error on Android 8.0 Samsung S8
Basically its EditText messing up on rotate for android 8.

native crashes for android 8.0 devices tgkill

I am getting native crashes for android 8.0 devices.The crashes only
occur on Devices running Android 8+.
I found a lot native crash in "Android Vitals - ANRs & crashes".
I can not reproduce these issue.
Devices (all with Android 8.0):
Galaxy S7 edge (hero2lte)
Galaxy S7 (herolte)
Galaxy S8 (dreamlte)
Galaxy A5(2017) (a5y17lte)
Galaxy Note8 (greatlte)
### Crash log ###
#00 pc 000000000004b3ac /system/lib/libc.so (tgkill+12)
#01 pc 000000000001a473 /system/lib/libc.so (abort+54)
#02 pc 000000000033a8bb /system/lib/libart.so
(_ZN3art7Runtime5AbortEPKc+370)
#03 pc 000000000033aeb3 /system/lib/libart.so
(_ZN3art7Runtime7AborterEPKc+10)
#04 pc 00000000003f3419 /system/lib/libart.so
(_ZN7android4base10LogMessageD1Ev+456)
#05 pc 0000000000171b07 /system/lib/libart.so
(_ZN3art2gc9collector17ConcurrentCopying17PushOntoMarkStackEPNS_
6mirror6ObjectE+574)
#06 pc 00000000001762a5 /system/lib/libart.so
(_ZN3art2gc9collector17ConcurrentCopying4CopyEPNS_
6mirror6ObjectES5_NS_12MemberOffsetE+2524)
#07 pc 00000000000a9ea3 /system/lib/libart.so
(_ZN3art11ReadBarrier4MarkEPNS_6mirror6ObjectE+610)
#08 pc 00000000002dbfc7 /system/lib/libart.so
(_ZN3artL9Field_getEP7_JNIEnvP8_jobjectS3_+694)
#09 pc 0000000000250fa5 /system/framework/arm/boot.oat
(java.lang.Class.getDeclaredConstructorInternal [DEDUPED]+92)
#10 pc 000000000000297b /dev/ashmem/dalvik-jit-code-cache (deleted)
Setting the minifyEnabled to false in android/app/build.gradle fixed it for me.
It only crashes when the app is downloaded from Google Play while in Debug mode works fine.

Native crash? Android 6.0 crash makes no sense

I recently updated my app to target SDK 27, before that it used to be 23.
And since I updated app I am getting the following error on GooglePlayConsole.
I did some research and from my understanding its native crash, but not much info on those and whats causing them or what they really are.
What are these native crashes and in my case what causes this crash? It makes no sense to me at all
backtrace:
#00 pc 00000000001fcd2c /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb1EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+1827)
#01 pc 0000000000200791 /system/lib/libart.so (_ZN3art11interpreterL8DoInvokeILNS_10InvokeTypeE4ELb0ELb1EEEbPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+760)
#02 pc 00000000000b035d /system/lib/libart.so (_ZN3art11interpreter15ExecuteGotoImplILb1ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_+25796)
#03 pc 00000000001e268d /system/lib/libart.so (artInterpreterToInterpreterBridge+312)
#04 pc 00000000001fc221 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+332)
#05 pc 00000000000c0ee7 /system/lib/libart.so (_ZN3art11interpreter15ExecuteGotoImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_+26126)
#06 pc 00000000001e25cd /system/lib/libart.so (artInterpreterToInterpreterBridge+120)
#07 pc 00000000001fc221 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+332)
#08 pc 00000000000c0b13 /system/lib/libart.so (_ZN3art11interpreter15ExecuteGotoImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_+25146)
#09 pc 00000000001e25cd /system/lib/libart.so (artInterpreterToInterpreterBridge+120)
#10 pc 00000000001fc221 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+332)
#11 pc 00000000000c0b13 /system/lib/libart.so (_ZN3art11interpreter15ExecuteGotoImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_+25146)
#12 pc 00000000001e25cd /system/lib/libart.so (artInterpreterToInterpreterBridge+120)
#13 pc 00000000001fc221 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+332)
#14 pc 00000000000c0b13 /system/lib/libart.so (_ZN3art11interpreter15ExecuteGotoImplILb0ELb0EEENS_6JValueEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameES2_+25146)
#15 pc 00000000001e23a5 /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+84)
#16 pc 00000000003e860b /system/lib/libart.so (artQuickToInterpreterBridge+546)
#17 pc 00000000000eaef3 /system/lib/libart.so (art_quick_to_interpreter_bridge+34)
#18 pc 00000000000e6781 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#19 pc 00000000003e9fb7 /system/lib/libart.so (art_quick_invoke_stub+170)
#20 pc 00000000000fb734 [stack:8757]
Without knowing your dependencies is hard to know, but keep in mind, since nougat (SDK 26), the native libraries are treated differently:
https://developer.android.com/about/versions/nougat/android-7.0-changes.html#ndk
So, check your dependencies, find the ones using native code, and see if they were updated to support nougat's changes.

Native Crash in /system/lib/libart.so art::gc::collector on Android 6.0

I get reports of these crashes from users of my app on Android 6.0 devices. The crash stack doesn't contain any keywords of my source code. I can't determined what caused the problem and don't know what to do. What's wrong with it? :(
SIGSEGV(SEGV_MAPERR):
#00 pc 0018b7fc /system/lib/libart.so (art::gc::collector::ConcurrentCopying::FillWithDummyObject(art::mirror::Object*, unsigned int)+1195) [armeabi-v7a::bd556bcd01d8c215f5cd133343e0a883]
#01 pc 0018ba89 /system/lib/libart.so (art::gc::collector::MarkSweep::ProcessMarkStack(bool)+100) [armeabi-v7a::bd556bcd01d8c215f5cd133343e0a883]
java:
java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:386)
java.lang.Thread.run(Thread.java:818)
SIGSEGV(SEGV_MAPERR):
#00 pc 001976fc /system/lib/libart.so (art::gc::collector::ConcurrentCopying::Copy(art::mirror::Object*)+923) [armeabi-v7a::44966e008bb1c7f64243a7db7f321398]
#01 pc 001979a1 /system/lib/libart.so (art::gc::collector::MarkSweep::ProcessMarkStack(bool)+112) [armeabi-v7a::44966e008bb1c7f64243a7db7f321398]
……
#55 pc 001979a1 /system/lib/libart.so (art::gc::collector::MarkSweep::ProcessMarkStack(bool)+112) [armeabi-v7a::44966e008bb1c7f64243a7db7f321398]
#56 pc 001979a1 /system/lib/libart.so (_ZN3art2gc9collec

Categories

Resources