Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-132946

[Android] The app crashes on launch when run on armv7 kit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.9.0 Beta2
    • QPA: Android
    • None
    • Android

    Description

      Env:{}

      Mac OS 15.2 Qt 6.9.0b2

      Device Pixel 5 with Android 13

       

      Steps:{}

      1. Create new sample project from Qt Creator with qt quick 
      2. Configure the project against armv7 kit.
      3. Run the app on the device.

       
      Expected: The app runs without any issue.

      Actual: The app crashes on launch. See below logs.

       

      E/default : dlopen failed: dlopen failed: library "/data/app/~~bwl7Lo2tf0N8pEZtquzW-Q==/org.qtproject.example.appuntitled6-GWEBJbuE4JVPsd98NLOyAQ==/base.apk!/lib/arm64-v8a/libappuntitled6_armeabi-v7a.so" not found
      E/Qt JAVA : An error occurred while starting the Qt Android plugin
      I/AdrenoGLES-0: PFP: 0x016dd093, ME: 0x00000000
      F/libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 4750 (qtMainLoopThrea), pid 4727 (le.appuntitled6)
      W/AdrenoUtils: <ReadGpuID_from_sysfs:197>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model
      W/AdrenoUtils: <ReadGpuID:221>: Failed to read chip ID from gpu_model. Fallback to use the GSL path
      E/OpenGLRenderer: Unable to match the desired swap behavior.
      F/DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      F/DEBUG   : Build fingerprint: 'google/redfin/redfin:13/TQ3A.230901.001/10750268:user/release-keys'
      F/DEBUG   : Revision: 'MP1.0'
      F/DEBUG   : ABI: 'arm'
      F/DEBUG   : Timestamp: 2025-01-20 21:08:01.565441409+0100
      F/DEBUG   : Process uptime: 2s
      F/DEBUG   : Cmdline: org.qtproject.example.appuntitled6
      F/DEBUG   : pid: 4727, tid: 4750, name: qtMainLoopThrea  >>> org.qtproject.example.appuntitled6 <<<
      F/DEBUG   : uid: 11210
      F/DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000000
      F/DEBUG   : Cause: null pointer dereference
      F/DEBUG   :     r0  00000001  r1  e8a383fc  r2  00000000  r3  00000000
      F/DEBUG   :     r4  00000001  r5  c5a3caac  r6  c5a3cab8  r7  e8a38818
      F/DEBUG   :     r8  00000001  r9  0000001e  r10 e8a38830  r11 e410e010
      F/DEBUG   :     ip  00000000  sp  e8a383d0  lr  c5a0c8c9  pc  00000000
      F/DEBUG   : backtrace:
      F/DEBUG   :       #00 pc 00000000  <unknown>
      F/DEBUG   :       #01 pc 000398c7  /data/app/~~bwl7Lo2tf0N8pEZtquzW-Q==/org.qtproject.example.appuntitled6-GWEBJbuE4JVPsd98NLOyAQ==/base.apk (offset 0x1e8c000) (BuildId: a227f33d793499a455baabc7c792b27e67c138d9)
      F/DEBUG   :       #02 pc 000aedad  /apex/com.android.art/lib/libart.so (art_quick_generic_jni_trampoline+44) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #03 pc 000a7975  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #04 pc 005f86e5  /apex/com.android.art/lib/libart.so (art_quick_invoke_static_stub+246) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #05 pc 0025b903  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+162) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #06 pc 00364f7f  /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+270) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #07 pc 00362e37  /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1534) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #08 pc 000b50fd  /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+14372) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #09 pc 000af875  /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #10 pc 00200518  /data/app/~~bwl7Lo2tf0N8pEZtquzW-Q==/org.qtproject.example.appuntitled6-GWEBJbuE4JVPsd98NLOyAQ==/base.apk (org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run+0)
      F/DEBUG   :       #11 pc 0035cbbf  /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238)+302) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #12 pc 003625c9  /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #13 pc 00362e1f  /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1510) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #14 pc 000b4e4b  /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+13682) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #15 pc 000af875  /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #16 pc 002021dc  /data/app/~~bwl7Lo2tf0N8pEZtquzW-Q==/org.qtproject.example.appuntitled6-GWEBJbuE4JVPsd98NLOyAQ==/base.apk (org.qtproject.qt.android.QtThread$1.run+0)
      F/DEBUG   :       #17 pc 0035cbbf  /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238)+302) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #18 pc 00362559  /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+184) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #19 pc 005e9e2b  /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+538) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #20 pc 000aee53  /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+34) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #21 pc 020037d3  /memfd:jit-cache (deleted) (offset 0x2000000) (java.lang.Thread.run+130)
      F/DEBUG   :       #22 pc 000a7975  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #23 pc 005f85e5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+248) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #24 pc 0025b8d9  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+120) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #25 pc 00564255  /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+1108) (BuildId: 814f9dc525f25c22aa42451c6db9625c)
      F/DEBUG   :       #26 pc 00083d3f  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: d40bc637a5e47a9f583f4637d5de96bf)
      F/DEBUG   :       #27 pc 0003abad  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: d40bc637a5e47a9f583f4637d5de96bf)
      21:08:02: Android target "org.qtproject.example.appuntitled6" died.
       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              assam Assam Boudjelthia
              lkos Łukasz Kosiorowski
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes