Qt App runs and exits with crash 1073741819
-
wrote on 24 Sept 2018, 07:49 last edited by
Hello, I have running Qt Project. But recently, I uninstalled Qt Creator and installed new version. Also, I updated the Microsoft Visual Studio 2017 to latest version. After update, I can still the project with MSVC compiler, but I cannot run the Qt GUI application. It tries to run, but it exits with code 1073741819. Please help.
-
Hello, I have running Qt Project. But recently, I uninstalled Qt Creator and installed new version. Also, I updated the Microsoft Visual Studio 2017 to latest version. After update, I can still the project with MSVC compiler, but I cannot run the Qt GUI application. It tries to run, but it exits with code 1073741819. Please help.
@milan
any chance you have old intermediate build files left?
Try deleting the build folder and run a clean build again. -
@milan
any chance you have old intermediate build files left?
Try deleting the build folder and run a clean build again.wrote on 24 Sept 2018, 07:59 last edited by@raven-worx . I did clean and rebuilt the project, still the problem persists.
-
@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) -
@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)wrote on 24 Sept 2018, 08:05 last edited by@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? -
@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?wrote on 24 Sept 2018, 17:11 last edited by milan@raven-worx . Also, I get this.
19:03:47: Debugging starts
HEAP[myApp.exe]:
Invalid allocation size - 2d7665640000000a (exceeded 7ffffffdefff). And following exception:
-
@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?wrote on 24 Sept 2018, 17:17 last edited by@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.
-
wrote on 24 Sept 2018, 17:44 last edited by
@raven-worx. Thanks, you are right. It is Intel graphics driver issue.
-
@milan
did you solve it with an driver update? -
@milan
did you solve it with an driver update?wrote on 25 Sept 2018, 06:46 last edited by@raven-worx . Yes, it is already resolved. But, I do not understand which widget is using OpenGL.
-
@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)
1/14