Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

ARK Shelf crashes when loading some test data #62

Open
tuancoltech opened this issue Dec 18, 2023 · 2 comments
Open

ARK Shelf crashes when loading some test data #62

tuancoltech opened this issue Dec 18, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@tuancoltech
Copy link
Collaborator

ARK Shelf app crashes when loading some test data provided here:
ARK-Builders/ARK-Navigator#412 (comment)

Below is the crash stack trace:

Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 13813 (DefaultDispatch), pid 13787 (ilders.arkshelf)
Cmdline: dev.arkbuilders.arkshelf
pid: 13787, tid: 13813, name: DefaultDispatch  >>> dev.arkbuilders.arkshelf <<<
      #01 pc 000000000060f204  /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!libarklib.so
      #02 pc 000000000060c9d0  /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!libarklib.so
      #03 pc 000000000060c7f4  /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!libarklib.so
      #04 pc 000000000060c540  /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!libarklib.so
      #05 pc 000000000060b234  /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!libarklib.so
      #06 pc 000000000060c290  /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!libarklib.so
      #07 pc 000000000062b63c  /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!libarklib.so
      #08 pc 000000000062b95c  /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!libarklib.so
      #09 pc 00000000002e9f84  /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!libarklib.so (Java_dev_arkbuilders_arklib_LibKt_loadLinkFileNative+1272)
      #12 pc 0000000000422c3a  [anon:dalvik-classes.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk]
      #14 pc 000000000000558e  [anon:dalvik-classes3.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes3.dex]
      #16 pc 0000000000005234  [anon:dalvik-classes3.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes3.dex]
      #18 pc 000000000000514a  [anon:dalvik-classes3.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes3.dex]
      #20 pc 00000000004a7baa  [anon:dalvik-classes.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk]
      #22 pc 00000000001586aa  [anon:dalvik-classes9.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes9.dex]
      #24 pc 000000000014af02  [anon:dalvik-classes9.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes9.dex]
      #26 pc 00000000004a7bfe  [anon:dalvik-classes.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk]
      #28 pc 0000000000150eac  [anon:dalvik-classes9.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes9.dex]
      #30 pc 000000000018654e  [anon:dalvik-classes9.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes9.dex]
      #32 pc 000000000018dffe  [anon:dalvik-classes9.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes9.dex]
      #34 pc 000000000018d102  [anon:dalvik-classes9.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes9.dex]
      #36 pc 000000000018be12  [anon:dalvik-classes9.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes9.dex]
      #38 pc 000000000018bf40  [anon:dalvik-classes9.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes9.dex]
      #40 pc 000000000018bef0  [anon:dalvik-classes9.dex extracted in memory from /data/app/~~IUZgOgwoWHgu_I0i8Furdg==/dev.arkbuilders.arkshelf--T4EM_LqAKrWhBDSX9c5YA==/base.apk!classes9.dex]
@kirillt
Copy link
Member

kirillt commented Dec 19, 2023

@tuancoltech Shelf supports only Link files, I think the test data for Navigator lacks such resource type and only have conventional file types. But Shelf must be robust enough and just ignore unsupported resources.

@tuancoltech
Copy link
Collaborator Author

@tuancoltech Shelf supports only Link files, I think the test data for Navigator lacks such resource type and only have conventional file types. But Shelf must be robust enough and just ignore unsupported resources.

@kirillt Yes, it should not crash in any circumstance.

@kirillt kirillt added the bug Something isn't working label Jan 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants