Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.8.0, Qt Creator 4.8.1
-
None
-
-
3fdb5f53e31f615836b8ed13cecb9527ba165e3c
Description
Steps to reproduce:
- create a new QML application
- change main.cpp to:
#include <QGuiApplication> #include <QQmlApplicationEngine> struct Test { ~Test() { int *crash = nullptr; crash[10] = 11; } }; Test t; int main(int argc, char *argv[]) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app(argc, argv); QQmlApplicationEngine engine; engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); if (engine.rootObjects().isEmpty()) return -1; return 0;//app.exec(); }
- start in debug mode
Before 4.8, QtC catched the crash. Also if I comment all Qt stuff from main() it catches the crash.
Attachments
For Gerrit Dashboard: QTCREATORBUG-21857 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
250964,3 | Debugger: Decouple combined engine rampdown further | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
251127,2 | Debugger: Decouple combined engine rampdown further | 4.8 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |