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

QWebEngineView crashed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.11.2, 5.12.5, 5.15.2
    • WebEngine
    • None
    • Qt 5.15.2
      x86_64-redhat-linux
      gcc 10.1 c++20
    • Linux/X11

    Description

      Tiny example with QWebEngineView generate crash after view is displayed.

       

      #include <QtWidgets/QApplication>
      #include <QtWebEngineWidgets/QWebEngineView>
      #include <QtWidgets/QMessageBox>
      #include <QtCore/QObject>
      int main( int argc, char* argv[], char* [] )
      {
       QApplication app( argc, argv );
       QWebEngineView view;
       QObject::connect(&view, &QWebEngineView::renderProcessTerminated,
       [](QWebEnginePage::RenderProcessTerminationStatus termStatus, int code) {
       QString status;
       switch (termStatus) {
       case QWebEnginePage::NormalTerminationStatus:
       status = QStringLiteral("Render process normal exit");
       break;
       case QWebEnginePage::AbnormalTerminationStatus:
       status = QStringLiteral("Render process abnormal exit");
       break;
       case QWebEnginePage::CrashedTerminationStatus:
       status = QStringLiteral("Render process crashed");
       break;
       case QWebEnginePage::KilledTerminationStatus:
       status = QStringLiteral("Render process killed");
       break;
       }
       QMessageBox::critical(nullptr, status, QStringLiteral("Render process exited: %1").arg(code));
       
       });
       view.resize(1024, 750);
       view.show();
       
       return app.exec();
      }

       

      The result of run application:

       

      There are no extra information in console, just what i get is the CrashedTerminationStatus signal with 133 status code.

       

      Reopen because new information:

      From 5.11.2 to 5.15.2 and maybe with the newer version, i have error that comes from "QWebEngineView::renderProcessTerminated" signal

      with values:
      (QWebEnginePage::RenderProcessTerminationStatus termStatus, int code)
      CrashedTerminationStatus, 133

      Version that i use is compiled by us (5.15.2), output from configuration is attached.

      Tiny example attached.

       

      When i try to use precompiled one from the Qt service, there is no such problem.

      So i think problem can be somewhere in configuration. But i dont have idea where, please give me some advice what could be wrong.

      Attachments

        1. bt_minizip.txt
          3 kB
        2. bt_sigtrap.txt
          4 kB
        3. bt_symbols.txt
          2 kB
        4. build_log.txt
          460 kB
        5. buildlog_minizip.7z
          929 kB
        6. full_log.7z
          1021 kB
        7. image-2021-05-06-14-32-14-645.png
          image-2021-05-06-14-32-14-645.png
          23 kB
        8. main.cpp
          1 kB
        9. qtconf.txt
          15 kB

        Issue Links

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

          Activity

            People

              michal Michal Klocek
              zloty Paweł Srebrny
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are 2 open Gerrit changes