Qt App runs and exits with crash 1073741819
-
@milan
any chance you have old intermediate build files left?
Try deleting the build folder and run a clean build again. -
@raven-worx . I did clean and rebuilt the project, still the problem persists.
-
@milan said in Qt App runs and exits with crash 1073741819:
I did clean and rebuilt the project, still the problem persists.
did you also rerun qmake beforehand?
(clean -> rerun qmake -> build) -
@raven-worx . Yes, I also ran Qmake after cleaning.
-
So, how about posting a stacktrace?
Guessing only get's us so far. -
@milan
try updating your Intel graphics driver to the latest versionAlso what graphics chip do you have exactly?
Did you specify any OpenGL related properties for your application? -
@raven-worx . Also, I get this.
19:03:47: Debugging starts
HEAP[myApp.exe]:
Invalid allocation size - 2d7665640000000a (exceeded 7ffffffdefff). And following exception:
-
@raven-worx . I have Intel HD Graphics 630 and Nvidia Quadro M620. No, I am not using any OpenGL. I do have a QtQuick Widget.
-
@raven-worx. Thanks, you are right. It is Intel graphics driver issue.
-
@milan
did you solve it with an driver update? -
@raven-worx . Yes, it is already resolved. But, I do not understand which widget is using OpenGL.
-
@milan said in Qt App runs and exits with crash 1073741819:
But, I do not understand which widget is using OpenGL
QQuickWidget (=> QML)
Unless you explicitly tell it to use the software rasterizing backend.
e.g. either via codeQQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software);
or via environment variableQT_QUICK_BACKEND=software
(before QApplication instantiation)