Qt Creator 4.8.0 start up crash
I'm on Win7 and Qt Creator 4.8.0 now crashes after upgrading to it from Qt Creator 4.5.0. From Visual Studio, I get:
Unhandled exception at 0x7735DF96 (ntdll.dll) in qtcreator.exe: 0xC00000FD: Stack overflow (parameters: 0x00000001, 0x00272FC0). occurred
The stack is:
> ntdll.dll!__SEH_prolog4() Unknown ntdll.dll!_RtlAllocateHeap@12() Unknown ucrtbase.dll!_malloc_base() + 37 bytes Unknown [Frames below may be incorrect and/or missing, no symbols loaded for ucrtbase.dll] Unknown Qt5Core.dll!QListData::detach() + 30 bytes Unknown Android4.dll!Android::AndroidConfigurations::defaultDevice() + 1235 bytes Unknown Android4.dll!0fc24043() Unknown Android4.dll!0fc3d35c() Unknown ProjectExplorer4.dll!ProjectExplorer::GccToolChain::originalTargetTriple() + 74 bytes Unknown Android4.dll!0fc3d36e() Unknown ProjectExplorer4.dll!ProjectExplorer::GccToolChain::originalTargetTriple() + 74 bytes Unknown Android4.dll!0fc3d36e() Unknown ProjectExplorer4.dll!ProjectExplorer::GccToolChain::originalTargetTriple() + 74 bytes Unknown Android4.dll!0fc3d36e() Unknown ProjectExplorer4.dll!ProjectExplorer::GccToolChain::originalTargetTriple() + 74 bytes Unknown Android4.dll!0fc3d36e() Unknown ... ad inifinitum ...
What should I do? Uninstall the Mingw and Android stuff?
Started qtcreator.exe with -noload Android and then disabled it from Help > About Plugins. Now I can start it up normally but without Android support. This is on an install that I've been steadily upgrading since the first official Android support came out. Of course, now I can't build for Android anymore.
Interestingly, we had a similar issue some days ago on Linux: https://forum.qt.io/topic/97959/qt-creator-4-8-0-doesn-t-launch-in-ubuntu-18-04
- Did you only upgrade QtCreator or also Qt?
- Can you list the version numbers of the involved components (Qt, Android SDK, Android NDK, Compilers, etc)?
There is now also QTCREATORBUG-21780. You can track and comment it to get more information about the problem.
functor0 last edited by functor0
As far as I know, I added latest of everything since I only use Qt for this one hobby project of mines. To be precise, I've got:
- Qt 5.8, 5.10, 5.12
- Android ARMv7 (GCC 4.9) for all 3 above Qt versions
- MinGW 7.3.0 64-bit
- MinGW 5.3.0 32-bit
Thanks for point out the bug issue! I don't spend much time on this project so I'll just try removing old stuff first. It's such a pain debugging on Android that I just develop on Windows so there's no immediate need for Android to work for me just yet.
PS. I haven't been steadily updating the Android SDK so I'm still on Android SDK Tools rev 23, Android 5.0.1 (API 21), and Android 4.4.2 (API 19).
functor0 last edited by functor0
On a hunch, I noticed that my app had "Android for armeabi-v7a (GCC 4.9...)" for Android under the Projects tab and then noted that I no longer had any versions of MinGW 4.9.X installed. So instead of removing things, I added "MingGW 4.9.2 32-bit" instead. Then I went back into Qt Creator and re-enabled the Android plugin. Lo and behold Qt Creator starts up again with it enabled!
I'll comment on the issue.
Thanks @aha_1980 for helping me out!
Jake 0 last edited by
Yup, this fixed the startup crash for me also. Thanks!
I found a stack overflow occurring in Qt Creator in the Windows Application Event log... (running Dependancies was not useful)
Exception code: 0xc00000fd (stack overflow) occurred upon launching Qt Creator.
Then found that I could get things working if I launched Qt Creator without Android support via:
qtcreator.exe -noload Android
Then confirmed that this was resolved by adding missing 32bit:
"MingGW 4.9.2 32-bit" support
Faulting application name: qtcreator.exe, version: 126.96.36.199, time stamp: 0x5c052aa7
Faulting module name: ntdll.dll, version: 6.1.7601.24335, time stamp: 0x5c267e2a
Exception code: 0xc00000fd
Fault offset: 0x0002df96
Faulting process id: 0x29e4
Faulting application start time: 0x01d4ad247adfd6e8
Faulting application path: D:\Qt\Tools\QtCreator\bin\qtcreator.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: ba76202c-1917-11e9-83e5-005056c00008