Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libart issue after QPR2 merge - Apps crash on startup (signal 6 (SIGABRT), code -1 (SI_QUEUE)) #364

Closed
5 tasks done
netsplitz opened this issue Apr 11, 2024 · 1 comment
Closed
5 tasks done
Labels
bug Something isn't working needs-triage labled for new issues in order to confirm viewed and directed properly

Comments

@netsplitz
Copy link

netsplitz commented Apr 11, 2024

Issue type

Source code related

Device

Tested on Poco F2 (lmi) and OnePlus 7 Pro (guacamole)

crDroid version

crDroid 14

Exact version / Build date

[crDroidAndroid-14.0-20240405-lmi-v10.3.zip]
[crDroidAndroid-14.0-20240406-guacamole-v10.4.zip]
[crDroidAndroid-14.0-20240408-guacamole-v10.4.zip

Bug description

Apps crash on startup
com.gateio.gateio
com.mexcpro.client

Steps to reproduce

Instsall app, start app

Relevant log (logcat/build log)

type: crash
osVersion: google/panther/panther:14/AP1A.240305.019.A1/2024030900:user/release-keys
package: com.gateio.gateio:51502
process: com.gateio.gateio
processUptime: 0 + 0 ms
installer: com.android.vending

signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------

backtrace:
#00 pc 0000000000064e84 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: a8cd74908de1830f20f574f8d622db82)
#01 pc 000000000003069c /data/app/~~gJMuNsuKWufr0zlEa-IoBw==/com.gateio.gateio-nSnQTSGSfTN1AnmXxQL3Gw==/lib/arm64/libDexHelper.so (BuildId: d00c5ff7dbd9de67080d4b4b1822cb6d0a6ec107)
#02 pc 0000000000030234 /data/app/~~gJMuNsuKWufr0zlEa-IoBw==/com.gateio.gateio-nSnQTSGSfTN1AnmXxQL3Gw==/lib/arm64/libDexHelper.so (DexFileLoader::Load()+168) (BuildId: d00c5ff7dbd9de67080d4b4b1822cb6d0a6ec107)
#03 pc 000000000004091c /data/app/~~gJMuNsuKWufr0zlEa-IoBw==/com.gateio.gateio-nSnQTSGSfTN1AnmXxQL3Gw==/lib/arm64/libDexHelper.so (BuildId: d00c5ff7dbd9de67080d4b4b1822cb6d0a6ec107)
#04 pc 0000000000039da8 /data/app/~~gJMuNsuKWufr0zlEa-IoBw==/com.gateio.gateio-nSnQTSGSfTN1AnmXxQL3Gw==/lib/arm64/libDexHelper.so (JNI_OnLoad+4064) (BuildId: d00c5ff7dbd9de67080d4b4b1822cb6d0a6ec107)
#06 pc 00000000000062cc /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+364) (BuildId: 67d5b29aaefbe742ab01f3d34fa2d632)
#07 pc 00000000000958b8 /system/framework/arm64/boot.oat (art_jni_trampoline+152) (BuildId: 115665d46c23f11ae2b45208989adc7de47f6b73)
#08 pc 00000000000a45d0 /system/framework/arm64/boot.oat (java.lang.Runtime.loadLibrary0+320) (BuildId: 115665d46c23f11ae2b45208989adc7de47f6b73)
#09 pc 00000000000a54dc /system/framework/arm64/boot.oat (java.lang.Runtime.loadLibrary0+412) (BuildId: 115665d46c23f11ae2b45208989adc7de47f6b73)
#10 pc 0000000001df4e98 /data/app/~~gJMuNsuKWufr0zlEa-IoBw==/com.gateio.gateio-nSnQTSGSfTN1AnmXxQL3Gw==/oat/arm64/base.odex (com.secneo.apkwrapper.AW.attachBaseContext+184)
#11 pc 000000000023666c /system/framework/arm64/boot-framework.oat (android.app.Instrumentation.newApplication+172) (BuildId: 5f8538f1db44fe72a555268e708c75e80f6f81f9)
#12 pc 000000000023d7e4 /system/framework/arm64/boot-framework.oat (android.app.LoadedApk.makeApplicationInner+1700) (BuildId: 5f8538f1db44fe72a555268e708c75e80f6f81f9)
#13 pc 00000000002f8918 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.handleBindApplication+4760) (BuildId: 5f8538f1db44fe72a555268e708c75e80f6f81f9)
#14 pc 00000000002f29ac /system/framework/arm64/boot-framework.oat (android.app.ActivityThread$H.handleMessage+7676) (BuildId: 5f8538f1db44fe72a555268e708c75e80f6f81f9)
#15 pc 0000000000535f78 /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+152) (BuildId: 5f8538f1db44fe72a555268e708c75e80f6f81f9)
#16 pc 0000000000538fe4 /system/framework/arm64/boot-framework.oat (android.os.Looper.loopOnce+980) (BuildId: 5f8538f1db44fe72a555268e708c75e80f6f81f9)
#17 pc 0000000000538b94 /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+244) (BuildId: 5f8538f1db44fe72a555268e708c75e80f6f81f9)
#18 pc 0000000000301c48 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread.main+1560) (BuildId: 5f8538f1db44fe72a555268e708c75e80f6f81f9)
#19 pc 00000000003e2040 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: e2d4c7ae9fa225f36a825be113720b47)
#20 pc 0000000000413800 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+704) (BuildId: e2d4c7ae9fa225f36a825be113720b47)
#21 pc 0000000000413530 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+32) (BuildId: e2d4c7ae9fa225f36a825be113720b47)
#22 pc 000000000009ad28 /system/framework/arm64/boot.oat (art_jni_trampoline+120) (BuildId: 115665d46c23f11ae2b45208989adc7de47f6b73)
#23 pc 00000000006f9aa4 /system/framework/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+116) (BuildId: 5f8538f1db44fe72a555268e708c75e80f6f81f9)
#24 pc 00000000006e7394 /apex/com.android.art/lib64/libart.so (nterp_helper+7636) (BuildId: e2d4c7ae9fa225f36a825be113720b47)
#25 pc 000000000050f0f0 /system/framework/framework.jar (com.android.internal.os.ExecInit.main+88)
#26 pc 00000000003e2040 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: e2d4c7ae9fa225f36a825be113720b47)
#27 pc 00000000006a410c /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+476) (BuildId: e2d4c7ae9fa225f36a825be113720b47)
#28 pc 00000000000d79b8 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+104) (BuildId: f0b54f975e05f839d33bf9b07a3b87c8)
#29 pc 00000000000e00a0 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::callMain(android::String8 const&, _jclass*, android::Vector<android::String8> const&)+336) (BuildId: f0b54f975e05f839d33bf9b07a3b87c8)
#30 pc 00000000000029a4 /system/bin/app_process64 (android::AppRuntime::onStarted()+68) (BuildId: b2cbd9513eee473d7fc1bd8a28fbb13c)
#31 pc 00000000001ef27c /system/framework/arm64/boot-framework.oat (art_jni_trampoline+108) (BuildId: 5f8538f1db44fe72a555268e708c75e80f6f81f9)
#32 pc 00000000006e5658 /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: e2d4c7ae9fa225f36a825be113720b47)
#33 pc 000000000051d90c /system/framework/framework.jar (com.android.internal.os.RuntimeInit.main+48)
#34 pc 00000000003e2040 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: e2d4c7ae9fa225f36a825be113720b47)
#35 pc 00000000006a410c /apex/com.android.art/lib64/libart.so (art::JNI<false>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+476) (BuildId: e2d4c7ae9fa225f36a825be113720b47)
#36 pc 00000000000d79b8 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+104) (BuildId: f0b54f975e05f839d33bf9b07a3b87c8)
#37 pc 00000000000e3a6c /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+844) (BuildId: f0b54f975e05f839d33bf9b07a3b87c8)
#38 pc 00000000000025b0 /system/bin/app_process64 (main+1232) (BuildId: b2cbd9513eee473d7fc1bd8a28fbb13c)
#39 pc 000000000005c068 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+104) (BuildId: a8cd74908de1830f20f574f8d622db82)

Screenshots or videos

No response

Solution

GrapheneOS team has already identified a problem in the new libart

GrapheneOS/platform_art#16
GrapheneOS/platform_art@97192fa

Additional context

No response

Acknowledgements

  • I've checked device is officially supported (for device specific reports and not source related).
  • I'm running latest version available on crdroid.net for this device
  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly.
@netsplitz netsplitz added bug Something isn't working needs-triage labled for new issues in order to confirm viewed and directed properly labels Apr 11, 2024
@netsplitz netsplitz changed the title libart issue after QPR2 merge (signal 6 (SIGABRT), code -1 (SI_QUEUE)) on certain apps libart issue after QPR2 merge - Apps crash on startup (signal 6 (SIGABRT), code -1 (SI_QUEUE)) Apr 11, 2024
joeyhuab pushed a commit to Evolution-X/art that referenced this issue Apr 11, 2024
This reverts commit c7f5eb7.

Fixes: crdroidandroid/issue_tracker#364
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
RealJohnGalt pushed a commit to yaap/art that referenced this issue Apr 11, 2024
This reverts commit c7f5eb7.

Fixes: crdroidandroid/issue_tracker#364
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
@netsplitz
Copy link
Author

Tested crashing app issue resolved in crDroidAndroid-14.0-20240412-guacamole-v10.4.zip

Thanks @neobuddy89

someone5678 pushed a commit to TheParasiteProject/art that referenced this issue Apr 24, 2024
This reverts commit c7f5eb7.

Fixes: crdroidandroid/issue_tracker#364
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
hungphan2001 pushed a commit to CherishOS/android_art that referenced this issue May 2, 2024
This reverts commit c7f5eb7.

Fixes: crdroidandroid/issue_tracker#364
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
hzosprj pushed a commit to hzosprj/android_art that referenced this issue May 8, 2024
This reverts commit c7f5eb7.

Fixes: crdroidandroid/issue_tracker#364
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
xenxynon pushed a commit to xenxynon/manifestt that referenced this issue May 13, 2024
This reverts commit c7f5eb7.

Fixes: crdroidandroid/issue_tracker#364
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage labled for new issues in order to confirm viewed and directed properly
Projects
None yet
Development

No branches or pull requests

1 participant