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

tst_qwidget_window crashes on Android in nightly health check

    XMLWordPrintable

Details

    • Android
    • cc0629a48 (dev), 4076656e2 (6.8)
    • 2024wk40s3FOQtforAndroid

    Description

      In nightly health check there was a crash or something:

      agent:2024/09/21 00:32:50 build.go:404: 423: Starting: Intent { cmp=org.qtproject.example.tst_qwidget_window/org.qtproject.qt.android.bindings.QtActivity (has extras) }
      agent:2024/09/21 00:33:00 build.go:404: 423: "Error: the test's output.junitxml is empty."
      ...
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.386  6818  6862 F _qwidget_windo: java_vm_ext.cc:545] JNI DETECTED ERROR IN APPLICATION: JNI CallIntMethodV called with pending exception android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.386  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void android.view.ViewRootImpl.checkThread() (ViewRootImpl.java:7753)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.386  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void android.view.ViewRootImpl.requestLayout() (ViewRootImpl.java:1225)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.386  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void android.view.View.requestLayout() (View.java:23093)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.386  6818  6862 I chatty  : uid=10515(org.qtproject.example.tst_qwidget_window) identical 4 lines
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.386  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void android.view.View.requestLayout() (View.java:23093)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.386  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void android.view.ViewGroup.addView(android.view.View, int, android.view.ViewGroup$LayoutParams) (ViewGroup.java:4863)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.387  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void android.view.ViewGroup.addView(android.view.View, android.view.ViewGroup$LayoutParams) (ViewGroup.java:4837)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.387  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void org.qtproject.qt.android.QtWindow.<init>(android.content.Context, boolean, org.qtproject.qt.android.QtWindow, org.qtproject.qt.android.QtInputConnection$QtInputConnectionListener) (QtWindow.java:47)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.387  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void org.qtproject.qt.android.QtNative.startQtApplication() (QtNative.java:-2)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.387  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void org.qtproject.qt.android.QtNative$$ExternalSyntheticLambda4.run() (D8$$SyntheticClass:0)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.387  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void org.qtproject.qt.android.QtThread$1.run() (QtThread.java:25)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.387  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]   at void java.lang.Thread.run() (Thread.java:764)
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.387  6818  6862 F _qwidget_windo: java_vm_ext.cc:545] 
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.387  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]     in call to CallIntMethodV
      agent:2024/09/21 00:33:00 build.go:404: 423: 09-21 00:32:59.388  6818  6862 F _qwidget_windo: java_vm_ext.cc:545]     from void org.qtproject.qt.android.QtNative.startQtApplication()
      

      Full log: https://testresults.qt.io/coin/api/log/qt/qtbase/da9b9086a373c959f39a729fc2830609b50e4661/LinuxRHEL_8_10x86_64AndroidAndroid_ANYx86GCCqtci-linux-RHEL-8.10-x86_64-50-fb7e14AndroidTestRun_GenerateSBOM_Packaging_Sccache_UseConfigure_VerifySBOM_WarningsAreErrors/3792e2e18c326ab3e4dc56c779361ee6675ae92a/forceRun/test_1726872043/log.txt.gz
      Integration: https://testresults.qt.io/coin/integration/qt/qt5/tasks/nightly1726869448

      Attachments

        Issue Links

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

          Activity

            People

              pevirkku Petri Virkkunen
              jujokini Jukka Jokiniva
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes