Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.11.2, 5.12.5, 5.15.2
-
None
-
Qt 5.15.2
x86_64-redhat-linux
gcc 10.1 c++20
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
Issue Links
- is duplicated by
-
QTBUG-97988 QWebEngineView fails because of renderProcessTerminated
- Closed