On a Windows XP system, using Eclipse 3.5, JDK 1.6.24, and the Android R10 SDK.
Like a number of others, I'm unable to get the emulator to load the home page, but this is happening only for the 2.2 image. I am able to get the emulator fully loaded and running with 2.3. I've tried waiting for a long period of time (I think 2 hours is more than enough), killing and restarting the adb server, etc.
The emulator is stuck in a reboot loop caused by the serverthread throwing a SIGSTKFLT signal. This is a signal that's not actually used by current versions of Linux but is sometimes thrown by app's to signal an application error. Unfortunately, there's no specific error message (at least that I can find) to indicate why the signal is being thrown. The pertinent part of the logcat is:
I/dalvikvm( 54): "android.server.ServerThread" prio=5 tid=7 RUNNABLE
I/dalvikvm( 54): | group="main" sCount=0 dsCount=0 s=N obj=0x43e31da0 self=0x11c9a8
I/dalvikvm( 54): | sysTid=69 nice=-2 sched=0/0 cgrp=default handle=1139800
I/dalvikvm( 54): | schedstat=( 62983168741 24276655402 1105 )
I/dalvikvm( 54): at java.lang.String.<init>(String.java:~468)
I/dalvikvm( 54): at java.util.jar.InitManifest.readValue(InitManifest.java:205)
I/dalvikvm( 54): at java.util.jar.InitManifest.readHeader(InitManifest.java:117)
I/dalvikvm( 54): at java.util.jar.InitManifest.initEntries(InitManifest.java:75)
I/dalvikvm( 54): at java.util.jar.JarVerifier.verifyCertificate(JarVerifier.java:329)
I/dalvikvm( 54): at java.util.jar.JarVerifier.readCertificates(JarVerifier.java:272)
I/dalvikvm( 54): at java.util.jar.JarFile.getInputStream(JarFile.java:392)
I/dalvikvm( 54): at android.content.pm.PackageParser.loadCertificates(PackageParser.java:337)
I/dalvikvm( 54): at android.content.pm.PackageParser.collectCertificates(PackageParser.java:480)
I/dalvikvm( 54): at com.android.server.PackageManagerService.collectCertificatesLI(PackageManagerService.java:2535)
I/dalvikvm( 54): at com.android.server.PackageManagerService.scanPackageLI(PackageManagerService.java:2621)
I/dalvikvm( 54): at com.android.server.PackageManagerService.scanDirLI(PackageManagerService.java:2479)
I/dalvikvm( 54): at com.android.server.PackageManagerService.<init>(PackageManagerService.java:920)
I/dalvikvm( 54): at com.android.server.PackageManagerService.main(PackageManagerService.java:681)
I/dalvikvm( 54): at com.android.server.ServerThread.run(SystemServer.java:122)
I/dalvikvm( 54):
I/dalvikvm( 54): "Binder Thread #2" prio=5 tid=6 NATIVE
I/dalvikvm( 54): | group="main" sCount=1 dsCount=0 s=N obj=0x43e31a50 self=0x12fc60
I/dalvikvm( 54): | sysTid=60 nice=0 sched=0/0 cgrp=default handle=1294704
I/dalvikvm( 54): | schedstat=( 1000041725 990947204 173 )
I/dalvikvm( 54): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 54):
I/dalvikvm( 54): "Binder Thread #1" prio=5 tid=5 NATIVE
I/dalvikvm( 54): | group="main" sCount=1 dsCount=0 s=N obj=0x43e2f3b8 self=0x11ce48
I/dalvikvm( 54): | sysTid=59 nice=0 sched=0/0 cgrp=default handle=1165432
I/dalvikvm( 54): | schedstat=( 991350956 356395337 175 )
I/dalvikvm( 54): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 54):
I/dalvikvm( 54): "JDWP" daemon prio=5 tid=4 VMWAIT
I/dalvikvm( 54): | group="system" sCount=1 dsCount=0 s=N obj=0x43e2e2a0 self=0x11c5e0
I/dalvikvm( 54): | sysTid=58 nice=0 sched=0/0 cgrp=default handle=1146120
I/dalvikvm( 54): | schedstat=( 9625246 195868748 7 )
I/dalvikvm( 54): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 54):
I/dalvikvm( 54): "Signal Catcher" daemon prio=5 tid=3 VMWAIT
I/dalvikvm( 54): | group="system" sCount=1 dsCount=0 s=N obj=0x43e2e1e8 self=0x117b18
I/dalvikvm( 54): | sysTid=57 nice=0 sched=0/0 cgrp=default handle=1145544
I/dalvikvm( 54): | schedstat=( 4465371 1466668 2 )
I/dalvikvm( 54): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 54):
I/dalvikvm( 54): "HeapWorker" daemon prio=5 tid=2 VMWAIT
I/dalvikvm( 54): | group="system" sCount=1 dsCount=0 s=N obj=0x4306e1e8 self=0x1178d8
I/dalvikvm( 54): | sysTid=55 nice=0 sched=0/0 cgrp=default handle=1232848
I/dalvikvm( 54): | schedstat=( 3618171309 20811992594 393 )
I/dalvikvm( 54): at com.android.internal.os.BinderInternal$GcWatcher.finalize(BinderInternal.java:~48)
I/dalvikvm( 54): at dalvik.system.NativeStart.run(Native Method)
I/dalvikvm( 54):
D/dalvikvm( 54): threadid=7: sending two SIGSTKFLTs to threadid=2 (tid=55) to cause debuggerd dump
W/SharedBufferStack( 68): waitForCondition(DequeueCondition) timed out (identity=0, status=0). CPU may be pegged. trying again.
I/DEBUG ( 31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
D/dalvikvm( 54): Sent, pausing to let debuggerd run
I/DEBUG ( 31): Build fingerprint: 'generic/sdk/generic/:2.2/FRF91/43546:eng/test-keys'
I/DEBUG ( 31): pid: 54, tid: 55 >>> system_server <<<
I/DEBUG ( 31): signal 16 (SIGSTKFLT), fault addr 00000036
I/DEBUG ( 31): r0 fffffe00 r1 00000080 r2 00000002 r3 00000000
I/DEBUG ( 31): r4 80888fe8 r5 00000002 r6 00000000 r7 000000f0
I/DEBUG ( 31): r8 00000001 r9 400091e8 10 80888c90 fp 001361b8
I/DEBUG ( 31): ip 80888098 sp 100ffcd8 lr afd10530 pc afd0eb08 cpsr 80000010
I/DEBUG ( 31): #00 pc 0000eb08 /system/lib/libc.so
I/DEBUG ( 31): #01 pc 0001052c /system/lib/libc.so
I/DEBUG ( 31): #02 pc 0001b77c /system/lib/libdvm.so
I/DEBUG ( 31): #03 pc 0001bc20 /system/lib/libdvm.so
I/DEBUG ( 31): #04 pc 00048ece /system/lib/libdvm.so
I/DEBUG ( 31): #05 pc 000143ac /system/lib/libdvm.so
I/DEBUG ( 31): #06 pc 0001e8c4 /system/lib/libdvm.so
I/DEBUG ( 31): #07 pc 0001d790 /system/lib/libdvm.so
I/DEBUG ( 31): #08 pc 00053eec /system/lib/libdvm.so
I/DEBUG ( 31): #09 pc 00054102 /system/lib/libdvm.so
I/DEBUG ( 31): #10 pc 0004a550 /system/lib/libdvm.so
I/DEBUG ( 31): #11 pc 0004a5ea /system/lib/libdvm.so
I/DEBUG ( 31): #12 pc 0004aada /system/lib/libdvm.so
I/DEBUG ( 31): #13 pc 00048174 /system/lib/libdvm.so
I/DEBUG ( 31): #14 pc 0001103c /system/lib/libc.so
I/DEBUG ( 31): #15 pc 00010b20 /system/lib/libc.so
I/DEBUG ( 31):
I/DEBUG ( 31): code around pc:
I/DEBUG ( 31): afd0eae8 0afffff7 e8bd4010 e12fff1e e1010090
I/DEBUG ( 31): afd0eaf8 e12fff1e e92d0090 e3a070f0 ef000000
I/DEBUG ( 31): afd0eb08 e8bd0090 e12fff1e e92d0090 e1a03002
I/DEBUG ( 31): afd0eb18 e1a02001 e3a01000 e3a070f0 ef000000
I/DEBUG ( 31): afd0eb28 e8bd0090 e12fff1e e92d0090 e1a02001
I/DEBUG ( 31):
I/DEBUG ( 31): code around lr:
I/DEBUG ( 31): afd10510 e3500000 0a00000e e3560000 03a07080
I/DEBUG ( 31): afd10520 13a07000 e3865002 ea000000 ebfff986
I/DEBUG ( 31): afd10530 e1a01004 e1a00005 ebfff96d e1560000
I/DEBUG ( 31): afd10540 e1a01007 e1a00004 e1a02005 e3a03000
I/DEBUG ( 31): afd10550 1afffff5 e3a00000 e8bd87f0 e3a00016
I/DEBUG ( 31):
I/DEBUG ( 31): stack:
I/DEBUG ( 31): 100ffc98 100ffcf8
I/DEBUG ( 31): 100ffc9c 00000003
I/DEBUG ( 31): 100ffca0 423bbb71 /data/dalvik-cache/system#framework#framework.jar#classes.dex
I/DEBUG ( 31): 100ffca4 4103afa8
I/DEBUG ( 31): 100ffca8 100ffcd8
I/DEBUG ( 31): 100ffcac 4103afa0
I/DEBUG ( 31): 100ffcb0 4103af8c
I/DEBUG ( 31): 100ffcb4 afd34300 /system/lib/libc.so
I/DEBUG ( 31): 100ffcb8 100ffcc0
I/DEBUG ( 31): 100ffcbc a811ad81 /system/lib/libutils.so
I/DEBUG ( 31): 100ffcc0 000497bc [heap]
I/DEBUG ( 31): 100ffcc4 00000000
I/DEBUG ( 31): 100ffcc8 100ffcf8
I/DEBUG ( 31): 100ffccc ad33e4ef /system/lib/libandroid_runtime.so
I/DEBUG ( 31): 100ffcd0 df002777
I/DEBUG ( 31): 100ffcd4 e3a070ad
I/DEBUG ( 31): #00 100ffcd8 80888fe8 /system/lib/libdvm.so
I/DEBUG ( 31): 100ffcdc 00000080
I/DEBUG ( 31): #01 100ffce0 80888fe8 /system/lib/libdvm.so
I/DEBUG ( 31): 100ffce4 00000001
I/DEBUG ( 31): 100ffce8 001178d8 [heap]
I/DEBUG ( 31): 100ffcec 00000022
I/DEBUG ( 31): 100ffcf0 00000018
I/DEBUG ( 31): 100ffcf4 400091e8 /dev/ashmem/mspace/dalvik-heap/zygote/0 (deleted)
I/DEBUG ( 31): 100ffcf8 80888c90 /system/lib/libdvm.so
I/DEBUG ( 31): 100ffcfc 8081b780 /system/lib/libdvm.so
D/dalvikvm( 54): Continuing
E/dalvikvm( 54): VM aborting
I/ServiceManager( 28): service 'batteryinfo' died
I/ServiceManager( 28): service 'entropy' died
I/ServiceManager( 28): service 'SurfaceFlinger' died
I/ServiceManager( 28): service 'usagestats' died
I/ServiceManager( 28): service 'power' died
I/ServiceManager( 28): service 'telephony.registry' died
D/BootAnimation( 68): SurfaceFlinger died, exiting...
I/DEBUG ( 31): debuggerd committing suicide to free the zombie!
D/Zygote ( 33): Process 54 terminated by signal (11)
I/Zygote ( 33): Exit zygote because system server (54) has terminated
E/installd( 35): eof
E/installd( 35): failed to read size
I/installd( 35): closing connection
I/ServiceManager( 28): service 'media.audio_flinger' died
I/ServiceManager( 28): service 'media.player' died
I/ServiceManager( 28): service 'media.camera' died
I/ServiceManager( 28): service 'media.audio_policy' died
I/ ( 80): ServiceManager: 0xacd0
D/AudioHardwareInterface( 80): setMode(NORMAL)
I/DEBUG ( 81): debuggerd: Jun 30 2010 13:59:20
D/AndroidRuntime( 82):
D/AndroidRuntime( 82): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 82): CheckJNI is ON
D/AndroidRuntime( 82): --- registering native functions ---
And then the whole thing runs through in an infinite loop of start/fault/dump/restart.
I don't think this is a showstopper for me as I can target in 2.2 and run 2.3 in the emulator till it's time to load on a real 2.2 device. But it's something of an annoyance.
UPDATE
I was able to partially load froyo outside of eclipse using the command line. Starting it with "emulator #froyo -no-boot-anim -logcat '*:v'" it loaded as far as showing the top bar with the battery indicator. Omitting the logcat switch it started as far as showing the background before crashing. This looks more and more like a timing issue.
This is also now just happening on a laptop. When installed on one of my desktops Froyo comes up and is working. Both have the same speed CPU, but the laptop is a P4 2.2ghz with 1G memory and the desktop is a dual Xeon 2.2 with 2Gb memory. Both have similar application and service loads.
Related
I made a Unity 2022 project that uses ECS 1.0 which works fine in the editor and on the Rift S, but when I build it for the Quest 2 it crashes. If I switch to Mono it works. I had the same issue with 0.51.1.
This is my error log:
(*** Edit Unfortunately I didn't have debug loging setup properly and so not all of the symbols came through in my logcat, notice all of the (BuildId: 95c44e0c0e9046bc) and (Native Method) further down... ***)
2022/10/03 Error CRASH *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022/10/03 Error CRASH Version '2022.2.0b9 (57355023f65f)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
2022/10/03 Error CRASH Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/44041400838600000:user/release-keys'
2022/10/03 Error CRASH Revision: '0'
2022/10/03 Error CRASH ABI: 'arm64'
2022/10/03 Error CRASH Timestamp: 2022-10-03 22:23:31.119674847-0700
2022/10/03 Error CRASH pid: 32326, tid: 32349, name: UnityMain >>> com.davidhopetech.DOTS1Test <<<
2022/10/03 Error CRASH uid: 10088
2022/10/03 Error CRASH signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
2022/10/03 Error CRASH x0 000000a250461a58 x1 0000007293b02d70 x2 0000007290896fc0 x3 000000000000000c
2022/10/03 Error CRASH x4 00000072e8778c11 x5 0000007313e45118 x6 214e494253544f44 x7 214e494253544f44
2022/10/03 Error CRASH x8 0000000000000001 x9 00000072901dc030 x10 00000072901dc038 x11 00000073594ad3c0
2022/10/03 Error CRASH x12 411461b76d1cd77c x13 00000000633bc352 x14 000c0a461bb43800 x15 0000ff486053b314
2022/10/03 Error CRASH x16 0000007304cd6c70 x17 00000073ee73fec0 x18 00000072c01d3f48 x19 0000007313e538c0
2022/10/03 Error CRASH x20 000000a2504619c0 x21 0000007304d2d420 x22 0000007304ed9000 x23 0000007294ca99d8
2022/10/03 Error CRASH x24 0000000000000001 x25 00000073138f4840 x26 0000007301c82926 x27 0000000000000000
2022/10/03 Error CRASH x28 0000000000000000 x29 0000007304d2db00
2022/10/03 Error CRASH lr 00000073043b01f8 sp 0000007301142010 pc 000000730345e494 pst 0000000060001000
2022/10/03 Error CRASH
2022/10/03 Error CRASH backtrace:
2022/10/03 Error CRASH #00 pc 0000000002316494 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #01 pc 00000000032681f4 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #02 pc 0000000003268184 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #03 pc 00000000035f7cd8 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #04 pc 0000000003605a64 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #05 pc 0000000003605754 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #06 pc 0000000003606900 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #07 pc 0000000003245444 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #08 pc 0000000003240848 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #09 pc 0000000003245444 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #10 pc 0000000003240848 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #11 pc 0000000003245444 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #12 pc 0000000001bbbde0 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #13 pc 0000000001bbbd04 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error CRASH #14 pc 0000000000779724 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)+176) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error CRASH #15 pc 000000000078bb1c /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)+156) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error CRASH #16 pc 00000000005f9efc /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+272) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error CRASH #17 pc 00000000005f9e88 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+156) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error CRASH #18 pc 00000000005fa180 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (PlayerLoop()+324) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error CRASH #19 pc 000000000083a550 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (UnityPlayerLoop()+812) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error CRASH #20 pc 0000000000858c48 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (nativeRender(_JNIEnv*, _jobject*)+84) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error CRASH #21 pc 0000000000143950 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #22 pc 000000000013a934 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #23 pc 0000000000149640 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #24 pc 00000000002eb688 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #25 pc 00000000002e648c /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #26 pc 00000000005b1ac4 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+588) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #27 pc 0000000000134f14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #28 pc 00000000005b252c /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1156) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #29 pc 0000000000134f94 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #30 pc 00000000005b1174 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1752) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #31 pc 0000000000135014 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #32 pc 00000000005af900 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1456) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #33 pc 0000000000134e14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #34 pc 00000000005b252c /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1156) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #35 pc 0000000000134f94 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #36 pc 00000000002ba334 /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15113868601603930265)+264) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #37 pc 00000000005a10b0 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #38 pc 0000000000143a68 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #39 pc 000000000013a934 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #40 pc 0000000000149640 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #41 pc 00000000004be7c4 /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: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #42 pc 00000000004bf994 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #43 pc 00000000004ffd14 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1156) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error CRASH #44 pc 00000000000d5c44 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 74793b832f73c27f2be0922f70cc8e16)
2022/10/03 Error CRASH #45 pc 0000000000082fe4 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 74793b832f73c27f2be0922f70cc8e16)
2022/10/03 Error CRASH Tombstone written to: /storage/emulated/0/Android/data/com.davidhopetech.DOTS1Test/files/tombstone_01
0001/01/01 00:00:00.000 -1 -1 Info --------- beginning of crash
2022/10/03 Error AndroidRuntime FATAL EXCEPTION: UnityMain
2022/10/03 Error AndroidRuntime Process: com.davidhopetech.DOTS1Test, PID: 32326
2022/10/03 Error AndroidRuntime java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022/10/03 Error AndroidRuntime Version '2022.2.0b9 (57355023f65f)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
2022/10/03 Error AndroidRuntime Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/44041400838600000:user/release-keys'
2022/10/03 Error AndroidRuntime Revision: '0'
2022/10/03 Error AndroidRuntime ABI: 'arm64'
2022/10/03 Error AndroidRuntime Timestamp: 2022-10-03 22:23:31.119674847-0700
2022/10/03 Error AndroidRuntime pid: 32326, tid: 32349, name: UnityMain >>> com.davidhopetech.DOTS1Test <<<
2022/10/03 Error AndroidRuntime uid: 10088
2022/10/03 Error AndroidRuntime signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
2022/10/03 Error AndroidRuntime x0 000000a250461a58 x1 0000007293b02d70 x2 0000007290896fc0 x3 000000000000000c
2022/10/03 Error AndroidRuntime x4 00000072e8778c11 x5 0000007313e45118 x6 214e494253544f44 x7 214e494253544f44
2022/10/03 Error AndroidRuntime x8 0000000000000001 x9 00000072901dc030 x10 00000072901dc038 x11 00000073594ad3c0
2022/10/03 Error AndroidRuntime x12 411461b76d1cd77c x13 00000000633bc352 x14 000c0a461bb43800 x15 0000ff486053b314
2022/10/03 Error AndroidRuntime x16 0000007304cd6c70 x17 00000073ee73fec0 x18 00000072c01d3f48 x19 0000007313e538c0
2022/10/03 Error AndroidRuntime x20 000000a2504619c0 x21 0000007304d2d420 x22 0000007304ed9000 x23 0000007294ca99d8
2022/10/03 Error AndroidRuntime x24 0000000000000001 x25 00000073138f4840 x26 0000007301c82926 x27 0000000000000000
2022/10/03 Error AndroidRuntime x28 0000000000000000 x29 0000007304d2db00
2022/10/03 Error AndroidRuntime lr 00000073043b01f8 sp 0000007301142010 pc 000000730345e494 pst 0000000060001000
2022/10/03 Error AndroidRuntime
2022/10/03 Error AndroidRuntime backtrace:
2022/10/03 Error AndroidRuntime #00 pc 0000000002316494 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #01 pc 00000000032681f4 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #02 pc 0000000003268184 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #03 pc 00000000035f7cd8 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #04 pc 0000000003605a64 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #05 pc 0000000003605754 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #06 pc 0000000003606900 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #07 pc 0000000003245444 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #08 pc 0000000003240848 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #09 pc 0000000003245444 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #10 pc 0000000003240848 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #11 pc 0000000003245444 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #12 pc 0000000001bbbde0 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #13 pc 0000000001bbbd04 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libil2cpp.so (BuildId: 95c44e0c0e9046bc)
2022/10/03 Error AndroidRuntime #14 pc 0000000000779724 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)+176) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error AndroidRuntime #15 pc 000000000078bb1c /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)+156) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error AndroidRuntime #16 pc 00000000005f9efc /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+272) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error AndroidRuntime #17 pc 00000000005f9e88 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+156) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error AndroidRuntime #18 pc 00000000005fa180 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (PlayerLoop()+324) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error AndroidRuntime #19 pc 000000000083a550 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (UnityPlayerLoop()+812) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error AndroidRuntime #20 pc 0000000000858c48 /data/app/com.davidhopetech.DOTS1Test-xjIu-uc-4ZC6XGEXL8xFIQ==/lib/arm64/libunity.so (nativeRender(_JNIEnv*, _jobject*)+84) (BuildId: 3cb4cc3deefa59d5)
2022/10/03 Error AndroidRuntime #21 pc 0000000000143950 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #22 pc 000000000013a934 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #23 pc 0000000000149640 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #24 pc 00000000002eb688 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #25 pc 00000000002e648c /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #26 pc 00000000005b1ac4 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+588) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #27 pc 0000000000134f14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #28 pc 00000000005b252c /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1156) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #29 pc 0000000000134f94 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #30 pc 00000000005b1174 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1752) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #31 pc 0000000000135014 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #32 pc 00000000005af900 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1456) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #33 pc 0000000000134e14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #34 pc 00000000005b252c /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1156) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #35 pc 0000000000134f94 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #36 pc 00000000002ba334 /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15113868601603930265)+264) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #37 pc 00000000005a10b0 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #38 pc 0000000000143a68 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #39 pc 000000000013a934 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #40 pc 0000000000149640 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #41 pc 00000000004be7c4 /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: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #42 pc 00000000004bf994 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #43 pc 00000000004ffd14 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1156) (BuildId: 21503a17cc72c012bec3947a961f2d93)
2022/10/03 Error AndroidRuntime #44 pc 00000000000d5c44 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 74793b832f73c27f2be0922f70cc8e16)
2022/10/03 Error AndroidRuntime #45 pc 0000000000082fe4 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 74793b832f73c27f2be0922f70cc8e16)
2022/10/03 Error AndroidRuntime
2022/10/03 Error AndroidRuntime at libil2cpp.0x2316494(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x32681f4(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x3268184(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x35f7cd8(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x3605a64(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x3605754(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x3606900(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x3245444(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x3240848(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x3245444(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x3240848(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x3245444(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x1bbbde0(Native Method)
2022/10/03 Error AndroidRuntime at libil2cpp.0x1bbbd04(Native Method)
2022/10/03 Error AndroidRuntime at libunity.scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)(scripting_method_invoke:176)
2022/10/03 Error AndroidRuntime at libunity.ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)(Invoke:156)
2022/10/03 Error AndroidRuntime at libunity.ExecutePlayerLoop(NativePlayerLoopSystem*)(ExecutePlayerLoop:272)
2022/10/03 Error AndroidRuntime at libunity.ExecutePlayerLoop(NativePlayerLoopSystem*)(ExecutePlayerLoop:156)
2022/10/03 Error AndroidRuntime at libunity.PlayerLoop()(PlayerLoop:324)
2022/10/03 Error AndroidRuntime at libunity.UnityPlayerLoop()(UnityPlayerLoop:812)
2022/10/03 Error AndroidRuntime at libunity.nativeRender(_JNIEnv*, _jobject*)(nativeRender:84)
2022/10/03 Error AndroidRuntime at libart.art_quick_generic_jni_trampoline(art_quick_generic_jni_trampoline:144)
2022/10/03 Error AndroidRuntime at libart.art_quick_invoke_stub(art_quick_invoke_stub:548)
2022/10/03 Error AndroidRuntime at libart.art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)(Invoke:244)
2022/10/03 Error AndroidRuntime at libart.art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)(ArtInterpreterToCompiledCodeBridge:384)
2022/10/03 Error AndroidRuntime at libart.bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)(DoCall<false, false>:900)
2022/10/03 Error AndroidRuntime at libart.MterpInvokeDirect(MterpInvokeDirect:588)
2022/10/03 Error AndroidRuntime at libart.mterp_op_invoke_direct(mterp_op_invoke_direct:20)
2022/10/03 Error AndroidRuntime at libart.MterpInvokeStatic(MterpInvokeStatic:1156)
2022/10/03 Error AndroidRuntime at libart.mterp_op_invoke_static(mterp_op_invoke_static:20)
2022/10/03 Error AndroidRuntime at libart.MterpInvokeInterface(MterpInvokeInterface:1752)
2022/10/03 Error AndroidRuntime at libart.mterp_op_invoke_interface(mterp_op_invoke_interface:20)
2022/10/03 Debug ActivityLifecycleListener onActivityPaused
2022/10/03 Info OpenXR nativeOnActivityPaused
2022/10/03 Info Unity onPause
2022/10/03 Info Process Sending signal. PID: 32326 SIG: 9
I've been looking for a solution for about 4 days with little success.
Is it possible to build a Unity 2022 project with ECS 1.0 on the Quest 2 with scripting backend IL2CPP?
So, it turns out that there is a bug with IL2CPP builds that is causing the Quest 2 to crash with DOTS in Unity 2021.3.9+.
As far as I know right now you can not build a working build for the Quest 2 with IL2CPP and DOTS 1.0
Though this may be fixed on Unity 2022.0.0b11 and possibly regressed to older Unity versions.
So, hopefully in a few weeks this will be a non-issue...
HOWEVER,
You CAN build a working build for the Quest 2 with IL2CPP and DOTS 0.51.1 right now, but I only know of ONE version of Unity that will work for the build: UNITY 2021.3.8f1.
I recently integrated mixpanel on my flutter mobile app. At first there we're no problems. But after a while of using it, I cannot launch the app anymore, and it displays the error below:
E/flutter (29702): [ERROR:flutter/shell/platform/android/platform_view_android_jni_impl.cc(43)] java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jacoco/agent/rt/internal_8ff85ea/Offline;
E/flutter (29702): at com.mixpanel.android.mpmetrics.MixpanelAPI.$jacocoInit(Unknown Source:13)
E/flutter (29702): at com.mixpanel.android.mpmetrics.MixpanelAPI.<clinit>(Unknown Source:0)
E/flutter (29702): at com.mixpanel.android.mpmetrics.MixpanelAPI.getInstance(Unknown Source:0)
E/flutter (29702): at com.mixpanel.mixpanel_flutter.MixpanelFlutterPlugin.handleInitialize(MixpanelFlutterPlugin.java:182)
E/flutter (29702): at com.mixpanel.mixpanel_flutter.MixpanelFlutterPlugin.onMethodCall(MixpanelFlutterPlugin.java:57)
E/flutter (29702): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/flutter (29702): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/flutter (29702): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
E/flutter (29702): at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (29702): at android.os.MessageQueue.next(MessageQueue.java:386)
E/flutter (29702): at android.os.Looper.loop(Looper.java:175)
E/flutter (29702): at android.app.ActivityThread.main(ActivityThread.java:7625)
E/flutter (29702): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (29702): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
E/flutter (29702): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
E/flutter (29702): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.jacoco.agent.rt.internal_8ff85ea.Offline" on path: DexPathList[[zip file "/system/framework/android.test.mock.jar", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/system/framework/android.test.runner.jar", zip file "/data/app/ph.dudu.duduph-xxdPe23WLh6USaFzF3Frsw==/base.apk"],nativeLibraryDirectories=[/data/app/ph.dudu.duduph-xxdPe23WLh6USaFzF3Frsw==/lib/arm64, /data/app/ph.dudu.duduph-xxdPe23WLh6USaFzF3Frsw==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]
E/flutter (29702): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
E/flutter (29702): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/flutter (29702): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/flutter (29702): ... 15 more
E/flutter (29702):
F/flutter (29702): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(942)] Check failed: CheckException(env).
F/libc (29702): Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 29702 (ph.dudu.duduph), pid 29702 (ph.dudu.duduph)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'HUAWEI/INE-LX2/HWINE:9/HUAWEIINE-LX2/9.1.0.318C636:user/release-keys'
Revision: '0'
ABI: 'arm64'
Happend: 'Fri Oct 8 19:44:13 2021
'
SYSVMTYPE: Art
APPVMTYPE: Art
pid: 29702, tid: 29702, name: ph.dudu.duduph >>> ph.dudu.duduph <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(942)] Check failed: CheckException(env).
'
x0 0000000000000000 x1 0000000000007406 x2 0000000000000006 x3 0000000000000008
x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 7f7f7f7f7f7f7f7f
x8 0000000000000083 x9 d8cb342cbbd165b9 x10 0000000000000000 x11 fffffffc7ffffbdf
x12 0000000000000001 x13 ffffffffffffffff x14 ffffffffffffff00 x15 ffffffffffffffff
x16 0000007355bb12c0 x17 0000007355af033c x18 0000000000000001 x19 0000000000007406
x20 0000000000007406 x21 0000007fc6b27068 x22 00000072cfec2fe8 x23 0000000000000045
x24 00000072c791f598 x25 0000007fc6b27348 x26 0000000000000000 x27 0000000000000001
x28 0000000000000045 x29 0000007fc6b27050
sp 0000007fc6b27010 lr 0000007355ae4e68 pc 0000007355ae4e90
backtrace:
#00 pc 0000000000022e90 /system/lib64/libc.so (abort+116)
#01 pc 0000000001287244 /data/app/ph.dudu.duduph-xxdPe23WLh6USaFzF3Frsw==/lib/arm64/libflutter.so (offset 0x126e000)
#02 pc 00000000000020dc [anon:.bss:00000072ae9aa000]
I tried searching for solutions but it seems like no one encountered the same problem yet. I also tried Invalidating the cache, flutter clean, and re-installing the app but the problem persists.
In case of android add this line build.gradle
use mix panel library version 5.9.1
implementation 'com.mixpanel.android:mixpanel-android:5.9.1'
This issue has been ruined my day. now mixpanel has released a new version.
https://github.com/mixpanel/mixpanel-android/releases/tag/v5.9.4
Fixed in this version.
After 2 days, it's finally working again for Flutter. Just remove the mixpanel dependency and add it back again in pubspec.yaml. You can also try updating to the latest version (https://github.com/mixpanel/mixpanel-flutter/releases)
I've created my app in unity 2019.2.5f and my .aab build works at my samsung SM-J710GN and lower android versions. The only problem in 2019.2.5f is it has a bug that S-pen does not work. So I upgraded to 2019.3.7f. The problem now is when I test my app to samsung SM-J710GN, it crashes. I check logcat and found a line with il2cpp/patch.config' is missing. I don't know if this is the error but the same line appears in my samsung_SM-A530F and it runs perfectly.
Here are the logcat logs.
D/Unity(31130): CommandLine:
I/Unity(31130): onResume
D/Unity(31130): SetWindow 0 0xeb4cf008
D/Unity(31130): SetWindow 0 0xeb4cf008
I/Unity(31130): windowFocusChanged: true
D/Unity(31130): Enabling Unity systrace
D/Unity(31130): [VFS] Mount /data/app/com.MyCompany.MyApp-1/base.apk
D/Unity(31130): [VFS] Mount /data/app/com.MyCompany.MyApp-1/split_config.armeabi_v7a.apk
I/Unity(31130): SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 8, Memory = 1821mb
I/Unity(31130): SystemInfo ARM big.LITTLE configuration: 8 big (mask: 0xff), 0 little (mask: 0x0)
I/Unity(31130): ApplicationInfo com.MyCompany.MyApp version 0.1 build 9f7d5438-69ea-4de7-84be-c1bccddd034d
I/Unity(31130): Built from '2019.3/staging' branch, Version '2019.3.7f1 (6437fd74d35d)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'armeabi-v7a', Stripping 'Enabled'
D/Unity(31130): Script Patching: Patch files are not available, '/storage/emulated/0/Android/data/com.MyCompany.MyApp/cache/ScriptOnly/2019.3.7f1/il2cpp/patch.config' is missing.
D/Unity(31130): PlayerConnection initialized from /data/app/com.MyCompany.MyApp-1/base.apk/assets/bin/Data (debug = 0)
D/Unity(31130): PlayerConnection initialized network socket : 0.0.0.0 55482
D/Unity(31130): PlayerConnection initialized unix socket : Unity-com.MyCompany.MyApp
D/Unity(31130): Multi-casting "[IP] 192.168.254.102 [Port] 55482 [Flags] 3 [Guid] 3076295348 [EditorId] 3179775812 [Version] 1048832 [Id] AndroidPlayer(samsung_SM-J710GN#192.168.254.102) [Debug] 1 [PackageName] AndroidPlayer [ProjectName] MyApp" to [225.0.0.222:54997]...
D/Unity(31130): Waiting for connection from host on [0.0.0.0:55482]...
D/Unity(31130): Remaining time:8s
D/Unity(32306): Timed out. Continuing without host connection.
D/Unity(32306): Started listening to [0.0.0.0:55438]
D/Unity(32306): Starting managed debugger on port 56471
E/CRASH(32306): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/CRASH(32306): Version '2019.3.7f1 (6437fd74d35d)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
E/CRASH(32306): Build fingerprint: 'samsung/j7xeltedx/j7xelte:6.0.1/MMB29K/J710GNDXU1API5:user/release-keys'
E/CRASH(32306): Revision: '6'
E/CRASH(32306): ABI: 'arm'
E/CRASH(32306): Timestamp: 2020-04-07 22:37:49+0800
E/CRASH(32306): pid: 32306, tid: 32319, name: UnityMain >>> com.MyCompany.MyApp <<<
E/CRASH(32306): uid: 10491
E/CRASH(32306): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfb59e0cc
E/CRASH(32306): r0 01ffffff r1 0000000e r2 701c4000 r3 00000001
E/CRASH(32306): r4 daea3dc0 r5 00000000 r6 f359e0d0 r7 d7d3c040
E/CRASH(32306): r8 fffffff8 r9 00000000 r10 00000000 r11 f359e098
E/CRASH(32306): ip 00000000 sp f359e070 lr d88f6f28 pc d88f6f54
E/CRASH(32306): backtrace:
E/CRASH(32306): #00 pc 002dbf54 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #01 pc 002dbf00 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #02 pc 002f484c /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #03 pc 002da2f0 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #04 pc 002d659c /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #05 pc 002dc504 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #06 pc 002e4f58 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #07 pc 002e5bd8 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #08 pc 002e5ce4 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #09 pc 0032d050 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #10 pc 002ed38c /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #11 pc 002a5a14 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (il2cpp_init+40) (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/CRASH(32306): #12 pc 004863fd /data/app/com.MyCompany.MyApp-1/lib/arm/libunity.so (InitializeIl2CppFromMain(core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, int, char const**, bool)+188) (BuildId: fa4efc9bdc22d7868eb4de9f0e6e2b8fb81c9505)
E/CRASH(32306): #13 pc 004e2597 /data/app/com.MyCompany.MyApp-1/lib/arm/libunity.so (UnityInitApplication()+2526) (BuildId: fa4efc9bdc22d7868eb4de9f0e6e2b8fb81c9505)
E/CRASH(32306): #14 pc 004e3051 /data/app/com.MyCompany.MyApp-1/lib/arm/libunity.so (UnityPlayerLoop()+100) (BuildId: fa4efc9bdc22d7868eb4de9f0e6e2b8fb81c9505)
E/CRASH(32306): #15 pc 00505ac1 /data/app/com.MyCompany.MyApp-1/lib/arm/libunity.so (nativeRender(_JNIEnv*, _jobject*)+40) (BuildId: fa4efc9bdc22d7868eb4de9f0e6e2b8fb81c9505)
E/CRASH(32306): #16 pc 0083c0f9 /data/app/com.MyCompany.MyApp-1/oat/arm/base.odex (boolean com.unity3d.player.UnityPlayer.nativeRender()+76)
E/CRASH(32306): Tombstone written to: /storage/emulated/0/Android/data/com.MyCompany.MyApp/files/tombstone_02
E/AndroidRuntime(32306): FATAL EXCEPTION: UnityMain
E/AndroidRuntime(32306): Process: com.MyCompany.MyApp, PID: 32306
E/AndroidRuntime(32306): java.lang.Error: FATAL EXCEPTION [UnityMain]
E/AndroidRuntime(32306): Unity version : 2019.3.7f1
E/AndroidRuntime(32306): Device model : samsung SM-J710GN
E/AndroidRuntime(32306): Device fingerprint: samsung/j7xeltedx/j7xelte:6.0.1/MMB29K/J710GNDXU1API5:user/release-keys
E/AndroidRuntime(32306): Caused by: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/AndroidRuntime(32306): Version '2019.3.7f1 (6437fd74d35d)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
E/AndroidRuntime(32306): Build fingerprint: 'samsung/j7xeltedx/j7xelte:6.0.1/MMB29K/J710GNDXU1API5:user/release-keys'
E/AndroidRuntime(32306): Revision: '6'
E/AndroidRuntime(32306): ABI: 'arm'
E/AndroidRuntime(32306): Timestamp: 2020-04-07 22:37:49+0800
E/AndroidRuntime(32306): pid: 32306, tid: 32319, name: UnityMain >>> com.MyCompany.MyApp <<<
E/AndroidRuntime(32306): uid: 10491
E/AndroidRuntime(32306): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfb59e0cc
E/AndroidRuntime(32306): r0 01ffffff r1 0000000e r2 701c4000 r3 00000001
E/AndroidRuntime(32306): r4 daea3dc0 r5 00000000 r6 f359e0d0 r7 d7d3c040
E/AndroidRuntime(32306): r8 fffffff8 r9 00000000 r10 00000000 r11 f359e098
E/AndroidRuntime(32306): ip 00000000 sp f359e070 lr d88f6f28 pc d88f6f54
E/AndroidRuntime(32306): backtrace:
E/AndroidRuntime(32306): #00 pc 002dbf54 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #01 pc 002dbf00 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #02 pc 002f484c /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #03 pc 002da2f0 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #04 pc 002d659c /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #05 pc 002dc504 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #06 pc 002e4f58 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #07 pc 002e5bd8 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #08 pc 002e5ce4 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #09 pc 0032d050 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #10 pc 002ed38c /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #11 pc 002a5a14 /data/app/com.MyCompany.MyApp-1/lib/arm/libil2cpp.so (il2cpp_init+40) (BuildId: dd1e65ba48cc1f28d47b6b27d8bab2a508249c3d)
E/AndroidRuntime(32306): #12 pc 004863fd /data/app/com.MyCompany.MyApp-1/lib/arm/libunity.so (InitializeIl2CppFromMain(core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, int, char const**, bool)+188) (BuildId: fa4efc9bdc22d7868eb4de9f0e6e2b8fb81c9505)
E/AndroidRuntime(32306): #13 pc 004e2597 /data/app/com.MyCompany.MyApp-1/lib/arm/libunity.so (UnityInitApplication()+2526) (BuildId: fa4efc9bdc22d7868eb4de9f0e6e2b8fb81c9505)
E/AndroidRuntime(32306): #14 pc 004e3051 /data/app/com.MyCompany.MyApp-1/lib/arm/libunity.so (UnityPlayerLoop()+100) (BuildId: fa4efc9bdc22d7868eb4de9f0e6e2b8fb81c9505)
E/AndroidRuntime(32306): #15 pc 00505ac1 /data/app/com.MyCompany.MyApp-1/lib/arm/libunity.so (nativeRender(_JNIEnv*, _jobject*)+40) (BuildId: fa4efc9bdc22d7868eb4de9f0e6e2b8fb81c9505)
E/AndroidRuntime(32306): #16 pc 0083c0f9 /data/app/com.MyCompany.MyApp-1/oat/arm/base.odex (boolean com.unity3d.player.UnityPlayer.nativeRender()+76)
E/AndroidRuntime(32306): at libil2cpp.0x2dbf54(Native Method)
E/AndroidRuntime(32306): at libil2cpp.0x2dbf00(Native Method)
E/AndroidRuntime(32306): at libil2cpp.0x2f484c(Native Method)
E/AndroidRuntime(32306): at libil2cpp.0x2da2f0(Native Method)
E/AndroidRuntime(32306): at libil2cpp.0x2d659c(Native Method)
E/AndroidRuntime(32306): at libil2cpp.0x2dc504(Native Method)
E/AndroidRuntime(32306): at libil2cpp.0x2e4f58(Native Method)
E/AndroidRuntime(32306): at libil2cpp.0x2e5bd8(Native Method)
E/AndroidRuntime(32306): at libil2cpp.0x2e5ce4(Native Method)
W/ActivityManager(2590): Force finishing activity com.MyCompany.MyApp/com.unity3d.player.UnityPlayerActivity
I am getting following crash just on Nexus 6(5.1 OS) device. I am unable to make out what is causing this kind of crash and how to approach it. Will appreciate any help.
Unity3d version : 4.6.5f1
NGUI version: 2.6.4
Crashlog from device:
05-12 11:22:02.401: E/chromium(7468): ### WebView Version 42.0.2311.138 (code 2311138)
05-12 11:22:02.401: E/chromium(7468): --------- beginning of crash
05-12 11:22:02.401: A/libc(7468): Fatal signal 11 (SIGSEGV), code -6, fault addr 0x1d2c in tid 7489 (main)
05-12 11:22:02.474: I/DEBUG(353): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-12 11:22:02.474: I/DEBUG(353): Build fingerprint: 'google/shamu/shamu:5.1/LMY47I/1767468:user/release-keys'
05-12 11:22:02.474: I/DEBUG(353): Revision: '33696'
05-12 11:22:02.474: I/DEBUG(353): ABI: 'arm'
05-12 11:22:02.474: I/DEBUG(353): pid: 7468, tid: 7489, name: main >>> com.xxx.xxxx <<<
05-12 11:22:02.474: I/DEBUG(353): signal 11 (SIGSEGV), code -6 (SI_TKILL), fault addr 0xc
05-12 11:22:02.506: I/DEBUG(353): r0 858fe2b0 r1 00000052 r2 00000052 r3 00000000
05-12 11:22:02.506: I/DEBUG(353): r4 858fe2b0 r5 00000052 r6 00000052 r7 aad91da0
05-12 11:22:02.506: I/DEBUG(353): r8 af3e9150 r9 af3e9138 sl 00000003 fp aefb5a00
05-12 11:22:02.506: I/DEBUG(353): ip 00000000 sp af3e90c0 lr aac2a577 pc aacbe97c cpsr 200b0030
05-12 11:22:02.507: I/DEBUG(353): backtrace:
05-12 11:22:02.507: I/DEBUG(353): #00 pc 0017797c /system/vendor/lib/egl/libGLESv2_adreno.so (EsxCmdBuf::GetSpace(unsigned int)+15)
05-12 11:22:02.507: I/DEBUG(353): #01 pc 000e3573 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxFramebufferObject::LoadStoreCmdBufGetSpace(EsxCmdBufType, unsigned int)+42)
05-12 11:22:02.507: I/DEBUG(353): #02 pc 00174ba5 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxBltLib::StoreBin(EsxFramebufferObject*, EsxRenderingLayout const*, unsigned int)+108)
05-12 11:22:02.507: I/DEBUG(353): #03 pc 00116881 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::processAndSubmitRendering(EsxFlushReason)+3936)
05-12 11:22:02.507: I/DEBUG(353): #04 pc 00177435 /system/vendor/lib/egl/libGLESv2_adreno.so (EsxCmdMgr::Flush(EsxFlushReason)+412)
05-12 11:22:02.508: I/DEBUG(353): #05 pc 0011693d /system/vendor/lib/egl/libGLESv2_adreno.so (EsxContext::SwapBuffers(EsxRect const*, unsigned int, EglResourceAccessInfo*)+140)
05-12 11:22:02.508: I/DEBUG(353): #06 pc 0011dd43 /system/vendor/lib/egl/libGLESv2_adreno.so (EglContext::SwapBuffers(EsxRect const*, unsigned int, EglResourceAccessInfo*)+54)
05-12 11:22:02.508: I/DEBUG(353): #07 pc 0011ae89 /system/vendor/lib/egl/libGLESv2_adreno.so (EglApi::SwapBuffers(void*, void*)+140)
05-12 11:22:02.508: I/DEBUG(353): #08 pc 00005dc5 /system/vendor/lib/egl/libEGL_adreno.so (eglSwapBuffers+28)
05-12 11:22:02.508: I/DEBUG(353): #09 pc 0001237f /system/lib/libEGL.so (eglSwapBuffers+290)
05-12 11:22:02.508: I/DEBUG(353): #10 pc 003cee58 /data/app/com.xxx.xxxx-1/lib/arm/libunity.so
05-12 11:22:02.509: I/DEBUG(353): #11 pc 003d4374 /data/app/com.xxx.xxxx-1/lib/arm/libunity.so
05-12 11:22:02.509: I/DEBUG(353): #12 pc 0039ef74 /data/app/com.xxx.xxxx-1/lib/arm/libunity.so
05-12 11:22:02.509: I/DEBUG(353): #13 pc 001fc76c /data/app/com.xxx.xxxx-1/lib/arm/libunity.so
05-12 11:22:02.509: I/DEBUG(353): #14 pc 002a0124 /data/app/com.xxx.xxxx-1/lib/arm/libunity.so
05-12 11:22:02.509: I/DEBUG(353): #15 pc 003d24e4 /data/app/com.xxx.xxxx-1/lib/arm/libunity.so
05-12 11:22:02.509: I/DEBUG(353): #16 pc 003de1b0 /data/app/com.xxx.xxxx-1/lib/arm/libunity.so
05-12 11:22:02.509: I/DEBUG(353): #17 pc 0067a5af /data/dalvik-cache/arm/data#app#com.xxx.xxxx-1#base.apk#classes.dex
05-12 11:22:03.064: I/AudioFlinger(356): BUFFER TIMEOUT: remove(4097) from active list on thread 0xb59c4000
You got fault addr 0xc, r3 00000000, is not exactly the same as my case.
In my case, it happens when there are no objects rendered on camera, and camera.targetTexture has been set to aRenderTexture, Destroy(aRenderTexture) will crash.
Fix Code 1 (not recommend but works):
Destroy(aRenderTexture, 1.0f)
Fix Code 2 (maybe a better way, attach the follow script on your crashed camera):
using UnityEngine;
[RequireComponent (typeof (Camera))]
public class CrashFix : MonoBehaviour {
void Awake () {
Camera _cam = gameObject.GetComponent<Camera>();
GameObject _invisibleObj = GameObject.CreatePrimitive(PrimitiveType.Quad);
_invisibleObj.name = "CrashFix";
_invisibleObj.layer = GetFirstLayerNumberFromMask(_cam.cullingMask);
_invisibleObj.transform.parent = gameObject.transform;
_invisibleObj.transform.localScale = new Vector3(0.001f, 0.001f, 0.001f);
_invisibleObj.transform.position =
_cam.transform.position + _cam.transform.forward * (_cam.nearClipPlane+_cam.farClipPlane)/2f;
Material _mat = new Material(Shader.Find("UI/Default"));
_mat.color = new Color32(0,0,0,0);
var mr = _invisibleObj.GetComponent<MeshRenderer>();
mr.sharedMaterial = _mat;
Destroy(_invisibleObj.GetComponent<Collider>());
}
private int GetFirstLayerNumberFromMask(int mask)
{
if (mask == 0) return 0;
int result = 0;
while(true){
if ((mask & 1) == 1) return result;
mask >>= 1;
++result;
}
}
}
I tried creating an emulator with android L, but all I get is a black screen. When I adb into the emulator I see something like a crash loop (below). Does anyone have some step by step guide to launching an emulator with android L.
I/ServiceManager( 45): service 'media.audio_flinger' died
I/ServiceManager( 45): service 'media.player' died
I/ServiceManager( 45): service 'media.camera' died
I/Netd ( 2211): Netd 1.0 starting
W/InterfaceController( 2211): Warning (dlopen failed: library "libnetcmdiface.so" not found) while opening the net interface command library
E/Netd ( 2211): Failed to open /proc/sys/net/ipv6/conf/default/accept_ra_rt_table: No such file or directory
E/Netd ( 2211): Failed to open /proc/sys/net/ipv6/conf/eth0/accept_ra_rt_table: No such file or directory
E/Netd ( 2211): Failed to open /proc/sys/net/ipv6/conf/lo/accept_ra_rt_table: No such file or directory
E/Netd ( 2211): Failed to open /proc/sys/net/ipv6/conf/sit0/accept_ra_rt_table: No such file or directory
I/SurfaceFlinger( 2212): SurfaceFlinger is starting
I/SurfaceFlinger( 2212): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 2212): Emulator without GPU support detected. Fallback to software renderer.
D/libEGL ( 2212): loaded /system/lib/egl/libGLES_android.so
D/gralloc_goldfish( 2212): Emulator without GPU emulation detected.
E/SurfaceFlinger( 2212): hwcomposer module not found
E/SurfaceFlinger( 2212): ERROR: failed to open framebuffer (No such file or directory), aborting
F/libc ( 2212): Fatal signal 6 (SIGABRT), code -6 in tid 2212 (surfaceflinger)
I/DEBUG ( 52): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 52): Build fingerprint: 'generic/google_sdk/generic:L/LPV81B/1242878:eng/test-keys'
I/DEBUG ( 52): Revision: '0'
I/DEBUG ( 52): pid: 2212, tid: 2212, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 52): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 52): r0 00000000 r1 000008a4 r2 00000006 r3 00000000
I/DEBUG ( 52): r4 00000006 r5 00000002 r6 000008a4 r7 0000010c
I/DEBUG ( 52): r8 b8529698 r9 bef2c9f8 sl fffffffe fp bef2cb5c
I/DEBUG ( 52): ip b6fc3e9c sp bef2c990 lr b6f82a15 pc b6fa529c cpsr 00000010
I/DEBUG ( 52): d0 0000000000000000 d1 0000000000000000
I/DEBUG ( 52): d2 0000000000000000 d3 0000000000000000
I/DEBUG ( 52): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 52): d6 0000000000000000 d7 0000000000000000
I/DEBUG ( 52): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 52): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 52): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 52): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 52): scr 00000000
I/DEBUG ( 52):
I/DEBUG ( 52): backtrace:
I/DEBUG ( 52): #00 pc 0003829c /system/lib/libc.so (tgkill+12)
I/DEBUG ( 52): #01 pc 00015a11 /system/lib/libc.so (pthread_kill+64)
I/DEBUG ( 52): #02 pc 000164f1 /system/lib/libc.so (raise+10)
I/DEBUG ( 52): #03 pc 00013399 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 52): #04 pc 0001259c /system/lib/libc.so (abort+4)
I/DEBUG ( 52): #05 pc 0001cf67 /system/lib/libsurfaceflinger.so
I/DEBUG ( 52): #06 pc 00018337 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+78)
I/DEBUG ( 52): #07 pc 000007e1 /system/bin/surfaceflinger
I/DEBUG ( 52): #08 pc 0000f623 /system/lib/libc.so (__libc_init+50)
I/DEBUG ( 52): #09 pc 000008d8 /system/bin/surfaceflinger
I/DEBUG ( 52):
I/DEBUG ( 52): stack:
I/DEBUG ( 52): bef2c950 b6839004 /system/lib/hw/gralloc.default.so
I/DEBUG ( 52): bef2c954 00000000
I/DEBUG ( 52): bef2c958 b85297a8 [heap]
I/DEBUG ( 52): bef2c95c b6839004 /system/lib/hw/gralloc.default.so
I/DEBUG ( 52): bef2c960 fffffffe
I/DEBUG ( 52): bef2c964 b68390c4 /system/lib/hw/gralloc.default.so
I/DEBUG ( 52): bef2c968 b8529684 [heap]
I/DEBUG ( 52): bef2c96c b6837483 /system/lib/hw/gralloc.default.so (fb_device_open(hw_module_t const*, char const*, hw_device_t**)+98)
I/DEBUG ( 52): bef2c970 b6e50f4b /system/lib/libsurfaceflinger.so
I/DEBUG ( 52): bef2c974 b68391c4 /system/lib/hw/gralloc.default.so
I/DEBUG ( 52): bef2c978 00000006
I/DEBUG ( 52): bef2c97c 00000002
I/DEBUG ( 52): bef2c980 000008a4
I/DEBUG ( 52): bef2c984 b6fc3e9c
I/DEBUG ( 52): bef2c988 b8529698 [heap]
I/DEBUG ( 52): bef2c98c b6f82a09 /system/lib/libc.so (pthread_kill+56)
I/DEBUG ( 52): #00 bef2c990 00000006
I/DEBUG ( 52): ........ ........
I/DEBUG ( 52): #01 bef2c990 00000006
I/DEBUG ( 52): bef2c994 00000000
I/DEBUG ( 52): bef2c998 bef2c9b0 [stack]
I/DEBUG ( 52): bef2c99c b6f834f5 /system/lib/libc.so (raise+14)
I/DEBUG ( 52): #02 bef2c9a0 bef2c9ac [stack]
I/DEBUG ( 52): bef2c9a4 b6f8039d /system/lib/libc.so (__libc_android_abort+40)
I/DEBUG ( 52):
I/DEBUG ( 52): memory near r8:
I/DEBUG ( 52): b8529678 00207265 0000012b b8527508 00000000
I/DEBUG ( 52): b8529688 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b8529698 b6e57ae0 00000000 00000000 00000000
I/DEBUG ( 52): b85296a8 00000018 00000000 00000001 00000000
I/DEBUG ( 52): b85296b8 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b85296c8 b85266f0 b85266f0 00000000 b85266f0
I/DEBUG ( 52): b85296d8 00000000 b6e57ae0 00000000 00000000
I/DEBUG ( 52): b85296e8 00000000 00000018 00000000 00000001
I/DEBUG ( 52): b85296f8 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b8529708 00000000 b85266f0 b85266f0 00000000
I/DEBUG ( 52): b8529718 b85266f0 00000000 b6e57ae0 00000000
I/DEBUG ( 52): b8529728 00000000 00000000 00000018 00000000
I/DEBUG ( 52): b8529738 00000001 00000000 00000000 00000000
I/DEBUG ( 52): b8529748 00000000 00000000 b85266f0 b85266f0
I/DEBUG ( 52): b8529758 00000000 b85266f0 00000000 00000001
I/DEBUG ( 52): b8529768 b8529568 b852751c 00000000 00000000
I/DEBUG ( 52):
I/DEBUG ( 52): memory near r9:
I/DEBUG ( 52): bef2c9d8 b6e20030 00000000 00000000 b6e1de54
I/DEBUG ( 52): bef2c9e8 00000001 00000001 bef2ca14 00000000
I/DEBUG ( 52): bef2c9f8 b6e10030 00000000 b6e0470b b6fd55ef
I/DEBUG ( 52): bef2ca08 b6e5a4e4 b6fd5689 b6e1de54 b6fea0e0
I/DEBUG ( 52): bef2ca18 b6e2b2f4 b6e1de54 bef2ca44 bef2ca44
I/DEBUG ( 52): bef2ca28 0000012b 00000838 b8529680 00000003
I/DEBUG ( 52): bef2ca38 b6fed77d b6f7e1a3 b6fc0020 00000120
I/DEBUG ( 52): bef2ca48 bef2cac8 b6e4f944 bef2cb04 1c5019d5
I/DEBUG ( 52): bef2ca58 b8527508 bef2cac8 b6e4f944 b8529680
I/DEBUG ( 52): bef2ca68 b6fed77d 00000000 00000000 b6e4533b
I/DEBUG ( 52): bef2ca78 b6fed77d b6f7e1a3 b6fc0020 00000010
I/DEBUG ( 52): bef2ca88 b6f1c0a4 b6f14bf1 00000001 000008a4
I/DEBUG ( 52): bef2ca98 00000001 000008a4 00000001 b6f14f73
I/DEBUG ( 52): bef2caa8 b6f0e950 b8527520 b85294d4 b6f075e1
I/DEBUG ( 52): bef2cab8 b85276a4 b6e40ceb b8527228 bef2cadc
I/DEBUG ( 52): bef2cac8 b8527508 31323201 bef20032 bef2cb0c
I/DEBUG ( 52):
I/DEBUG ( 52): memory near fp:
I/DEBUG ( 52): bef2cb3c 00000000 00000000 b6fed8dc b6feee6c
I/DEBUG ( 52): bef2cb4c b6feee74 b6feee7c bef2cb60 00000000
I/DEBUG ( 52): bef2cb5c b6fd7cd1 00000001 bef2cc49 00000000
I/DEBUG ( 52): bef2cb6c bef2cc64 bef2cca1 bef2ccb4 bef2ccc9
I/DEBUG ( 52): bef2cb7c bef2cce4 bef2ccf7 bef2cd10 bef2cd2a
I/DEBUG ( 52): bef2cb8c bef2cd43 bef2cf87 bef2cfa1 bef2cfc2
I/DEBUG ( 52): bef2cb9c 00000000 00000010 0000b0d7 00000006
I/DEBUG ( 52): bef2cbac 00001000 00000011 00000064 00000003
I/DEBUG ( 52): bef2cbbc b6fed034 00000004 00000020 00000005
I/DEBUG ( 52): bef2cbcc 00000008 00000007 b6fd4000 00000008
I/DEBUG ( 52): bef2cbdc 00000000 00000009 b6fed878 0000000b
I/DEBUG ( 52): bef2cbec 000003e8 0000000c 000003e8 0000000d
I/DEBUG ( 52): bef2cbfc 000003eb 0000000e 000003eb 00000017
I/DEBUG ( 52): bef2cc0c 00000000 00000019 bef2cc35 0000001f
I/DEBUG ( 52): bef2cc1c bef2cfe1 0000000f bef2cc45 00000000
I/DEBUG ( 52): bef2cc2c 00000000 00000000 5019d500 103d5e1c
I/DEBUG ( 52):
I/DEBUG ( 52): memory near ip:
I/DEBUG ( 52): b6fc3e7c 00010000 00200000 00000003 00000000
I/DEBUG ( 52): b6fc3e8c b852a000 bef2cba0 bef2cc49 bef2cb6c
I/DEBUG ( 52): b6fc3e9c 1c5019d5 00000000 b6fea980 00000007
I/DEBUG ( 52): b6fc3eac 00000008 00000000 00000000 00000000
I/DEBUG ( 52): b6fc3ebc 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6fc3ecc 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6fc3edc 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6fc3eec 00000009 00000000 b8523008 b8523008
I/DEBUG ( 52): b6fc3efc 00000000 00000000 b85291f8 00000000
I/DEBUG ( 52): b6fc3f0c 00000001 00003fff 00000000 00000000
I/DEBUG ( 52): b6fc3f1c 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6fc3f2c 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6fc3f3c 00000000 b6f8152d b6f81531 00000000
I/DEBUG ( 52): b6fc3f4c b6f838fd b6f83a29 00000000 b6f39409
I/DEBUG ( 52): b6fc3f5c 00000000 00000000 00000000 00000000
I/DEBUG ( 52): b6fc3f6c 00000000 00000000 00000000 00000000
I/DEBUG ( 52):
I/DEBUG ( 52): memory near sp:
I/DEBUG ( 52): bef2c970 b6e50f4b b68391c4 00000006 00000002
I/DEBUG ( 52): bef2c980 000008a4 b6fc3e9c b8529698 b6f82a09
I/DEBUG ( 52): bef2c990 00000006 00000000 bef2c9b0 b6f834f5
I/DEBUG ( 52): bef2c9a0 bef2c9ac b6f8039d b6fc3e9c ffffffdf
I/DEBUG ( 52): bef2c9b0 b6e50ece 1c5019d5 bef2cb5c b8529680
I/DEBUG ( 52): bef2c9c0 b8529680 00000000 00000000 b6f7f5a0
I/DEBUG ( 52): bef2c9d0 1c5019d5 b6e49f6b b6e20030 00000000
I/DEBUG ( 52): bef2c9e0 00000000 b6e1de54 00000001 00000001
I/DEBUG ( 52): bef2c9f0 bef2ca14 00000000 b6e10030 00000000
I/DEBUG ( 52): bef2ca00 b6e0470b b6fd55ef b6e5a4e4 b6fd5689
I/DEBUG ( 52): bef2ca10 b6e1de54 b6fea0e0 b6e2b2f4 b6e1de54
I/DEBUG ( 52): bef2ca20 bef2ca44 bef2ca44 0000012b 00000838
I/DEBUG ( 52): bef2ca30 b8529680 00000003 b6fed77d b6f7e1a3
I/DEBUG ( 52): bef2ca40 b6fc0020 00000120 bef2cac8 b6e4f944
I/DEBUG ( 52): bef2ca50 bef2cb04 1c5019d5 b8527508 bef2cac8
I/DEBUG ( 52): bef2ca60 b6e4f944 b8529680 b6fed77d 00000000
I/DEBUG ( 52):
I/DEBUG ( 52): code around pc:
I/DEBUG ( 52): b6fa527c e1a0700c e3700a01 912fff1e e2600000
I/DEBUG ( 52): b6fa528c ea002f6b e1a0c007 e3a07f43 ef000000
I/DEBUG ( 52): b6fa529c e1a0700c e3700a01 912fff1e e2600000
I/DEBUG ( 52): b6fa52ac ea002f63 e1a0c007 e59f7014 ef000000
I/DEBUG ( 52): b6fa52bc e1a0700c e3700a01 912fff1e e2600000
I/DEBUG ( 52): b6fa52cc ea002f5b 0000013a e1a0c007 e59f7014
I/DEBUG ( 52): b6fa52dc ef000000 e1a0700c e3700a01 912fff1e
I/DEBUG ( 52): b6fa52ec e2600000 ea002f52 00000177 e1a0c007
I/DEBUG ( 52): b6fa52fc e59f7014 ef000000 e1a0700c e3700a01
I/DEBUG ( 52): b6fa530c 912fff1e e2600000 ea002f49 00000163
I/DEBUG ( 52): b6fa531c e1a0c00d e92d00f0 e89c0070 e59f7014
I/DEBUG ( 52): b6fa532c ef000000 e8bd00f0 e3700a01 912fff1e
I/DEBUG ( 52): b6fa533c e2600000 ea002f3e 00000122 e1a0c00d
I/DEBUG ( 52): b6fa534c e92d00f0 e89c0070 e3a070e2 ef000000
I/DEBUG ( 52): b6fa535c e8bd00f0 e3700a01 912fff1e e2600000
I/DEBUG ( 52): b6fa536c ea002f33 e1a0c007 e3a070b1 ef000000
I/DEBUG ( 52):
I/DEBUG ( 52): code around lr:
I/DEBUG ( 52): b6f829f4 44782403 fa10f000 689ee011 4478480d
I/DEBUG ( 52): b6f82a04 fa0af000 ec88f023 46224631 ec3ef022
I/DEBUG ( 52): b6f82a14 d1033001 ff7ef7fd e0006804 f7fd2400
I/DEBUG ( 52): b6f82a24 6005ff79 bd704620 00041526 0004151a
I/DEBUG ( 52): b6f82a34 0004150e 00041502 41f3e92d bf0c2900
I/DEBUG ( 52): b6f82a44 0880f04f 0800f04f 46144606 f7fd461f
I/DEBUG ( 52): b6f82a54 4631ff61 46424623 20f06805 f7fd9700
I/DEBUG ( 52): b6f82a64 1c43e8b8 d1064606 ff54f7fd 42466800
I/DEBUG ( 52): b6f82a74 ff50f7fd 46306005 e8bdb002 e92d81f0
I/DEBUG ( 52): b6f82a84 46044ff7 46886805 f4154691 f4054740
I/DEBUG ( 52): b6f82a94 f0005600 f7ff8087 6883fdeb 4f15ebb3
I/DEBUG ( 52): b6f82aa4 f5b7d11c d0794f00 76fcf641 0706ea05
I/DEBUG ( 52): b6f82ab4 71fcf641 d073428f 0e04f105 8f00e854
I/DEBUG ( 52): b6f82ac4 0000f04f 0f05ea98 e844bf08 2800e000
I/DEBUG ( 52): b6f82ad4 45a8d1f4 8092f000 e7ed6825 0b07ea46
I/DEBUG ( 52): b6f82ae4 455d0418 f045d111 ea410101 e8540700
I/mediaserver( 2213): ServiceManager: 0xb74526b0
I/AudioFlinger( 2213): Using default 3000 mSec as standby time.
I/CameraService( 2213): CameraService started (pid=2213)
I/ServiceManager( 45): service 'media.audio_flinger' died
I/ServiceManager( 45): service 'media.player' died
Try checking 'Use Host GPU' in 'Emulator Options' section of your AVD device (open AVD, select your device, click edit).
E/Netd ( 2211): Failed to open /proc/sys/net/ipv6/conf/default/accept_ra_rt_table: No such file or directory
E/Netd ( 2211): Failed to open /proc/sys/net/ipv6/conf/eth0/accept_ra_rt_table: No such file or directory
E/Netd ( 2211): Failed to open /proc/sys/net/ipv6/conf/lo/accept_ra_rt_table: No such file or directory
E/Netd ( 2211): Failed to open /proc/sys/net/ipv6/conf/sit0/accept_ra_rt_table: No such file or directory
I think this information should be the focus, you can track it.