Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5798] Android: Native crashes (tgkill) originating from /lib/arm64/libkroll-v8.so

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDone
Resolution Date2018-09-07T09:01:46.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterMuhammad Ahmed Fahad
AssigneeShak Hossain
Created2018-07-11T09:06:45.000+0000
Updated2018-09-07T09:01:47.000+0000

Description

Example 1)

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Xiaomi MI 5s Plus (natrium), Android 7.0
Report 1

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> spacious.home <<<

backtrace:
  #00  pc 0000000000429f54  /system/lib64/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+112)
  #01  pc 00000000003325b0  /system/lib64/libart.so (_ZN3art3JNI15CallVoidMethodAEP7_JNIEnvP8_jobjectP10_jmethodIDP6jvalue+608)
  #02  pc 00000000005181dc  /data/app/spacious.home-1/lib/arm64/libkroll-v8.so

Example 2:
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)

_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue


LG K10 (2017) (mlv5n)	1	100.0%
Today, 10:36 on app version 217
LGE LG K10 (2017) (mlv5n), Android 7.0
Report 1 of 1
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> xxxxx.xxxxx <<<

backtrace:
  #00  pc 0000000000313aba  /system/lib/libart.so (_ZN3art35InvokeVirtualOrInterfaceWithJValuesERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDP6jvalue+61)
  #01  pc 00000000002640e5  /system/lib/libart.so (_ZN3art3JNI18CallBooleanMethodAEP7_JNIEnvP8_jobjectP10_jmethodIDP6jvalue+444)
  #02  pc 00000000003fac57  /data/app/xxxxx.xxxxx-1/lib/arm/libkroll-v8.so (_ZN8titanium10KrollProxy18_fireEventToParentERKN2v820FunctionCallbackInfoINS1_5ValueEEE+326)
Example 3:
tgkill

Samsung Galaxy On7(2016) (on7xltechn), Android 7.0
Report 1 of 1
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> xxxxx.xxxxx <<<

backtrace:
  #00  pc 000000000006c5b4  /system/lib64/libc.so (tgkill+8)
  #01  pc 0000000000069a38  /system/lib64/libc.so (pthread_kill+64)
  #02  pc 0000000000024a00  /system/lib64/libc.so (raise+24)
  #03  pc 000000000001cdac  /system/lib64/libc.so (abort+52)
  #04  pc 000000000042ecfc  /system/lib64/libart.so (_ZN3art7Runtime5AbortEv+352)
  #05  pc 00000000000e4fa4  /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1204)
  #06  pc 00000000002edcac  /system/lib64/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+2172)
  #07  pc 00000000002ee070  /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+184)
  #08  pc 000000000034a3a4  /system/lib64/libart.so (_ZN3art3JNI14GetArrayLengthEP7_JNIEnvP7_jarray+680)
  #09  pc 00000000004efe60  /data/app/xxxxx.xxxxx-1/lib/arm64/libkroll-v8.so

Comments

  1. Muhammad Ahmed Fahad 2018-07-11

    cannot reproduce the issue, but a lot of these errors caught/detected on the Android Vitals dashboard on the Google Play Console.
  2. Sharif AbuDarda 2018-07-12

    Without any reproducible test code, we can't verify the issue.
  3. Gary Mathews 2018-09-06

    [~fahad86] Do you still receive these errors when using 7.3.1 ?
  4. Muhammad Ahmed Fahad 2018-09-07

    Hi Gary. Not seeing these errors happen anymore! Thanks for the great work! Regards

JSON Source