Project

General

Profile

Emulator Issues #11903

Error on Android 10 with emui 11 the application close automatically

Added by Cesarcadavidt about 2 months ago. Updated about 2 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Android
Issue type:
Bug
Milestone:
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
5.0-10879
Fixed in:
5.0-11311

Description


Build fingerprint: 'Xiaomi/cepheus_eea/cepheus:10/QKQ1.190825.002/V11.0.5.0.QFAEUXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2019-11-24 14:06:39-0500
pid: 9762, tid: 9791, name: Thread-7 >>> org.dolphinemu.dolphinemu <<<
uid: 10322
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'Throwing new exception 'Attempt to invoke virtual method 'java.util.HashMap android.hardware.usb.UsbManager.getDeviceList()' on a null object reference' with unexpected pending exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.HashMap android.hardware.usb.UsbManager.getDeviceList()' on a null object reference
at boolean org.dolphinemu.dolphinemu.utils.Java_GCAdapter.QueryAdapter() (Java_GCAdapter.java:73)
'
x0 0000000000000000 x1 000000000000263f x2 0000000000000006 x3 00000075405cacb0
x4 fefeff752eeddf97 x5 fefeff752eeddf97 x6 fefeff752eeddf97 x7 7f7f7f7f7fffffff
x8 00000000000000f0 x9 c120c4226fe2ab3c x10 0000000000000001 x11 0000000000000000
x12 fffffff0fffffbdf x13 ffffffffffffffff x14 0000000000000004 x15 ffffffffffffffff
x16 000000763096c738 x17 000000763094ad20 x18 000000754023c000 x19 0000000000002622
x20 000000000000263f x21 00000000ffffffff x22 000000753d904a00 x23 00000075ad31f1ce
x24 00000075ad2ff267 x25 00000075ad83b000 x26 00000075ad13c258 x27 00000075ad83b000
x28 0000000000000043 x29 00000075405cad50
sp 00000075405cac90 lr 00000076308fc404 pc 00000076308fc430

backtrace:
#00 pc 0000000000073430 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 084c8a81b8c78e19cd9a1ff6208e77cf)
#01 pc 00000000004b842c /apex/com.android.runtime/lib64/libart.so (art::Runtime::Abort(char const*)+2280) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#02 pc 000000000000b458 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+580) (BuildId: 36cd125456a5320dd3dcb8cfbd889a1a)
#03 pc 00000000004fe628 /apex/com.android.runtime/lib64/libart.so (art::Thread::AssertNoPendingExceptionForNewException(char const*) const+1184) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#04 pc 00000000005024c4 /apex/com.android.runtime/lib64/libart.so (art::Thread::ThrowNewException(char const*, char const*)+32) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#05 pc 000000000019f1ec /apex/com.android.runtime/lib64/libart.so (ZN3artL14ThrowExceptionEPKcNS_6ObjPtrINS_6mirror5ClassEEES1_PSt9va_list.llvm.8767568756559114852+392) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#06 pc 00000000001a232c /apex/com.android.runtime/lib64/libart.so (_ZN3artL44ThrowNullPointerExceptionForMethodAccessImplEjRKNS_7DexFileENS_10InvokeTypeE.llvm.8767568756559114852+364) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#07 pc 00000000001a28f4 /apex/com.android.runtime/lib64/libart.so (art::ThrowNullPointerExceptionFromDexPC(bool, unsigned long)+1268) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#08 pc 00000000005a62c8 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtualQuick+1604) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#09 pc 0000000000134594 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual_quick+20) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#10 pc 000000000025e35e /data/app/org.dolphinemu.dolphinemu-WB_SedUkwYEcBdlV1aFGiw==/oat/arm64/base.vdex (org.dolphinemu.dolphinemu.utils.Java_GCAdapter.QueryAdapter+4)
#11 pc 00000000002b3b10 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.4832201456133535214+240) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#12 pc 00000000005912e8 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#13 pc 000000000013f468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#14 pc 00000000001365b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#15 pc 000000000014500c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#16 pc 00000000004afcec /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#17 pc 00000000004af8dc /apex/com.android.runtime/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::
va_list)+408) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#18 pc 00000000003af550 /apex/com.android.runtime/lib64/libart.so (art::JNI::CallStaticBooleanMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::
va_list)+624) (BuildId: 87190d4379a416ca2fb088af1ea5884e)
#19 pc 00000000000d5cac /data/app/org.dolphinemu.dolphinemu-WB_SedUkwYEcBdlV1aFGiw==/lib/arm64/libmain.so (BuildId: d196aed669491b20f070909ad084616cbd0a528c)
#20 pc 000000000034f670 /data/app/org.dolphinemu.dolphinemu-WB_SedUkwYEcBdlV1aFGiw==/lib/arm64/libmain.so (BuildId: d196aed669491b20f070909ad084616cbd0a528c)
#21 pc 00000000000d615c /data/app/org.dolphinemu.dolphinemu-WB_SedUkwYEcBdlV1aFGiw==/lib/arm64/libmain.so (BuildId: d196aed669491b20f070909ad084616cbd0a528c)
#22 pc 00000000000d6cb0 /apex/com.android.runtime/lib64/bionic/libc.so (
pthread_start(void*)+36) (BuildId: 084c8a81b8c78e19cd9a1ff6208e77cf)
#23 pc 0000000000074eac /apex/com.android.runtime/lib64/bionic/libc.so (
_start_thread+64) (BuildId: 084c8a81b8c78e19cd9a1ff6208e77cf)

History

#1 Updated by Cesarcadavidt about 2 months ago

Sorry the operative system is Miui 11.0.5 not is EMUI as I said in the title.

Best regards

#2 Updated by JosJuice about 2 months ago

  • Regression start set to 5.0-10879
  • Regression changed from No to Yes
  • Status changed from New to Fix pending

Thanks for the stack trace (or rather the abort message I guess), it made the issue easy to track down. A fix is available here: https://github.com/dolphin-emu/dolphin/pull/8491

#3 Updated by JosJuice about 2 months ago

  • Operating system Android added
  • Operating system deleted (N/A)

#4 Updated by JosJuice about 2 months ago

  • Fixed in set to 5.0-11311
  • Status changed from Fix pending to Fixed

Also available in: Atom PDF