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

[Qt 5.15.3] Widget examples crash on Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.15.3
    • Fix Version/s: 5.15.3
    • Component/s: Extras: Android
    • Labels:
    • Platform/s:
      Android

      Description

      Steps to reproduce:

      1. install 5.15.3 android binary via online installer
      2. Build and run 'wiggly' or 'textfinder' example

      Expected result:

      The application builds and runs without errors.

      Actual result:

      The application builds, but crashes at startup with:

       Log I Adreno  : QUALCOMM build                   : 4a00b69, I4e7e888065 January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log I Adreno  : Build Date                       : 04/09/19 January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log I Adreno  : OpenGL ES Shader Compiler Version: EV031.26.06.00 January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log I Adreno  : Local Branch                     : January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log I Adreno  : Remote Branch                    : January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log I Adreno  : Remote Branch                    : January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log I Adreno  : Reconstruct Branch               : January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log I Adreno  : Build Config                     : S P 8.0.6 AArch32 January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log I Adreno  : PFP: 0x016ee183, ME: 0x00000000 January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log W Gralloc3: mapper 3.x is not supported January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log D AndroidRuntime: Shutting down VM January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: FATAL EXCEPTION: main January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: Process: org.qtproject.example.wiggly, PID: 9228 January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.invalidate()' on a null object reference January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: 	at org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate.notifyObjectFocus(QtAccessibilityDelegate.java:206) January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: 	at org.qtproject.qt5.android.QtActivityDelegate.notifyObjectFocus(QtActivityDelegate.java:882) January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: 	at org.qtproject.qt5.android.QtNative$17.run(QtNative.java:962) January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:883) January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100) January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214) January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7356) January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method) January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log I Process : Sending signal. PID: 9228 SIG: 9 January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222
      Log "org.qtproject.example.wiggly" died. January 20, 2021 3:52:46 PM +02:00 /home/qt/work/tqtc-qt-rta/suites/android/shared/android_shared.py:222

      Android ndk 21.3.6528147. Tested on Ubuntu 20.04 with Samsung Galaxy Tab S4 and Pixel 3A (both tested with armeabi-v7 and arm64-v8a). The Qt Creator's Application Output attached as a screen shot.

        Attachments

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

          Activity

            People

            Assignee:
            qtandroidteam Qt Android Team
            Reporter:
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes