Closed damaestro closed 4 months ago
Can you share your libwivrn.so? It should be in build/intermediates/merged_native_libs/standardDebug/out/lib/arm64-v8a/, we need it to make sense of the stacktrace
Here is the crash reproduced from https://github.com/Meumeu/WiVRn/actions/runs/7667535746
--------- beginning of crash
01-28 13:34:44.901 5872 5896 F libc : /home/runner/work/WiVRn/WiVRn/client/./jnipp.h:53: static JNIEnv &jni::jni_thread::env(): assertion "res" failed
01-28 13:34:44.902 5872 5896 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 5896 (Thread-2), pid 5872 (rg.meumeu.wivrn)
01-28 13:34:44.955 5910 5910 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-28 13:34:44.955 5910 5910 F DEBUG : Build fingerprint: 'HTC/kona/kona:10/QKQ1.210528.001/3718:user/release-keys'
01-28 13:34:44.955 5910 5910 F DEBUG : Revision: '0'
01-28 13:34:44.955 5910 5910 F DEBUG : ABI: 'arm64'
01-28 13:34:44.955 5910 5910 F DEBUG : Timestamp: 2024-01-28 13:34:44-0600
01-28 13:34:44.955 5910 5910 F DEBUG : pid: 5872, tid: 5896, name: Thread-2 >>> org.meumeu.wivrn <<<
01-28 13:34:44.955 5910 5910 F DEBUG : uid: 10160
01-28 13:34:44.955 5910 5910 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
01-28 13:34:44.955 5910 5910 F DEBUG : Abort message: '/home/runner/work/WiVRn/WiVRn/client/./jnipp.h:53: static JNIEnv &jni::jni_thread::env(): assertion "res" failed'
01-28 13:34:44.955 5910 5910 F DEBUG : x0 0000000000000000 x1 0000000000001708 x2 0000000000000006 x3 0000007420a17320
01-28 13:34:44.955 5910 5910 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000008
01-28 13:34:44.955 5910 5910 F DEBUG : x8 00000000000000f0 x9 97474895f6db08bb x10 0000000000000001 x11 0000000000000000
01-28 13:34:44.955 5910 5910 F DEBUG : x12 fffffff0fffffbdf x13 0000000065b6ac54 x14 00358663a3bf3c00 x15 0000337bba6a5651
01-28 13:34:44.955 5910 5910 F DEBUG : x16 000000750a17d8c0 x17 000000750a159910 x18 000000741e02e000 x19 00000000000016f0
01-28 13:34:44.955 5910 5910 F DEBUG : x20 0000000000001708 x21 00000000ffffffff x22 0000007420a179c0 x23 0000007420a179d0
01-28 13:34:44.955 5910 5910 F DEBUG : x24 0000007420a179f0 x25 0000007420a17a00 x26 0000007420a17a28 x27 0000007420a17a98
01-28 13:34:44.955 5910 5910 F DEBUG : x28 0000007420a17aa8 x29 0000007420a173c0
01-28 13:34:44.955 5910 5910 F DEBUG : sp 0000007420a17300 lr 000000750a10b0c4 pc 000000750a10b0f0
01-28 13:34:44.956 5910 5910 F DEBUG :
01-28 13:34:44.956 5910 5910 F DEBUG : backtrace:
01-28 13:34:44.956 5910 5910 F DEBUG : #00 pc 00000000000830f0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 21847aa9757f000b0461310a9f5e6e51)
01-28 13:34:44.956 5910 5910 F DEBUG : #01 pc 000000000008348c /apex/com.android.runtime/lib64/bionic/libc.so (__assert2+36) (BuildId: 21847aa9757f000b0461310a9f5e6e51)
01-28 13:34:44.956 5910 5910 F DEBUG : #02 pc 00000000003b5128 /data/app/org.meumeu.wivrn-46iF-buW1_b-tylPHZKuhA==/base.apk (offset 0x173000) (BuildId: 83841f4ee575767c6a527931d125e19451cdee1a)
01-28 13:34:44.956 5910 5910 F DEBUG : #03 pc 00000000003b5798 /data/app/org.meumeu.wivrn-46iF-buW1_b-tylPHZKuhA==/base.apk (offset 0x173000) (BuildId: 83841f4ee575767c6a527931d125e19451cdee1a)
01-28 13:34:44.956 5910 5910 F DEBUG : #04 pc 00000000003b5b08 /data/app/org.meumeu.wivrn-46iF-buW1_b-tylPHZKuhA==/base.apk (offset 0x173000) (BuildId: 83841f4ee575767c6a527931d125e19451cdee1a)
01-28 13:34:44.956 5910 5910 F DEBUG : #05 pc 00000000003b5b74 /data/app/org.meumeu.wivrn-46iF-buW1_b-tylPHZKuhA==/base.apk (offset 0x173000) (BuildId: 83841f4ee575767c6a527931d125e19451cdee1a)
01-28 13:34:44.956 5910 5910 F DEBUG : #06 pc 0000000000397148 /data/app/org.meumeu.wivrn-46iF-buW1_b-tylPHZKuhA==/base.apk (offset 0x173000) (BuildId: 83841f4ee575767c6a527931d125e19451cdee1a)
01-28 13:34:44.956 5910 5910 F DEBUG : #07 pc 00000000003960ac /data/app/org.meumeu.wivrn-46iF-buW1_b-tylPHZKuhA==/base.apk (offset 0x173000) (BuildId: 83841f4ee575767c6a527931d125e19451cdee1a)
01-28 13:34:44.957 5910 5910 F DEBUG : #08 pc 00000000003d0130 /data/app/org.meumeu.wivrn-46iF-buW1_b-tylPHZKuhA==/base.apk (offset 0x173000) (BuildId: 83841f4ee575767c6a527931d125e19451cdee1a)
01-28 13:34:44.957 5910 5910 F DEBUG : #09 pc 00000000003d0fec /data/app/org.meumeu.wivrn-46iF-buW1_b-tylPHZKuhA==/base.apk (offset 0x173000) (android_main+128) (BuildId: 83841f4ee575767c6a527931d125e19451cdee1a)
01-28 13:34:44.957 5910 5910 F DEBUG : #10 pc 00000000004bc09c /data/app/org.meumeu.wivrn-46iF-buW1_b-tylPHZKuhA==/base.apk (offset 0x173000) (BuildId: 83841f4ee575767c6a527931d125e19451cdee1a)
01-28 13:34:44.957 5910 5910 F DEBUG : #11 pc 00000000000e68a0 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 21847aa9757f000b0461310a9f5e6e51)
01-28 13:34:44.957 5910 5910 F DEBUG : #12 pc 0000000000084b6c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 21847aa9757f000b0461310a9f5e6e51)
Client is no longer crashing after testing dev 3ce371649752eeb455f73955180ca3ca1a307500
.
The client is crashing on my HMD when built from the dev branch
d1e47771ec7d9de1c14a5aeeceeb98523c36c2bd
. A client built from master branchf10a9915fc9d95661350e2390d36942b9cdd8de0
is not crashing.