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

[6.1.0-alpha] QtQuick3D 'Lights' example crashes on device when built with arm64-v8a ABI

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Install 6.1.0-alpha android binary from staging
      2. Open QtCreator
      3. Select QtQuick3D Lights example
      4. BuildĀ  with arm64-v8a and run

      Expected result:

      The example runs on device

      Actual result:

      The example fails to run with:

      E Zygote  : isWhitelistProcess - Process is Whitelisted
      E Zygote  : accessInfo : 1
      I .example.light: Late-enabling -Xcheck:jni
      W System  : ClassLoader referenced unknown path:
      I DecorView: createDecorCaptionView >> DecorView@53028c0[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
      D OpenGLRenderer: Skia GL Pipeline
      I QtCore  : Start
      E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
      E AndroidRuntime: Process: org.qtproject.example.lights, PID: 32207
      E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: invalid ELF file "/data/app/org.qtproject.example.lights-icPBu7JXNuVHnrv6gGJ7_A==/lib/arm64/libQt6Quick3DAssetImport_arm64-v8a.so" load segment[4]: p_offset (0xe000) + p_filesz (0x0) ( = 0xe000) past end of file (0xdc18)
      E AndroidRuntime: 	at java.lang.Runtime.load0(Runtime.java:928)
      E AndroidRuntime: 	at java.lang.System.load(System.java:1633)
      E AndroidRuntime: 	at org.qtproject.qt.android.QtNative$2.run(QtNative.java:431)
      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:764)
      I Process : Sending signal. PID: 32207 SIG: 9
      "org.qtproject.example.lights" died.
       

      Tested on Ubuntu 20.04 with Samsung Galaxy Tab S4 and Pixel 3a. Does not reproduce with armeabi-v7a.

      Attachments

        Issue Links

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

          Activity

            People

              jani-korteniemi Jani Korteniemi
              mipohjan Milla Pohjanheimo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes