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

[REG 6.3.0 -> 6.4.0] apps crash on Android device

    XMLWordPrintable

Details

    • Android
    • 2022wk18FOAndroid&Automotive, 2022wk20FOAndroid&Automotive, 2022wk22FOQtforAndroid

    Description

      Install Qt 6.4.0 Android binaries (sha1 052ef1bd9f69e81c0fde7ef4efb29a48c291cf23), launch Creator and open any of the examples and compile with CMake.

      Deploy to device and run the app -> flashes quickly on the screen and then crashes.

      E Zygote  : isWhitelistProcess - Process is Whitelisted 
      E Zygote  : accessInfo : 1
      I .example.clock: Late-enabling -Xcheck:jni
      E .example.clock: Unknown bits set in runtime_flags: 0x8000
      D ActivityThread: setConscryptValidator
      D ActivityThread: setConscryptValidator - put
      W System  : ClassLoader referenced unknown path:
      W .example.clock: Accessing hidden method Landroid/content/ContextWrapper;->getDisplay()Landroid/view/Display; (greylist, linking, allowed)
      D PhoneWindow: forceLight changed to true [] from com.android.internal.policy.PhoneWindow.updateForceLightNavigationBar:4268 com.android.internal.policy.DecorView.updateColorViews:1513 com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged:3246 android.view.Window.setFlags:1148 com.android.internal.policy.PhoneWindow.generateLayout:2474
      I MultiWindowDecorSupport: updateCaptionType >> DecorView@cd43bc3[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
      D MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@cd43bc3[]
      E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
      E AndroidRuntime: Process: org.qtproject.example.clocks, PID: 21014
      E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/org.qtproject.example.clocks-ZhvDF2xDlQJVgt2oJAEG9g==/lib/arm64/libQt6Core_arm64-v8a.so"...
      E AndroidRuntime: at java.lang.Runtime.load0(Runtime.java:938)
      E AndroidRuntime: at java.lang.System.load(System.java:1631)
      E AndroidRuntime: at org.qtproject.qt.android.QtNative$2.run(QtNative.java:461)
      E AndroidRuntime: at org.qtproject.qt.android.QtThread$2.run(QtThread.java:87)
      E AndroidRuntime: at org.qtproject.qt.android.QtThread$1.run(QtThread.java:61)
      E AndroidRuntime: at java.lang.Thread.run(Thread.java:919) 
      

      Was working on 19.4.22 with sha1: dc4acae81ab3dbf6baab5b7f62fc85617ce8dc31

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-102972
          # Subject Branch Project Status CR V

          Activity

            People

              assam Assam Boudjelthia
              joaijala Johanna Äijälä
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes