Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt debugging crashes after update of Qt Maintenance Tool und Qt Creator 4.8.2 Debugger Support



  • Today I made the recommended update on Windows 10 of Qt Maintenance Tool and then updated Qt Creator Debugger Support to version 4.8.2-0, release date 2019-03-01. Now all of my projects are crashing immediately after starting debugger (release works fine) with the error message "The CDB process terminated". I am using Qt 5.9.7 and MSVC 2015 32-bit.

    Can anyone help me what's going wrong?


  • Lifetime Qt Champion

    @ornello you could have a look at Windows > Views > Debugger Log and see if that gives some more insight.



  • The process crashes after loading Qt5QuickWidgetsd.dll (see below)...

    dStart parameters: 'app' mode: 1
    dABI: x86-windows-msvc2015-pe-32bit
    dLanguages: c++
    dExecutable: Q:\Build\capella-qt\capella-cloud_Debug\app\debug\app.exe
    dDirectory: Q:\Build\capella-qt\capella-cloud_Debug\app
    dDebugger: C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe
    dProject: Q:\Develop\helperCode\capella-cloud
    dAdditional Search Directories:
    dSysroot:
    dDebug Source Location:
    dDebugger settings:
    dAdditionalArguments: (default: )
    dAdjustBreakpointLocations: true (default: true)
    dAllPluginBreakpoints: true (default: true)
    dAlwaysAdjustColumnWidths: true (default: true)
    dAutoDerefPointers: true (default: true)
    dAutoEnrichParameters: true (default: true)
    dAutoQuit: false (default: false)
    dBreakEvent: (default: )
    dBreakOnAbort: false (default: false)
    dBreakOnCatch: false (default: false)
    dBreakOnCrtDbgReport: false (default: false)
    dBreakOnFatal: false (default: false)
    dBreakOnThrow: false (default: false)
    dBreakOnWarning: false (default: false)
    dBreakpointCorrection: true (default: true)
    dBreakpointsFullPath: false (default: false)
    dCDB_Console: false (default: false)
    dCloseBuffersOnExit: false (default: false)
    dCloseMemoryBuffersOnExit: true (default: true)
    dDisplayStringLimit: 100 (default: 100)
    dEnableReverseDebugging: false (default: false)
    dExtraDumperFile: (default: )
    dFirstChanceExceptionTaskEntry: true (default: true)
    dFontSizeFollowsEditor: false (default: false)
    dGdbCustomDumperCommands: (default: )
    dGdbPostAttachCommands: (default: )
    dGdbStartupCommands: (default: )
    dIdentifyDebugInfoPackages: false (default: false)
    dIgnoreFirstChanceAccessViolation: false (default: false)
    dIntelFlavor: false (default: false)
    dLoadGdbDumpers2: false (default: false)
    dLoadGdbInit: true (default: true)
    dLogTimeStamps: false (default: false)
    dMaximalStackDepth: 20 (default: 20)
    dMaximalStringLength: 10000 (default: 10000)
    dMultiInferior: false (default: false)
    dNoPluginBreakpoints: false (default: false)
    dQmlInspector.ShowAppOnTop: false (default: false)
    dRaiseOnInterrupt: true (default: true)
    dRegisterForPostMortem: false (default: false)
    dSecondChanceExceptionTaskEntry: true (default: true)
    dSelectedPluginBreakpoints: false (default: false)
    dSelectedPluginBreakpointsPattern: .* (default: .*)
    dShowQObjectNames2: true (default: true)
    dShowQmlObjectTree: true (default: true)
    dShowQtNamespace: true (default: true)
    dShowStandardNamespace: true (default: true)
    dShowThreadNames: false (default: false)
    dSkipKnownFrames: false (default: false)
    dSortStructMembers: false (default: true) ***
    dSourcePaths: (default: )
    dStationaryEditorWhileStepping: false (default: false)
    dSwitchModeOnExit: false (default: false)
    dSymbolPaths: (default: )
    dTargetAsync: false (default: false)
    dUseAddressInBreakpointsView: false (default: false)
    dUseAddressInStackView: false (default: false)
    dUseAlternatingRowColours: false (default: false)
    dUseCodeModel: true (default: true)
    dUseDebuggingHelper: true (default: true)
    dUseDynamicType: true (default: true)
    dUseMessageBoxForSignals: true (default: true)
    dUsePythonDumper: true (default: true)
    dUseToolTips: true (default: true)
    dUseToolTipsInBreakpointsView: true (default: false) ***
    dUseToolTipsInLocalsView: false (default: false)
    dUseToolTipsInStackView: true (default: true)
    dWarnOnReleaseBuilds: true (default: true)
    dWatchdogTimeout: 20 (default: 20)
    dState changed from DebuggerNotReady(0) to EngineSetupRequested(1)
    dCALL: SETUP ENGINE
    Launching C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe -aqtcreatorcdbext.dll -lines -G -c .idle_cmd !qtcreatorcdbext.idle -y "" Q:\Build\capella-qt\capella-cloud_Debug\app\debug\app.exe
    using C:\Qt\Tools\QtCreator\lib\qtcreatorcdbext32\qtcreatorcdbext.dll of 28.02.2019 16:17.
    C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe running as 6296
    Microsoft (R) Windows Debugger Version 6.3.9600.17298 X86
    Using CDB based breakpoint correction.
    Copyright (c) Microsoft Corporation. All rights reserved.
    CommandLine: Q:\Build\capella-qt\capella-cloud_Debug\app\debug\app.exe
    Error: Attempts to access '""' failed: 0x7b - Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.
    ************* Symbol Path validation summary **************
    Response Time (ms) Location
    Error ""
    Symbol search path is: ""
    Executable search path is:
    Module loaded: app.exe
    Module loaded: ntdll.dll
    Module loaded: C:\WINDOWS\SysWOW64\KERNEL32.DLL
    Module loaded: C:\WINDOWS\SysWOW64\KERNELBASE.dll
    Module loaded: C:\Program Files\Symantec.cloud\EndpointProtectionAgent\NortonData\22.15.1.8\Definitions\BASHDefs\20190409.001\UMEngx86.dll
    Module loaded: C:\WINDOWS\SysWOW64\SHELL32.dll
    Module loaded: C:\WINDOWS\SysWOW64\msvcrt.dll
    Module loaded: C:\WINDOWS\SysWOW64\cfgmgr32.dll
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5WebEngineWidgetsd.dll
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5Networkd.dll
    Module loaded: C:\WINDOWS\SysWOW64\ucrtbase.dll
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5Widgetsd.dll
    Module loaded: C:\WINDOWS\SysWOW64\shcore.dll
    Module loaded: C:\WINDOWS\SysWOW64\RPCRT4.dll
    Module loaded: C:\WINDOWS\SysWOW64\SspiCli.dll
    Module loaded: C:\WINDOWS\SysWOW64\CRYPTBASE.dll
    Module loaded: C:\WINDOWS\SysWOW64\bcryptPrimitives.dll
    Module loaded: C:\WINDOWS\SysWOW64\sechost.dll
    Module loaded: C:\WINDOWS\SysWOW64\combase.dll
    Module loaded: C:\WINDOWS\SysWOW64\windows.storage.dll
    Module loaded: C:\WINDOWS\SysWOW64\WS2_32.dll
    Module loaded: C:\WINDOWS\SysWOW64\GDI32.dll
    Module loaded: C:\WINDOWS\SysWOW64\msvcp_win.dll
    Module loaded: C:\WINDOWS\SysWOW64\gdi32full.dll
    Module loaded: C:\WINDOWS\SysWOW64\advapi32.dll
    Module loaded: C:\WINDOWS\SysWOW64\ADVAPI32.dll
    Module loaded: C:\WINDOWS\SysWOW64\USER32.dll
    Module loaded: C:\WINDOWS\SysWOW64\CRYPT32.dll
    Module loaded: C:\WINDOWS\SysWOW64\profapi.dll
    Module loaded: C:\WINDOWS\SysWOW64\win32u.dll
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5Cored.dll
    Module loaded: C:\WINDOWS\SysWOW64\MSASN1.dll
    Module loaded: C:\WINDOWS\SysWOW64\powrprof.dll
    Module loaded: C:\WINDOWS\SysWOW64\shlwapi.dll
    Module loaded: C:\WINDOWS\SysWOW64\ole32.dll
    Module loaded: C:\WINDOWS\SysWOW64\ucrtbased.dll
    Module loaded: C:\WINDOWS\SysWOW64\kernel.appcore.dll
    Module loaded: C:\WINDOWS\SysWOW64\cryptsp.dll
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5PrintSupportd.dll
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5Quickd.dll
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5WebEngineCored.dll
    Module loaded: C:\WINDOWS\SysWOW64\COMDLG32.dll
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5Guid.dll
    Module loaded: C:\WINDOWS\SysWOW64\OLEAUT32.dll
    Module loaded: C:\WINDOWS\SysWOW64\PSAPI.DLL
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5QuickWidgetsd.dll
    eERROR: Process crashed
    dCDB PROCESS FINISHED, status 1, exit code -1073741515
    dNOTE: INFERIOR ILL
    dState changed from EngineSetupRequested(1) to InferiorShutdownRequested(13)
    dCALL: SHUTDOWN INFERIOR
    dINFERIOR FINISHED SHUT DOWN
    dState changed from InferiorShutdownRequested(13) to InferiorShutdownFinished(14)
    dState changed from InferiorShutdownFinished(14) to EngineShutdownRequested(15)
    dCALL: SHUTDOWN ENGINE
    dNOTE: ENGINE SHUTDOWN FINISHED
    dState changed from EngineShutdownRequested(15) to EngineShutdownFinished(16)
    Debugger finished.
    dState changed from EngineShutdownFinished(16) to DebuggerFinished(17)


  • Lifetime Qt Champion

    @ornello so could you try a program without QtQuick, like a QtWidgets project from the Wizard?



  • I don't think QtQuick is the problem. I have now created a very simple Qt Widgets Application project using the QtCreator wizard: File -> New File or Project -> Application -> Qt Widgets Application -> Next -> Next -> Next -> Finish. This also crashes when debugging. Here is the log:

    ...
    dStart parameters: 'untitled' mode: 1
    dABI: x86-windows-msvc2015-pe-32bit
    dLanguages: c++
    dExecutable: C:\Entwicklung\build-untitled-Desktop_Qt_5_9_7_MSVC2015_32bit-Debug\debug\untitled.exe
    dDirectory: C:\Entwicklung\build-untitled-Desktop_Qt_5_9_7_MSVC2015_32bit-Debug
    dDebugger: C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe
    dProject: C:\Entwicklung\untitled
    dAdditional Search Directories:
    dSysroot:
    dDebug Source Location:
    dDebugger settings:
    dAdditionalArguments: (default: )
    dAdjustBreakpointLocations: true (default: true)
    dAllPluginBreakpoints: true (default: true)
    dAlwaysAdjustColumnWidths: true (default: true)
    dAutoDerefPointers: true (default: true)
    dAutoEnrichParameters: true (default: true)
    dAutoQuit: false (default: false)
    dBreakEvent: (default: )
    dBreakOnAbort: false (default: false)
    dBreakOnCatch: false (default: false)
    dBreakOnCrtDbgReport: false (default: false)
    dBreakOnFatal: false (default: false)
    dBreakOnThrow: false (default: false)
    dBreakOnWarning: false (default: false)
    dBreakpointCorrection: true (default: true)
    dBreakpointsFullPath: false (default: false)
    dCDB_Console: false (default: false)
    dCloseBuffersOnExit: false (default: false)
    dCloseMemoryBuffersOnExit: true (default: true)
    dDisplayStringLimit: 100 (default: 100)
    dEnableReverseDebugging: false (default: false)
    dExtraDumperFile: (default: )
    dFirstChanceExceptionTaskEntry: true (default: true)
    dFontSizeFollowsEditor: false (default: false)
    dGdbCustomDumperCommands: (default: )
    dGdbPostAttachCommands: (default: )
    dGdbStartupCommands: (default: )
    dIdentifyDebugInfoPackages: false (default: false)
    dIgnoreFirstChanceAccessViolation: false (default: false)
    dIntelFlavor: false (default: false)
    dLoadGdbDumpers2: false (default: false)
    dLoadGdbInit: true (default: true)
    dLogTimeStamps: false (default: false)
    dMaximalStackDepth: 20 (default: 20)
    dMaximalStringLength: 10000 (default: 10000)
    dMultiInferior: false (default: false)
    dNoPluginBreakpoints: false (default: false)
    dQmlInspector.ShowAppOnTop: false (default: false)
    dRaiseOnInterrupt: true (default: true)
    dRegisterForPostMortem: false (default: false)
    dSecondChanceExceptionTaskEntry: true (default: true)
    dSelectedPluginBreakpoints: false (default: false)
    dSelectedPluginBreakpointsPattern: .* (default: .*)
    dShowQObjectNames2: true (default: true)
    dShowQmlObjectTree: true (default: true)
    dShowQtNamespace: true (default: true)
    dShowStandardNamespace: true (default: true)
    dShowThreadNames: false (default: false)
    dSkipKnownFrames: false (default: false)
    dSortStructMembers: false (default: true) ***
    dSourcePaths: (default: )
    dStationaryEditorWhileStepping: false (default: false)
    dSwitchModeOnExit: false (default: false)
    dSymbolPaths: (default: )
    dTargetAsync: false (default: false)
    dUseAddressInBreakpointsView: false (default: false)
    dUseAddressInStackView: false (default: false)
    dUseAlternatingRowColours: false (default: false)
    dUseCodeModel: true (default: true)
    dUseDebuggingHelper: true (default: true)
    dUseDynamicType: true (default: true)
    dUseMessageBoxForSignals: true (default: true)
    dUsePythonDumper: true (default: true)
    dUseToolTips: true (default: true)
    dUseToolTipsInBreakpointsView: true (default: false) ***
    dUseToolTipsInLocalsView: false (default: false)
    dUseToolTipsInStackView: true (default: true)
    dWarnOnReleaseBuilds: true (default: true)
    dWatchdogTimeout: 20 (default: 20)
    dState changed from DebuggerNotReady(0) to EngineSetupRequested(1)
    dCALL: SETUP ENGINE
    Launching C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe -aqtcreatorcdbext.dll -lines -G -c .idle_cmd !qtcreatorcdbext.idle -y "" C:\Entwicklung\build-untitled-Desktop_Qt_5_9_7_MSVC2015_32bit-Debug\debug\untitled.exe
    using C:\Qt\Tools\QtCreator\lib\qtcreatorcdbext32\qtcreatorcdbext.dll of 28.02.2019 16:17.
    C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe running as 6584
    Microsoft (R) Windows Debugger Version 6.3.9600.17298 X86
    Using CDB based breakpoint correction.
    Copyright (c) Microsoft Corporation. All rights reserved.
    CommandLine: C:\Entwicklung\build-untitled-Desktop_Qt_5_9_7_MSVC2015_32bit-Debug\debug\untitled.exe
    Error: Attempts to access '""' failed: 0x7b - Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.
    ************* Symbol Path validation summary **************
    Response Time (ms) Location
    Error ""
    Symbol search path is: ""
    Executable search path is:
    Module loaded: untitled.exe
    Module loaded: ntdll.dll
    Module loaded: C:\WINDOWS\SysWOW64\KERNEL32.DLL
    Module loaded: C:\WINDOWS\SysWOW64\KERNELBASE.dll
    Module loaded: C:\Program Files\Symantec.cloud\EndpointProtectionAgent\NortonData\22.15.1.8\Definitions\BASHDefs\20190409.001\UMEngx86.dll
    Module loaded: C:\WINDOWS\SysWOW64\SHELL32.dll
    Module loaded: C:\WINDOWS\SysWOW64\msvcrt.dll
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5Widgetsd.dll
    Module loaded: C:\Qt\5.9.7\msvc2015\bin\Qt5Cored.dll
    Module loaded: C:\WINDOWS\SysWOW64\cfgmgr32.dll
    Module loaded: C:\WINDOWS\SysWOW64\ucrtbase.dll
    Module loaded: C:\WINDOWS\SysWOW64\shcore.dll
    Module loaded: C:\WINDOWS\SysWOW64\RPCRT4.dll
    Module loaded: C:\WINDOWS\SysWOW64\SspiCli.dll
    Module loaded: C:\WINDOWS\SysWOW64\CRYPTBASE.dll
    Module loaded: C:\WINDOWS\SysWOW64\bcryptPrimitives.dll
    Module loaded: C:\WINDOWS\SysWOW64\sechost.dll
    Module loaded: C:\WINDOWS\SysWOW64\combase.dll
    Module loaded: C:\WINDOWS\SysWOW64\WS2_32.dll
    Module loaded: C:\WINDOWS\SysWOW64\GDI32.dll
    Module loaded: C:\WINDOWS\SysWOW64\windows.storage.dll
    Module loaded: C:\WINDOWS\SysWOW64\USER32.dll
    Module loaded: C:\WINDOWS\SysWOW64\gdi32full.dll
    Module loaded: C:\WINDOWS\SysWOW64\msvcp_win.dll
    Module loaded: C:\WINDOWS\SysWOW64\win32u.dll
    Module loaded: C:\WINDOWS\SysWOW64\msvcp_win.dll
    Module loaded: C:\WINDOWS\SysWOW64\ole32.dll
    Module loaded: C:\WINDOWS\SysWOW64\advapi32.dll
    Module loaded: C:\WINDOWS\SysWOW64\profapi.dll
    Module loaded: C:\WINDOWS\SysWOW64\powrprof.dll
    Module loaded: C:\WINDOWS\SysWOW64\shlwapi.dll
    Module loaded: C:\WINDOWS\SysWOW64\kernel.appcore.dll
    Module loaded: C:\WINDOWS\SysWOW64\cryptsp.dll
    eERROR: Process crashed
    dCDB PROCESS FINISHED, status 1, exit code -1073741515
    dNOTE: INFERIOR ILL
    dState changed from EngineSetupRequested(1) to InferiorShutdownRequested(13)
    dCALL: SHUTDOWN INFERIOR
    dINFERIOR FINISHED SHUT DOWN
    dState changed from InferiorShutdownRequested(13) to InferiorShutdownFinished(14)
    dState changed from InferiorShutdownFinished(14) to EngineShutdownRequested(15)
    dCALL: SHUTDOWN ENGINE
    dNOTE: ENGINE SHUTDOWN FINISHED
    dState changed from EngineShutdownRequested(15) to EngineShutdownFinished(16)
    Debugger finished.
    dState changed from EngineShutdownFinished(16) to DebuggerFinished(17)



  • I have found the DLLs causing the crash:
    msvcp140d.dll
    vcruntime140d.dll

    Seems that these two files are either not loaded at all, or the wrong files are loaded. When copying these two files from the following folder to my build folder, debugging works again:
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugCRT

    Is it possible that the new Qt Creator 4.8.2 Debugger Support loads these files from a different location than before? How can I fix paths to tell Qt Creator loading them from the correct (above) location?



  • Ok, "solved" the problem by adding C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist\x86\Microsoft.VC140.DebugCRT to my system path variable, although this should not be necessary. Other attempts did not work.

    If anyone has an idea why the two dlls are not found any more and how to "really" fix the problem, please let me know.



  • Hi, just guessing, but I've seen this problem sometimes with anti-virus programs, you could try disable your Symantec anti-virus.



  • Deactivation of Symantec client did not help.
    Update to Qt Creator 4.9.0 and Qt Creator 4.9.0 Debugger Support did not help either.


  • Lifetime Qt Champion

    @ornello just for clarification: can you Run (without debugger) a debug version from Creator?

    If yes, that would mean the debugger messes the PATH up.



  • No, maybe I have not been clear enough here: Running the debug version also crashes, but running the release version works fine.
    Something must have changed from Debugger Support version 4.8.1 to 4.8.2 because everything was running fine right before I made the update.


  • Lifetime Qt Champion

    @ornello I think you should ask on the mailing list or create directly a bug at bugreports.qt.io

    I'm out of ideas here.




Log in to reply