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

Crash in tst_qquickwebview

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P0: Blocker
    • None
    • 6.8.0 FF
    • WebView
    • None
    • Android

    Description

      --------- beginning of crash
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: FATAL EXCEPTION: main
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: Process: org.qtproject.example.tst_qquickwebview, PID: 6913
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at android.view.ViewGroup.addViewInner(ViewGroup.java:5275)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at android.view.ViewGroup.addView(ViewGroup.java:5104)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at android.view.ViewGroup.addView(ViewGroup.java:5044)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at org.qtproject.qt.android.QtActivityDelegate.lambda$addTopLevelWindow$11$org-qtproject-qt-android-QtActivityDelegate(QtActivityDelegate.java:393)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at org.qtproject.qt.android.QtActivityDelegate$$ExternalSyntheticLambda7.run(Unknown Source:4)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:958)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:205)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:294)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8177)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
      01-20 03:18:09.905  6913  6913 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
      01-20 03:18:09.908  6913  6913 W t_qquickwebview: Attempt to remove non-JNI local reference
      01-20 03:18:09.909  6913  6944 I QTestLib: PASS   : tst_QQuickWebView::navigationStatusAtStartup()
      01-20 03:18:09.920  6913  6913 I Process : Sending signal. PID: 6913 SIG: 9
      ****** End logcat output ******
      

      Build log: https://testresults.qt.io/logs/qt/qtwebview/c00812e4bae85535bddebff157c16ae474ced596/LinuxRHEL_8_8x86_64AndroidAndroid_ANYx86_64GCCqtci-linux-RHEL-8.8-x86_64-50-bb456bAndroidTestRun_Sccache_UseConfigure_WarningsAreErrors/2b5699404c0fbd8e0de8d025b6177d97b635a6f0/test_1706404196/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtwebview/tasks/1706404187

      Tested changes (refs/builds/qtci/dev/1705720231):
      https://codereview.qt-project.org/c/qt/qtwebview/+/532154/3 Update dependencies on 'dev' in qt/qtwebview

      Attachments

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

        Activity

          People

            stromme Christian
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes