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

QWebEngineView crashes application when clicking on a list item



    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 6.5.2
    • 6.5.1
    • WebEngine
    • None
    • The bug occurred under Qt 6.5.1 on macOS Ventura 13.4.1 (22F82) on an Intel MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports). I have not tested any other machines or operating systems. On the same machine, the bug does not occur with Qt 6.4.3
    • macOS


      The following code invariably causes the entire application to crash when clicking on "Crash", but not when clicking on "No crash":

      #include <QApplication>
      #include <QtWebEngineWidgets/QWebEngineView>
      int main(int argc, char *argv[]) {
          QApplication a(argc, argv);
          QWebEngineView w;
          w.page()->setHtml("No crash<ul><li>Crash</li></ul>");
          return a.exec();


      1. The crash also occurs for both local and remote URLs set using setUrl.
      2. The crash also occurs for the simplebrowser example. To reproduce, load https://en.wikipedia.org/wiki/Wikipedia:Contents and click on the "Vital Articles" link (see attached screen recording).
      3. For real-world Internet web pages, not all list items always cause a crash. However, the examples above (the inline HTML example and the "Vital links" on Wikipedia Contents) always cause a crash.
      4. The bug occurs both in Debug and Release mode. Nothing is output by the MRE (the code snippet above).

      The attachments include:

      • A recording of simplebrowser crashing;
      • a dump of simplebrowser after crashing;
      • A minimum reproducible example (not simplebrowser), essentially the code snippet above with an accompanying .pro file.


        Issue Links

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



              qt_webengine_team Qt WebEngine Team
              alexandervatov alexandervatov
              0 Vote for this issue
              1 Start watching this issue



                Gerrit Reviews

                  There are no open Gerrit changes