Important: Please read the Qt Code of Conduct -

CDB Process terminated unexpectedly

  • Hi all,

    I have a problem with my debugger since this week. Last week everything was fine and I didn't change anything (except Windows 10 update to 1607, but no Windows 7 update).

    Windows 10 x64 and Windows 7 x86,
    Qt 4.8.1, Qt 5.6,
    Qt Creator 4.0.3 and 4.1.0
    Visual C++ Compiler 9.0 and 14.0,
    Windows Debugger CDB 8.1 and 10.0
    MinGW 4.9.2 mit GDB 7.8

    Everytime I start to debug my app the CDB crashes (with a dialog popping up): "The CDB Process terminated unexpectedly." I tested every possible combination: On both PCs, on Qt 4.8.1 and Qt 5.6, with CDB 8.1 and 10.0, with different projects and so on.
    I have reinstalled all components except Windows.
    I also set the Qt Creator Settings in the users folder to default (deleted folder).

    Nothing happend.

    The MinGW with the GDB is working without any problems.
    Does anyone have an idea?


    Here's the debugger log.

    Starte Debugger "CdbEngine" für ABI "x86-windows-msvc2015-pe-32bit"...
    dStart parameters: 'OIR600-RE' mode: 1
    dABI: x86-windows-msvc2015-pe-32bit
    dLanguages: c++ 
    dExecutable: D:\Coding\git\OIR600\OIR600-RE\bin\OIR600-REd.exe 
    dDirectory: D:\Coding\git\OIR600\OIR600-RE\bin
    dDebugger: C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe
    dProject: D:\Coding\git\OIR600\OIR600-REAddtional Search Directories:
    dRemote: :0
    dDebug Source Location: 
    dDebugger settings: 
    dAdjustBreakpointLocations: true  (default: true)
    dSelectedPluginBreakpoints: false  (default: false)
    dDisplayStringLimit: 10000  (default: 100)  ***
    dMaximalStringLength: 10000  (default: 10000)
    dEnableReverseDebugging: false  (default: false)
    dSkipKnownFrames: false  (default: false)
    dBreakOnFatal: false  (default: false)
    dBreakOnWarning: false  (default: false)
    dShowQmlObjectTree: true  (default: true)
    dBreakOnAbort: false  (default: false)
    dSelectedPluginBreakpointsPattern: .*  (default: .*)
    dNoPluginBreakpoints: false  (default: false)
    dBreakOnCatch: false  (default: false)
    dBreakOnThrow: false  (default: false)
    dQmlInspector.ShowAppOnTop: false  (default: false)
    dAutoQuit: false  (default: false)
    dLogTimeStamps: false  (default: false)
    dUseAlternatingRowColours: true  (default: false)  ***
    dUseMessageBoxForSignals: true  (default: true)
    dFontSizeFollowsEditor: false  (default: false)
    dStationaryEditorWhileStepping: false  (default: false)
    dRaiseOnInterrupt: true  (default: true)
    dUseCodeModel: true  (default: true)
    dUseDebuggingHelper: true  (default: true)
    dCloseMemoryBuffersOnExit: true  (default: true)
    dCloseBuffersOnExit: false  (default: false)
    dBreakpointsFullPath: true  (default: false)  ***
    dSwitchModeOnExit: false  (default: false)
    dUseAddressInBreakpointsView: false  (default: false)
    dUseToolTipsInBreakpointsView: true  (default: true)
    dRegisterForPostMortem: false  (default: false)
    dUseAddressInStackView: false  (default: false)
    dUseToolTips: true  (default: true)
    dShowThreadNames: false  (default: false)
    dUseToolTipsInBreakpointsView: true  (default: false)  ***
    dUseToolTipsInLocalsView: false  (default: false)
    dSourcePaths:   (default: )
    dSymbolPaths:   (default: )
    dBreakOnCrtDbgReport: false  (default: false)
    dBreakEvent:   (default: )
    dExtraDumperFile:   (default: )
    dAlwaysAdjustColumnWidths: true  (default: true)
    dAdditionalArguments:   (default: )
    dGdbCustomDumperCommands:   (default: )
    dAttemptQuickStart: false  (default: false)
    dLoadGdbDumpers2: false  (default: false)
    dGdbPostAttachCommands:   (default: )
    dGdbStartupCommands:   (default: )
    dBreakpointCorrection: true  (default: true)
    dCDB_Console: false  (default: false)
    dLoadGdbInit: true  (default: true)
    dIgnoreFirstChanceAccessViolation: false  (default: false)
    dMultiInferior: false  (default: false)
    dWarnOnReleaseBuilds: true  (default: true)
    dIdentifyDebugInfoPackages: false  (default: false)
    dIntelFlavor: false  (default: false)
    dAutoEnrichParameters: true  (default: true)
    dWatchdogTimeout: 20  (default: 20)
    dTargetAsync: false  (default: false)
    dUseDynamicType: true  (default: true)
    dShowQObjectNames: false  (default: false)
    dShowQtNamespace: true  (default: true)
    dAutoDerefPointers: true  (default: true)
    dSortStructMembers: false  (default: true)  ***
    dMaximalStackDepth: 10  (default: 20)  ***
    dShowStandardNamespace: true  (default: true)
    dAllPluginBreakpoints: true  (default: true)
    dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
    Launching C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe -aqtcreatorcdbext.dll -lines -G -c .idle_cmd !qtcreatorcdbext.idle D:\Coding\git\OIR600\OIR600-RE\bin\OIR600-REd.exe
    using C:\Qt\Tools\QtCreator\lib\qtcreatorcdbext32\qtcreatorcdbext.dll of 24.08.2016 13:55.
    C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe running as 9596
    Microsoft (R) Windows Debugger Version 6.3.9600.17298 X86
    Using CDB based breakpoint correction.
    Copyright (c) Microsoft Corporation. All rights reserved.
    CommandLine: D:\Coding\git\OIR600\OIR600-RE\bin\OIR600-REd.exe
    Symbol search path is: *** Invalid ***
    * Symbol loading may be unreliable without a symbol search path.           *
    * Use .symfix to have the debugger choose a symbol path.                   *
    * After setting your symbol path, use .reload to refresh symbol locations. *
    Executable search path is: 
    Modul geladen: OIR600-REd.exe
    Modul geladen: ntdll.dll
    Modul geladen: WOW64_IMAGE_SECTION
    Modul geladen: C:\WINDOWS\SysWoW64\KERNEL32.DLL
    Modul geladen: C:\WINDOWS\SysWoW64\KERNELBASE.dll
    Modul geladen: C:\WINDOWS\SysWoW64\SHELL32.dll
    Modul geladen: C:\WINDOWS\SysWoW64\msvcrt.dll
    Modul geladen: C:\WINDOWS\SysWoW64\cfgmgr32.dll
    geladen: C:\Qt\5.6\msvc2015\bin\Qt5Cored.dll
    Modul geladen: C:\WINDOWS\SysWoW64\
    Modul geladen: C:\Qt\5.6\msvc2015\bin\Qt5Widgetsd.dll
    Modul geladen: C:\WINDOWS\SysWoW64\combase.dll
    Modul geladen: C:\Qt\5.6\msvc2015\bin\Qt5Guid.dll
    Modul geladen: C:\WINDOWS\SysWoW64\ucrtbase.dll
    Modul geladen: C:\WINDOWS\SysWoW64\RPCRT4.dll
    Modul geladen: C:\WINDOWS\SysWoW64\SspiCli.dll
    Modul geladen: C:\WINDOWS\SysWoW64\CRYPTBASE.dll
    Modul geladen: C:\WINDOWS\SysWoW64\bcryptPrimitives.dll
    Modul geladen: C:\WINDOWS\SysWoW64\sechost.dll
    Modul geladen: C:\WINDOWS\SysWoW64\powrprof.dll
    Modul geladen: C:\WINDOWS\SysWoW64\USER32.dll
    Modul geladen: C:\WINDOWS\SysWoW64\GDI32.dll
    Modul geladen: C:\WINDOWS\SysWoW64\advapi32.dll
    Modul geladen: C:\WINDOWS\SysWoW64\gdi32full.dll
    Modul geladen: C:\WINDOWS\SysWoW64\shlwapi.dll
    Modul geladen: C:\WINDOWS\SysWoW64\win32u.dll
    Modul geladen: C:\WINDOWS\SysWoW64\MSVCP140D.dll
    Modul geladen: C:\WINDOWS\SysWoW64\ole32.dll
    Modul geladen: C:\WINDOWS\SysWoW64\kernel.appcore.dll
    Modul geladen: C:\WINDOWS\SysWoW64\WS2_32.dll
    Modul geladen: C:\WINDOWS\SysWoW64\VCRUNTIME140D.dll
    Modul geladen: C:\WINDOWS\SysWoW64\shcore.dll
    Modul geladen: C:\WINDOWS\SysWoW64\profapi.dll
    ERROR: Der Prozess ist abgestürzt
    CDB PROCESS FINISHED, status 1, exit code -1073741515
    NOTE: ENGINE ILL ******
    State changed from EngineSetupRequested(1) to EngineShutdownRequested(19) [master]
    State changed from EngineShutdownRequested(19) to EngineShutdownOk(21) [master]
    State changed from EngineShutdownOk(21) to DebuggerFinished(22) [master]
    Debuggen beendet.

  • Do you compile for 32- or 64-bit with your Kit in QtCreator?

    I had myself some similar issue and the reason was that the kit I used compiled the sources for 64-bit but the cdb that has been set automatically in the kit had the 32-bit-configuration.

  • I have a 64 Bit Windows 10, where I compile with 32 Bits and set the 32 Bit Debugger. The 64 Bit Debugger doesn't start.
    The Windows 7 is 32 Bit.

Log in to reply