Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.8.0-beta
-
None
-
OS: Windows 7 64
Compiler: MSVC2012 amd64
QT: 5.1 beta
QTCreator: 2.8 beta
-
327e7bdf6fbc3bc3bc92e8cde0d2db5d9ae761e0
Description
There seems to be several problems with the debugger and CDB since QtCreator 2.7. One of them is an exception that regularly occurs after the debugger stopped at a breakpoint. If I then press F10, the exception pops up (See screenshot). Debugging the same project with QtCreator 2.6.2 works fine.
Debugger log:
dATTEMPT SYNC sStarting debugger "CdbEngine" for ABI "x86-windows-msvc2012-pe-64bit"... dStart parameters: 'qt_test' mode: 1 dABI: x86-windows-msvc2012-pe-64bit dLanguages: c++ dExecutable: C:\usr\tmp\build-qt_test-vs11_qt510_amd64-Debug\debug\qt_test.exe [terminal] dDirectory: C:\usr\tmp\build-qt_test-vs11_qt510_amd64-Debug dDebugger: C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\cdb.exe dProject: C:\usr\tmp\qt_test (built: C:\usr\tmp\build-qt_test-vs11_qt510_amd64-Debug) dQML server: 127.0.0.1:3768 dRemote: :0 dSysroot: dDebug Source Location: /usr/src/debug/qt5base/src/corelib:/usr/src/debug/qt5base/src/gui:/usr/src/debug/qt5base/src/network dSymbol file: dDumper libraries: C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\\qtc-debugging-helper\ C:\usr\tools\qtcreator-2.7.82\qtc-debugging-helper\21191119\ C:\Users\mayema\AppData\Local\QtProject\QtCreator\qtc-debugging-helper\21191119\ dDebugger settings: dUseAlternatingRowColours: false (default: false) dFontSizeFollowsEditor: false (default: false) dUseMessageBoxForSignals: false (default: true) *** dAutoQuit: false (default: false) dLogTimeStamps: false (default: false) dVerboseLog: true (default: false) *** dCloseBuffersOnExit: false (default: false) dSwitchModeOnExit: false (default: false) dBreakpointsFullPath: true (default: false) *** dRaiseOnInterrupt: false (default: true) *** dUseDebuggingHelper: false (default: true) *** dUseCodeModel: true (default: true) dShowThreadNames: false (default: false) dUseToolTips: false (default: false) dUseToolTipsInLocalsView: false (default: false) dUseToolTipsInBreakpointsView: false (default: false) dUseAddressInBreakpointsView: false (default: false) dUseAddressInStackView: false (default: false) dRegisterForPostMortem: false (default: false) dAdditionalArguments: -x (default: ) *** dSymbolPaths: (default: ) dSourcePaths: (default: ) dBreakEvent: (default: ) dBreakOnCrtDbgReport: false (default: false) dCDB_Console: true (default: false) *** dBreakpointCorrection: false (default: true) *** dIgnoreFirstChanceAccessViolation: false (default: false) dLoadGdbInit: false (default: true) *** dLoadGdbDumpers: false (default: true) *** dAttemptQuickStart: false (default: false) dGdbStartupCommands: (default: ) dGdbPostAttachCommands: (default: ) dWatchdogTimeout: 20 (default: 20) dAutoEnrichParameters: false (default: true) *** dUseDynamicType: false (default: true) *** dTargetAsync: false (default: false) dWarnOnReleaseBuilds: true (default: true) dMultiInferior: false (default: false) dIntelFlavor: false (default: false) dIdentifyDebugInfoPackages: false (default: false) dMaximalStackDepth: 20 (default: 20) dAlwaysAdjustStackColumnWidths: false (default: false) dShowStandardNamespace: true (default: true) dShowQtNamespace: true (default: true) dSortStructMembers: true (default: true) dAutoDerefPointers: true (default: true) dAlwaysAdjustLocalsColumnWidths: false (default: false) dMaximalStringLength: 20000 (default: 10000) *** dListSourceFiles: false (default: false) dSkipKnownFrames: false (default: false) dEnableReverseDebugging: false (default: false) dAllPluginBreakpoints: true (default: true) dSelectedPluginBreakpoints: false (default: false) dAdjustBreakpointLocations: false (default: true) *** dAlwaysAdjustBreakpointsColumnWidths: false (default: false) dNoPluginBreakpoints: false (default: false) dSelectedPluginBreakpointsPattern: .* (default: .*) dBreakOnThrow: false (default: false) dBreakOnCatch: false (default: false) dBreakOnWarning: false (default: false) dBreakOnFatal: false (default: false) dBreakOnAbort: false (default: false) dAlwaysAdjustRegistersColumnWidths: false (default: false) dAlwaysAdjustSnapshotsColumnWidths: false (default: false) dAlwaysAdjustThreadsColumnWidths: false (default: false) dAlwaysAdjustModulesColumnWidths: false (default: false) dShowQmlObjectTree: true (default: true) dQmlInspector.ShowAppOnTop: false (default: false) dQmlInspector.FromQml: 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\8.0\Debuggers\x64\cdb.exe -aqtcreatorcdbext.dll -lines -G -c .idle_cmd !qtcreatorcdbext.idle -2 -y symsrv*symsrv.dll*C:\usr\tmp\symbolcache*http://msdl.microsoft.com/download/symbols;cache*C:\usr\tmp\symbolcache;srv*http://msdl.microsoft.com/download/symbols -x C:\usr\tmp\build-qt_test-vs11_qt510_amd64-Debug\debug\qt_test.exe using C:\usr\tools\qtcreator-2.7.82\lib\qtcreatorcdbext64\qtcreatorcdbext.dll of 29.05.2013 12:38:32. C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\cdb.exe running as 9876 Microsoft (R) Windows Debugger Version 6.2.9200.16384 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. CommandLine: C:\usr\tmp\build-qt_test-vs11_qt510_amd64-Debug\debug\qt_test.exe Symbol search path is: symsrv*symsrv.dll*C:\usr\tmp\symbolcache*http://msdl.microsoft.com/download/symbols;cache*C:\usr\tmp\symbolcache;srv*http://msdl.microsoft.com/download/symbols Executable search path is: ModLoad: 00000001`3fec0000 00000001`3fed1000 qt_test.exe ModLoad: 00000000`77150000 00000000`772f9000 ntdll.dll ModLoad: 00000000`77030000 00000000`7714f000 C:\Windows\system32\kernel32.dll ModLoad: 000007fe`fd150000 000007fe`fd1bb000 C:\Windows\system32\KERNELBASE.dll ModLoad: 00000000`66b30000 00000000`674dd000 C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\Qt5Cored.dll ModLoad: 00000000`76f30000 00000000`7702a000 C:\Windows\system32\USER32.dll ModLoad: 000007fe`fd760000 000007fe`fd7c7000 C:\Windows\system32\GDI32.dll ModLoad: 000007fe`feb50000 000007fe`feb5e000 C:\Windows\system32\LPK.dll ModLoad: 000007fe`fd850000 000007fe`fd919000 C:\Windows\system32\USP10.dll ModLoad: 000007fe`ff070000 000007fe`ff10f000 C:\Windows\system32\msvcrt.dll ModLoad: 000007fe`ff130000 000007fe`ff333000 C:\Windows\system32\ole32.dll ModLoad: 000007fe`fd920000 000007fe`fda4d000 C:\Windows\system32\RPCRT4.dll ModLoad: 000007fe`fd550000 000007fe`fd62b000 C:\Windows\system32\ADVAPI32.dll ModLoad: 000007fe`ff050000 000007fe`ff06f000 C:\Windows\SYSTEM32\sechost.dll ModLoad: 000007fe`ff3e0000 000007fe`ff42d000 C:\Windows\system32\WS2_32.dll ModLoad: 000007fe`fee60000 000007fe`fee68000 C:\Windows\system32\NSI.dll ModLoad: 00000000`49da0000 00000000`49fc8000 C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\icuin51.dll ModLoad: 00000000`4a6d0000 00000000`4a874000 C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\icuuc51.dll ModLoad: 00000000`00450000 00000000`0199a000 C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\icudt51.dll ModLoad: 000007fe`eb950000 000007fe`eba1e000 C:\Windows\system32\MSVCR110.dll ModLoad: 000007fe`ebb10000 000007fe`ebbb7000 C:\Windows\system32\MSVCP110.dll ModLoad: 000007fe`eaab0000 000007fe`eabc4000 C:\Windows\system32\MSVCP110D.dll ModLoad: 000007fe`e85b0000 000007fe`e8792000 C:\Windows\system32\MSVCR110D.dll (2508.1b70): Break instruction exception - code 80000003 (first chance) ntdll!LdrpDoDebuggerBreak+0x30: 00000000`771fcb60 cc int 3 cdb: Reading initial command '.idle_cmd !qtcreatorcdbext.idle' Execute when idle: !qtcreatorcdbext.idle 0:000> <l+t <l+s dNOTE: ENGINE SETUP OK dState changed from EngineSetupRequested(1) to EngineSetupOk(3) [master] dQUEUE: SETUP INFERIOR dState changed from EngineSetupOk(3) to InferiorSetupRequested(4) [master] dQUEUE: SETUP INFERIOR dCALL: SETUP INFERIOR <bu1001 `C:\usr\tmp\qt_test\main.cpp:15` <!qtcreatorcdbext.breakpoints -t 0 -v <sxn 0x4000001f <.asm source_line <!qtcreatorcdbext.setparameter maxStringLength=20000 maxStackDepth=20 <!qtcreatorcdbext.pid -t 1 dATTEMPT SYNC Source options are 1: 1/t - Step/trace by source line Source options are 5: 1/t - Step/trace by source line 4/s - List source code at prompt *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\icudt51.dll - *** WARNING: Unable to verify checksum for C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\icuin51.dll *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\icuin51.dll - *** WARNING: Unable to verify checksum for C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\icuuc51.dll *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\icuuc51.dll - *** WARNING: Unable to verify checksum for C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\Qt5Cored.dll *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\usr\local\Qt5.1.0\5.1.0-beta1\msvc2012_64_opengl\bin\Qt5Cored.dll - *** WARNING: Unable to verify checksum for qt_test.exe Obtained breakpoint 0x23d308 (#1), at 0x13fec13e4, module: 'qt_test' All breakpoints have been resolved. Assembly options: source_line Qt Creator CDB extension version 2.7 (Qt 5 support) 64 bit built Feb 22 2013. dTaking notice of pid 9480 dNOTE: INFERIOR SETUP OK dState changed from InferiorSetupRequested(4) to InferiorSetupOk(6) [master] dState changed from InferiorSetupOk(6) to EngineRunRequested(7) [master] dQUEUE: RUN ENGINE dCALL: RUN ENGINE <g dNOTE: ENGINE RUN AND INFERIOR RUN OK sRunning. dState changed from EngineRunRequested(7) to InferiorRunOk(11) [master] ModLoad: 000007fe`ff430000 000007fe`ff45e000 C:\Windows\system32\IMM32.DLL ModLoad: 000007fe`fea40000 000007fe`feb49000 C:\Windows\system32\MSCTF.dll Breakpoint 1001 hit > 15: if (x == 12) { qt_test!main+0x34: 15 00000001`3fec13e4 837c24200c cmp dword ptr [rsp+20h],0Ch ss:00000000`0022f690=0c000000 sStopped at breakpoint 1 (1) in thread 0. dNOTE: INFERIOR SPONTANEOUS STOP sStopped. dState changed from InferiorRunOk(11) to InferiorStopOk(14) [master] Checking for wow64 subsystem... <!wow64exts.info <!qtcreatorcdbext.locals -t 3 -D -e return,local,watch,inspect -v -W 0 DEBUG: DEBUG: Discarding watchers DEBUG: expandEntrySet local DEBUG: Qt Info: Version: 5 Modules 'Qt5Cored', 'Qt5Guid', Namespace='', types: Qt5Cored!QObject,Qt5Cored!QObjectPrivate,Qt5Widgetsd!QWidgetPrivate dLocals: [{iname="local.argc",name="argc",type="int",exp="*(int *)0x22f730",addr="0x22f730",size="4",valueencoded="0",value="1",valueenabled="true",valueeditable="true",numchild="0"},{iname="local.argv",name="argv",type="char **",exp="*(char ***)0x22f738",addr="0x35c800",origaddr="0x22f738",size="8",valueencoded="0",value="0x35c800",valueenabled="true",valueeditable="false",numchild="1"},{iname="local.teststring",name="teststring",type="class QString",exp="*(QString *)0x22f6b0",addr="0x22f6b0",size="8",valueencoded="0",value="\"B11x\"",valueenabled="true",valueeditable="true",numchild="2"},{iname="local.x",name="x",type="int",exp="*(int *)0x22f690",addr="0x22f690",size="4",valueencoded="0",value="12",valueenabled="true",valueeditable="true",numchild="0"}] <p dNOTE: INFERIOR RUN REQUESTED sRun requested... dState changed from InferiorStopOk(14) to InferiorRunRequested(10) [master] dNOTE: INFERIOR RUN OK sRunning. dState changed from InferiorRunRequested(10) to InferiorRunOk(11) [master] (2508.1b70): Access violation - code c0000005 (first chance) s sException at 0x13fec13e7, code: 0xc0000005: write access violation at: 0x1, flags=0x0 (first chance) at c:\usr\tmp\qt_test\main.cpp:15 (2508.1b70): Access violation - code c0000005 (!!! second chance !!!) s sException at 0x13fec13e7, code: 0xc0000005: write access violation at: 0x1, flags=0x0 at c:\usr\tmp\qt_test\main.cpp:15 > 15: if (x == 12) { qt_test!main+0x37: 15 00000001`3fec13e7 200c755c4c8d0d and byte ptr [rsi*2+0D8D4C5Ch],cl ds:00000000`0d8d4c5c=?? s sException at 0x13fec13e7, code: 0xc0000005: write access violation at: 0x1, flags=0x0 dNOTE: INFERIOR SPONTANEOUS STOP sStopped. dState changed from InferiorRunOk(11) to InferiorStopOk(14) [master] <!qtcreatorcdbext.locals -t 4 -D -e return,local,watch,inspect -v -W 0 DEBUG: DEBUG: Discarding watchers DEBUG: expandEntrySet local dLocals: [{iname="local.argc",name="argc",type="int",exp="*(int *)0x22f730",addr="0x22f730",size="4",valueencoded="0",value="1",valueenabled="true",valueeditable="true",numchild="0"},{iname="local.argv",name="argv",type="char **",exp="*(char ***)0x22f738",addr="0x35c800",origaddr="0x22f738",size="8",valueencoded="0",value="0x35c800",valueenabled="true",valueeditable="false",numchild="1"},{iname="local.teststring",name="teststring",type="class QString",exp="*(QString *)0x22f6b0",addr="0x22f6b0",size="8",valueencoded="0",value="\"B11x\"",valueenabled="true",valueeditable="true",numchild="2"},{iname="local.x",name="x",type="int",exp="*(int *)0x22f690",addr="0x22f690",size="4",valueencoded="0",value="12",valueenabled="true",valueeditable="true",numchild="0"}] <p dNOTE: INFERIOR RUN REQUESTED sRun requested... dState changed from InferiorStopOk(14) to InferiorRunRequested(10) [master] dNOTE: INFERIOR RUN OK sRunning. dState changed from InferiorRunRequested(10) to InferiorRunOk(11) [master] (2508.1b70): Access violation - code c0000005 (first chance) s sException at 0x13fec13e7, code: 0xc0000005: write access violation at: 0x1, flags=0x0 (first chance) at c:\usr\tmp\qt_test\main.cpp:15 (2508.1b70): Access violation - code c0000005 (!!! second chance !!!) s sException at 0x13fec13e7, code: 0xc0000005: write access violation at: 0x1, flags=0x0 at c:\usr\tmp\qt_test\main.cpp:15 > 15: if (x == 12) { qt_test!main+0x37: 15 00000001`3fec13e7 200c755c4c8d0d and byte ptr [rsi*2+0D8D4C5Ch],cl ds:00000000`0d8d4c5c=?? s sException at 0x13fec13e7, code: 0xc0000005: write access violation at: 0x1, flags=0x0 dNOTE: INFERIOR SPONTANEOUS STOP sStopped. dState changed from InferiorRunOk(11) to InferiorStopOk(14) [master] <!qtcreatorcdbext.locals -t 5 -D -e return,local,watch,inspect -v -W 0 DEBUG: DEBUG: Discarding watchers DEBUG: expandEntrySet local dLocals: [{iname="local.argc",name="argc",type="int",exp="*(int *)0x22f730",addr="0x22f730",size="4",valueencoded="0",value="1",valueenabled="true",valueeditable="true",numchild="0"},{iname="local.argv",name="argv",type="char **",exp="*(char ***)0x22f738",addr="0x35c800",origaddr="0x22f738",size="8",valueencoded="0",value="0x35c800",valueenabled="true",valueeditable="false",numchild="1"},{iname="local.teststring",name="teststring",type="class QString",exp="*(QString *)0x22f6b0",addr="0x22f6b0",size="8",valueencoded="0",value="\"B11x\"",valueenabled="true",valueeditable="true",numchild="2"},{iname="local.x",name="x",type="int",exp="*(int *)0x22f690",addr="0x22f690",size="4",valueencoded="0",value="12",valueenabled="true",valueeditable="true",numchild="0"}]