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

WebEngine crashes on github.com

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 6.4.1, 6.5.0 Beta1
    • 6.4.0
    • WebEngine
    • None
    • Linux/X11
    • 64b7da9dab (qt/qtwebengine/dev) 81bf140583 (qt/qtwebengine/6.4) 81bf140583 (qt/tqtc-qtwebengine/6.4) 81bf140583 (qt/tqtc-qtwebengine/6.4.1)

    Description

      Since updating to Qt 6.4.0 WebEngine crashes on github.com, provided you are signed in. Even an application that consists of just A webengine view crashes. Minimal script to reproduce:

       

      Run the following,

      ```

      from PyQt6.QtWidgets import QApplication
      from PyQt6.QtCore import QUrl
      from PyQt6.QtWebEngineWidgets import QWebEngineView

      app = QApplication([])

      w = QWebEngineView()
      w.setUrl(QUrl('https://github.com/kovidgoyal/vise'))
      w.show()
      app.exec()

      ```

       

      click sign in and sign into github. The application crashes after a couple of seconds. Unfortunately I dont have the time to build a debug version of webengine to produce a meaningful backtrace with at the moment, the crash happens over a dozen calls inside libQt6WebEngineCore

      ```

      Stack trace of thread 183756:
      #0 0x00007f367a75c0ce n/a (libQt6WebEngineCore.so.6 + 0xb5c0ce)
      #1 0x00007f367c2c5174 n/a (libQt6WebEngineCore.so.6 + 0x26c5174)
      #2 0x00007f367b8c8836 n/a (libQt6WebEngineCore.so.6 + 0x1cc8836)
      #3 0x00007f367e49aaf3 n/a (libQt6WebEngineCore.so.6 + 0x489aaf3)
      #4 0x00007f367e49b94e n/a (libQt6WebEngineCore.so.6 + 0x489b94e)
      #5 0x00007f367e49a53d n/a (libQt6WebEngineCore.so.6 + 0x489a53d)
      #6 0x00007f367e49fa48 n/a (libQt6WebEngineCore.so.6 + 0x489fa48)
      #7 0x00007f367e4a2c75 n/a (libQt6WebEngineCore.so.6 + 0x48a2c75)
      #8 0x00007f367e49b94e n/a (libQt6WebEngineCore.so.6 + 0x489b94e)
      #9 0x00007f367e4953a6 n/a (libQt6WebEngineCore.so.6 + 0x48953a6)
      #10 0x00007f367e495c16 n/a (libQt6WebEngineCore.so.6 + 0x4895c16)
      #11 0x00007f367e4b8393 n/a (libQt6WebEngineCore.so.6 + 0x48b8393)
      #12 0x00007f367dcfab3a n/a (libQt6WebEngineCore.so.6 + 0x40fab3a)
      #13 0x00007f367dd1049a n/a (libQt6WebEngineCore.so.6 + 0x411049a)
      #14 0x00007f367dd10d71 n/a (libQt6WebEngineCore.so.6 + 0x4110d71)
      #15 0x00007f367a7433d2 n/a (libQt6WebEngineCore.so.6 + 0xb433d2)
      #16 0x00007f3685d6be56 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x16be56)
      #17 0x00007f3684175b5c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x175b5c)
      #18 0x00007f3683363a07 n/a (QtWidgets.abi3.so + 0x363a07)
      #19 0x00007f3685d2a408 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x12a408)
      #20 0x00007f3685d2a5db _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x12a5db)
      #21 0x00007f3685f4f608 n/a (libQt6Core.so.6 + 0x34f608)
      #22 0x00007f3685b1881b g_main_context_dispatch (libglib-2.0.so.0 + 0x5581b)
      #23 0x00007f3685b6eec9 n/a (libglib-2.0.so.0 + 0xabec9)
      #24 0x00007f3685b170d2 g_main_context_iteration (libglib-2.0.so.0 + 0x540d2)
      #25 0x00007f3685f4d602 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x34d602)
      #26 0x00007f3685d357b4 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1357b4)
      #27 0x00007f3685d2d02b _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x12d02b)
      #28 0x00007f3683360eae n/a (QtWidgets.abi3.so + 0x360eae)
      #29 0x00007f368a956998 n/a (libpython3.10.so.1.0 + 0x156998)
      #30 0x00007f368a95024b _PyObject_MakeTpCall (libpython3.10.so.1.0 + 0x15024b)
      #31 0x00007f368a94b58e _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x14b58e)
      #32 0x00007f368a944dd0 n/a (libpython3.10.so.1.0 + 0x144dd0)
      #33 0x00007f368a9f3fb4 PyEval_EvalCode (libpython3.10.so.1.0 + 0x1f3fb4)
      #34 0x00007f368a9fa29b n/a (libpython3.10.so.1.0 + 0x1fa29b)
      #35 0x00007f368a95701f n/a (libpython3.10.so.1.0 + 0x15701f)
      #36 0x00007f368a946186 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x146186)
      #37 0x00007f368a956e29 _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x156e29)
      #38 0x00007f368a946186 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x146186)
      #39 0x00007f368a956e29 _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x156e29)
      #40 0x00007f368a946186 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x146186)
      #41 0x00007f368a956e29 _PyFunction_Vectorcall (libpython3.10.so.1.0 + 0x156e29)
      #42 0x00007f368a946186 _PyEval_EvalFrameDefault (libpython3.10.so.1.0 + 0x146186)
      #43 0x00007f368a944dd0 n/a (libpython3.10.so.1.0 + 0x144dd0)
      #44 0x00007f368a9f3fb4 PyEval_EvalCode (libpython3.10.so.1.0 + 0x1f3fb4)
      #45 0x00007f368aa039d3 n/a (libpython3.10.so.1.0 + 0x2039d3)
      #46 0x00007f368a9ff36a n/a (libpython3.10.so.1.0 + 0x1ff36a)
      #47 0x00007f368a8a273c n/a (libpython3.10.so.1.0 + 0xa273c)
      #48 0x00007f368a8a23ed _PyRun_SimpleFileObject (libpython3.10.so.1.0 + 0xa23ed)
      #49 0x00007f368a8a2da0 _PyRun_AnyFileObject (libpython3.10.so.1.0 + 0xa2da0)
      #50 0x00007f368aa102ad Py_RunMain (libpython3.10.so.1.0 + 0x2102ad)
      #51 0x00007f368a9e547b Py_BytesMain (libpython3.10.so.1.0 + 0x1e547b)
      #52 0x00007f368a63c290 n/a (libc.so.6 + 0x23290)
      #53 0x00007f368a63c34a __libc_start_main (libc.so.6 + 0x2334a)
      #54 0x0000558d06e48045 _start (python3.10 + 0x1045)

      ```

      Attachments

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

        Activity

          People

            mnegyokru Martin Negyokru
            kovidgoyal Kovid Goyal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes