kiwix / kiwix-android

Kiwix for Android
https://android.kiwix.org
GNU General Public License v3.0
825 stars 442 forks source link

Crash log, I think you need #3891

Open A3148475824 opened 1 week ago

A3148475824 commented 1 week ago
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
LineageOS Version: '21.0-20240208-UNOFFICIAL-cezanne'
Build fingerprint: 'Redmi/cezanne/cezanne:11/RP1A.200720.011/V12.5.11.0.RJNCNXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2024-06-24 16:51:30.601375684+0800
Process uptime: 9519s
Cmdline: org.kiwix.kiwixmobile
pid: 27662, tid: 22533, name: DefaultDispatch  >>> org.kiwix.kiwixmobile <<<
uid: 10181
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'terminating with uncaught exception of type Xapian::DatabaseError'
    x0  0000000000000000  x1  0000000000005805  x2  0000000000000006  x3  00000070f8af67b0
    x4  736f646277641f73  x5  736f646277641f73  x6  736f646277641f73  x7  7f7f7f7f7f7f7f7f
    x8  00000000000000f0  x9  000000749aa4d050  x10 0000000000000001  x11 000000749aa92d88
    x12 000000004cec4ec5  x13 0000000000000018  x14 0000007751657283  x15 001a92e5bc265137
    x16 000000749aaf6cf8  x17 000000749aad4bc0  x18 00000070d0c12000  x19 0000000000006c0e
    x20 0000000000005805  x21 00000000ffffffff  x22 ffffff80ffffffc8  x23 00000070f8af6a00
    x24 00000070f8af68e0  x25 00000070f8af6920  x26 000000006f70d0b8  x27 000000000000000a
    x28 00000070f8af7340  x29 00000070f8af6830
    lr  000000749aa84768  sp  00000070f8af6790  pc  000000749aa84794  pst 0000000000001000
35 total frames
backtrace:
      #00 pc 0000000000059794  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 823519391d39a8b2c43bf98a884723b2)
      #01 pc 000000000009ce88  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libc++_shared.so (offset 0x1a4000) (BuildId: ece72a2ebc3774a1be9fd21271258acd3bcdfaa7)
      #02 pc 000000000009d094  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libc++_shared.so (offset 0x1a4000) (BuildId: ece72a2ebc3774a1be9fd21271258acd3bcdfaa7)
      #03 pc 00000000000aead0  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libc++_shared.so (offset 0x1a4000) (BuildId: ece72a2ebc3774a1be9fd21271258acd3bcdfaa7)
      #04 pc 00000000000ae0fc  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libc++_shared.so (offset 0x1a4000) (BuildId: ece72a2ebc3774a1be9fd21271258acd3bcdfaa7)
      #05 pc 00000000000ae058  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libc++_shared.so (offset 0x1a4000) (__cxa_throw+112) (BuildId: ece72a2ebc3774a1be9fd21271258acd3bcdfaa7)
      #06 pc 000000000043c174  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libkiwix.so (offset 0x283000)
      #07 pc 000000000043c034  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libkiwix.so (offset 0x283000)
      #08 pc 000000000041fafc  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libkiwix.so (offset 0x283000)
      #09 pc 000000000042025c  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libkiwix.so (offset 0x283000)
      #10 pc 0000000000420a04  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libkiwix.so (offset 0x283000)
      #11 pc 0000000000422880  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libkiwix.so (offset 0x283000)
      #12 pc 000000000040ab88  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libkiwix.so (offset 0x283000)
      #13 pc 0000000000194c2c  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libzim.so (offset 0xb42000) (zim::SuggestionIterator::getIndexPath() const+140)
      #14 pc 00000000001950e0  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libzim.so (offset 0xb42000) (zim::SuggestionIterator::operator*()+76)
      #15 pc 0000000000027d00  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/base.apk!libzim_wrapper.so (offset 0x119d000) (Java_org_kiwix_libzim_SuggestionIterator_next+500) (BuildId: 6c0d6ee977af86c7d817e067ec4176543043faa4)
      #16 pc 0000000000227430  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 0b2ee62f6cb0551c24eb345d5f024335)
      #17 pc 000000000020a330  /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 0b2ee62f6cb0551c24eb345d5f024335)
      #18 pc 0000000000220476  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/oat/arm64/base.vdex (org.kiwix.kiwixmobile.core.search.viewmodel.SearchState.getVisibleResults+122)
      #19 pc 000000000020a2d4  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 0b2ee62f6cb0551c24eb345d5f024335)
      #20 pc 000000000021e778  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/oat/arm64/base.vdex (org.kiwix.kiwixmobile.core.search.SearchFragment$render$1$searchResult$1.invokeSuspend+12)
      #21 pc 000000000020a2d4  /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 0b2ee62f6cb0551c24eb345d5f024335)
      #22 pc 00000000001c5470  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/oat/arm64/base.vdex (kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith+16)
      #23 pc 00000000020811f4  /memfd:jit-cache (deleted) (offset 0x2000000) (kotlinx.coroutines.DispatchedTask.run+1284)
      #24 pc 000000000020b154  /apex/com.android.art/lib64/libart.so (nterp_helper+7636) (BuildId: 0b2ee62f6cb0551c24eb345d5f024335)
      #25 pc 00000000001d86e0  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/oat/arm64/base.vdex (kotlinx.coroutines.internal.LimitedDispatcher.run+24)
      #26 pc 000000000020b0f4  /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 0b2ee62f6cb0551c24eb345d5f024335)
      #27 pc 00000000001db5d4  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/oat/arm64/base.vdex (kotlinx.coroutines.scheduling.TaskImpl.run+4)
      #28 pc 000000000020b0f4  /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: 0b2ee62f6cb0551c24eb345d5f024335)
      #29 pc 00000000001da42c  /data/app/~~3P8wDwY7xizgrZe35dfvDQ==/org.kiwix.kiwixmobile-Id_qF7hUKFRsG78FB9jHpA==/oat/arm64/base.vdex (kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run+156)
      #30 pc 00000000002109a4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 0b2ee62f6cb0551c24eb345d5f024335)
      #31 pc 00000000002530d0  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+172) (BuildId: 0b2ee62f6cb0551c24eb345d5f024335)
      #32 pc 00000000006712b4  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1416) (BuildId: 0b2ee62f6cb0551c24eb345d5f024335)
      #33 pc 00000000000be388  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 823519391d39a8b2c43bf98a884723b2)
      #34 pc 000000000005afcc  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 823519391d39a8b2c43bf98a884723b2)
MohitMaliFtechiz commented 1 week ago

@kelson42 We have fixed a known issue of Xapian crash in https://github.com/kiwix/kiwix-android/pull/3885. Now there is no concurrency issue in android. @mgautierfr Can you confirm this issue is because of https://github.com/kiwix/kiwix-android/pull/3885 or it is different?

A3148475824 commented 1 week ago

@kelson42 We have fixed a known issue of Xapian crash in #3885. Now there is no concurrency issue in android. @mgautierfr Can you confirm this issue is because of #3885 or it is different?

I can't guarantee what caused the crash! But I believe this is a great app and this was an unexpected crash, because I only had this one crash in the past week.

mgautierfr commented 1 week ago

@mgautierfr Can you confirm this issue is because of https://github.com/kiwix/kiwix-android/pull/3885 or it is different?

I don't know about #3885 but I think it is fixed by https://github.com/openzim/libzim/pull/873 (which may be related to #3855)

kelson42 commented 1 week ago

@mgautierfr OK, but as long as the libzim is broken, we can not benefit of that fix! https://github.com/kiwix/java-libkiwix/pull/109