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

Unexpected CDB Exit



  • I can't debug in my qt creator.
    When I try to debug my project, I always get this error.
    0_1483761161551_无标题.png
    This is my configuration:
    0_1483761387917_无标题1.png
    my environment:

    • Windows10
    • Qt5.7.1 MSVC2015_64
    • WDK 10.0.14393.33
    • Visual Studio 2015


  • I solved the problem.
    The reason is that my opencv is compiled by VC12 but the Qt compiler is based on VC14.



  • There is the log:

    sStarting debugger "CdbEngine" for ABI "x86-windows-msvc2015-pe-64bit"...
    dStart parameters: 'audio' mode: 1
    dABI: x86-windows-msvc2015-pe-64bit
    dLanguages: c++
    dExecutable: C:\Qt\Qt5.7.1\Examples\Qt-5.7\charts\build-audio-Desktop_Qt_5_7_1_MSVC2015_64bit-Debug\debug\audio.exe
    dDebugger: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe
    dProject: C:\Qt\Qt5.7.1\Examples\Qt-5.7\charts\audioAddtional Search Directories:
    dRemote: :0
    dSysroot:
    dDebug Source Location:
    dDebugger settings:
    dUseToolTipsInLocalsView: false (default: false)
    dUseToolTips: true (default: true)
    dShowThreadNames: false (default: false)
    dRegisterForPostMortem: false (default: false)
    dUseAddressInStackView: false (default: false)
    dUseAddressInBreakpointsView: false (default: false)
    dUseToolTipsInBreakpointsView: false (default: true) ***
    dTargetAsync: false (default: false)
    dUseDynamicType: true (default: true)
    dAutoEnrichParameters: true (default: true)
    dWatchdogTimeout: 20 (default: 20)
    dIdentifyDebugInfoPackages: false (default: false)
    dIntelFlavor: false (default: false)
    dMultiInferior: false (default: false)
    dWarnOnReleaseBuilds: true (default: true)
    dLoadGdbInit: true (default: true)
    dIgnoreFirstChanceAccessViolation: false (default: false)
    dBreakpointCorrection: true (default: true)
    dCDB_Console: false (default: false)
    dGdbPostAttachCommands: (default: )
    dGdbStartupCommands: (default: )
    dAttemptQuickStart: false (default: false)
    dLoadGdbDumpers2: false (default: false)
    dEnableReverseDebugging: false (default: false)
    dSkipKnownFrames: false (default: false)
    dDisplayStringLimit: 100 (default: 100)
    dMaximalStringLength: 10000 (default: 10000)
    dAdjustBreakpointLocations: true (default: true)
    dSelectedPluginBreakpoints: false (default: false)
    dAllPluginBreakpoints: true (default: true)
    dShowStandardNamespace: true (default: true)
    dMaximalStackDepth: 20 (default: 20)
    dAutoDerefPointers: true (default: true)
    dSortStructMembers: true (default: true)
    dShowQObjectNames2: true (default: true)
    dShowQtNamespace: true (default: true)
    dQmlInspector.ShowAppOnTop: false (default: false)
    dBreakOnCatch: false (default: false)
    dBreakOnThrow: false (default: false)
    dSelectedPluginBreakpointsPattern: .* (default: .*)
    dNoPluginBreakpoints: false (default: false)
    dShowQmlObjectTree: true (default: true)
    dBreakOnAbort: false (default: false)
    dBreakOnFatal: false (default: false)
    dBreakOnWarning: false (default: false)
    dBreakpointsFullPath: false (default: false)
    dSwitchModeOnExit: false (default: false)
    dCloseMemoryBuffersOnExit: true (default: true)
    dCloseBuffersOnExit: false (default: false)
    dUseCodeModel: true (default: true)
    dUseDebuggingHelper: true (default: true)
    dStationaryEditorWhileStepping: false (default: false)
    dRaiseOnInterrupt: true (default: true)
    dUseMessageBoxForSignals: true (default: true)
    dFontSizeFollowsEditor: false (default: false)
    dUseAlternatingRowColours: false (default: false)
    dLogTimeStamps: false (default: false)
    dAutoQuit: false (default: false)
    dAdditionalArguments: (default: )
    dGdbCustomDumperCommands: (default: )
    dExtraDumperFile: (default: )
    dAlwaysAdjustColumnWidths: true (default: true)
    dBreakOnCrtDbgReport: false (default: false)
    dBreakEvent: (default: )
    dSourcePaths: (default: )
    dSymbolPaths: srv D:\Qt\symbolcachehttps://msdl.microsoft.com/download/symbols (default: ) ***
    dUseToolTipsInBreakpointsView: false (default: false)
    dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
    dQUEUE: SETUP ENGINE
    dCALL: SETUP ENGINE
    Launching C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe -aqtcreatorcdbext.dll -lines -G -c .idle_cmd !qtcreatorcdbext.idle -y srv D:\Qt\symbolcachehttps://msdl.microsoft.com/download/symbols C:\Qt\Qt5.7.1\Examples\Qt-5.7\charts\build-audio-Desktop_Qt_5_7_1_MSVC2015_64bit-Debug\debug\audio.exe
    using C:\Qt\Qt5.7.1\Tools\QtCreator\lib\qtcreatorcdbext64\qtcreatorcdbext.dll of 2016/12/9 18:51.
    C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe running as 12348
    Microsoft (R) Windows Debugger Version 10.0.14321.1024 AMD64
    Using CDB based breakpoint correction.
    Copyright (c) Microsoft Corporation. All rights reserved.
    CommandLine: C:\Qt\Qt5.7.1\Examples\Qt-5.7\charts\build-audio-Desktop_Qt_5_7_1_MSVC2015_64bit-Debug\debug\audio.exe
    ************* Symbol Path validation summary **************
    Response Time (ms) Location
    Deferred srv D:\Qt\symbolcachehttps://msdl.microsoft.com/download/symbols
    Symbol search path is: srv D:\Qt\symbolcachehttps://msdl.microsoft.com/download/symbols
    Executable search path is:
    sModule loaded: audio.exe
    sModule loaded: ntdll.dll
    sModule loaded: C:\Windows\System32\KERNEL32.DLL
    sModule loaded: C:\Windows\System32\KERNELBASE.dll
    sModule loaded: C:\Windows\System32\SHELL32.dll
    sModule loaded: C:\Windows\System32\msvcrt.dll
    sModule loaded: C:\Windows\System32\cfgmgr32.dll
    sModule loaded: C:\Windows\System32\windows.storage.dll
    sModule loaded: C:\Windows\System32\combase.dll
    sModule loaded: C:\Windows\System32\ucrtbase.dll
    sModule loaded: C:\Windows\System32\RPCRT4.dll
    sModule loaded: C:\Windows\System32\bcryptPrimitives.dll
    sModule loaded: C:\Windows\System32\powrprof.dll
    sModule loaded: C:\Windows\System32\advapi32.dll
    sModule loaded: C:\Windows\System32\sechost.dll
    sModule loaded: C:\Windows\System32\shlwapi.dll
    sModule loaded: C:\Windows\System32\GDI32.dll
    sModule loaded: C:\Qt\Qt5.7.1\5.7\msvc2015_64\bin\Qt5Chartsd.dll
    sModule loaded: C:\Windows\System32\gdi32full.dll
    sModule loaded: C:\Windows\System32\USER32.dll
    sModule loaded: C:\Windows\System32\win32u.dll
    sModule loaded: C:\Qt\Qt5.7.1\5.7\msvc2015_64\bin\Qt5Widgetsd.dll
    sModule loaded: C:\Windows\System32\kernel.appcore.dll
    sModule loaded: C:\Windows\System32\shcore.dll
    sModule loaded: C:\Windows\System32\profapi.dll
    sModule loaded: C:\Qt\Qt5.7.1\5.7\msvc2015_64\bin\Qt5Multimediad.dll
    sModule loaded: C:\Qt\Qt5.7.1\5.7\msvc2015_64\bin\Qt5Cored.dll
    sModule loaded: C:\Windows\SYSTEM32\ucrtbased.dll
    sModule loaded: C:\Windows\System32\ole32.dll
    sModule loaded: C:\Windows\System32\WS2_32.dll
    sModule loaded: C:\Qt\Qt5.7.1\5.7\msvc2015_64\bin\Qt5Guid.dll

    eERROR: Process crashed
    dCDB PROCESS FINISHED, status 1, exit code -1073741515
    dNOTE: ENGINE ILL ******
    dState changed from EngineSetupRequested(1) to EngineShutdownRequested(19) [master]
    dQUEUE: SHUTDOWN ENGINE
    dCALL: SHUTDOWN ENGINE
    dNOTE: ENGINE SHUTDOWN OK
    dState changed from EngineShutdownRequested(19) to EngineShutdownOk(21) [master]
    dState changed from EngineShutdownOk(21) to DebuggerFinished(22) [master]
    dQUEUE: FINISH DEBUGGER
    dNOTE: FINISH DEBUGGER
    dHANDLE RUNCONTROL FINISHED
    sDebugger finished.



  • I solved the problem.
    The reason is that my opencv is compiled by VC12 but the Qt compiler is based on VC14.


Log in to reply