jarnedemeulemeester / findroid

Third-party native Jellyfin Android app
GNU General Public License v3.0
2.67k stars 167 forks source link

App crash on launch #815

Closed Lowxorx closed 2 months ago

Lowxorx commented 3 months ago

Describe the bug Since I updated the app to 0.15.1, the application crash on launch

I tried to rollback to 0.15.0 and the problem disappeared

To Reproduce Steps to reproduce the behavior:

  1. Launch app
  2. App force close

Expected behavior App launch normally

Device info (please complete the following information):

Additional context Crash log : ` Matrixx Version: '10.7.1' Build fingerprint: 'POCO/mondrian_global/mondrian:14/UKQ1.230804.001/V816.0.7.0.UMNMIXM:user/release-keys' Revision: '0' ABI: 'arm' Timestamp: 2024-08-16 08:42:55.137908788+0200 Process uptime: 3s Cmdline: dev.jdtech.jellyfin pid: 25798, tid: 25835, name: RenderThread >>> dev.jdtech.jellyfin <<< uid: 10519 signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- Abort message: 'Failed to get EGL_DEFAULT_DISPLAY! err=EGL_SUCCESS' r0 00000000 r1 000064eb r2 00000006 r3 e9d31c60 r4 e9d31c70 r5 e9d31c58 r6 000064c6 r7 0000016b r8 00000000 r9 ffffffff r10 e9d31c60 r11 f5f40b60 ip 000064eb sp e9d31c40 lr f5eb62ef pc f5eb6302 15 total frames backtrace:

00 pc 0006f302 /apex/com.android.runtime/lib/bionic/libc.so (abort+138) (BuildId: 400029dadb526104816f02fb229c38c3)

  #01 pc 0054ad0d  /apex/com.android.art/lib/libart.so (art::Runtime::Abort(char const*)+1112) (BuildId: 1d8460b242f87ba564d89a59a5fd9537)
  #02 pc 0000ee7f  /apex/com.android.art/lib/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_0::__invoke(char const*)+46) (BuildId: 749057503ec1fe459d236e78a857d895)
  #03 pc 00006035  /system/lib/liblog.so (__android_log_assert+160) (BuildId: 435787a497a9ebeb3fa92935526115f4)
  #04 pc 00133411  /system/lib/libhwui.so (android::uirenderer::renderthread::EglManager::initialize()+1600) (BuildId: e322a8821cac893da8d396f7a2300e55)
  #05 pc 0013fb6f  /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::requireGlContext()+46) (BuildId: e322a8821cac893da8d396f7a2300e55)
  #06 pc 00128899  /system/lib/libhwui.so (android::uirenderer::skiapipeline::SkiaOpenGLPipeline::setSurface(ANativeWindow*, android::uirenderer::renderthread::SwapBehavior)+72) (BuildId: e322a8821cac893da8d396f7a2300e55)
  #07 pc 0012f969  /system/lib/libhwui.so (android::uirenderer::renderthread::CanvasContext::setupPipelineSurface()+40) (BuildId: e322a8821cac893da8d396f7a2300e55)
  #08 pc 0012f78d  /system/lib/libhwui.so (android::uirenderer::renderthread::CanvasContext::setSurface(ANativeWindow*, bool)+144) (BuildId: e322a8821cac893da8d396f7a2300e55)
  #09 pc 0013d96d  /system/lib/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::RenderProxy::setSurface(ANativeWindow*, bool)::$_0, std::__1::allocator<android::uirenderer::renderthread::RenderProxy::setSurface(ANativeWindow*, bool)::$_0>, void ()>::operator()() (.__uniq.110435125376433984577876079601927332169.f4f0be3bd9270205fbe2c7c972d646af)+12) (BuildId: e322a8821cac893da8d396f7a2300e55)
  #10 pc 00122961  /system/lib/libhwui.so (android::uirenderer::WorkQueue::process()+384) (BuildId: e322a8821cac893da8d396f7a2300e55)
  #11 pc 00140571  /system/lib/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+480) (BuildId: e322a8821cac893da8d396f7a2300e55)
  #12 pc 0000bcf9  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+128) (BuildId: 85faa09b8e40ced88b5cf8ce50fde2df)
  #13 pc 0007b103  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: 400029dadb526104816f02fb229c38c3)
  #14 pc 0007140f  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 400029dadb526104816f02fb229c38c3)`
jarnedemeulemeester commented 3 months ago

I have no idea what's going on here. And I have not seen any other reports of the app crashing on launch.

Could you try installing 0.15.1 again and clearing all app storage?

Lowxorx commented 3 months ago

I have no idea what's going on here. And I have not seen any other reports of the app crashing on launch.

Could you try installing 0.15.1 again and clearing all app storage?

Thank you for your reply. I do suspect that this is a particular bug, it also surprised me not to see other reports about this problem.

I've already completely reinstalled the application and that hasn't solved the problem. I'm still on 0.15.0 for now, the error is probably due to a dependency update and the fact that I'm using a custom aosp build.

I'll let you know if I find anything.

Lowxorx commented 2 months ago

Updating vendors blobs and rebuilding fixes the issue. Thanks for your time.