Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. GDB fail to start or crash, no debug possible.
Forum Updated to NodeBB v4.3 + New Features

GDB fail to start or crash, no debug possible.

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 2 Posters 3.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Maser
    wrote on 15 Dec 2015, 14:33 last edited by Maser
    #1

    Hi.

    My problem is i cant debug using GDB. Im trying to debug a program that was created using qt4 and mingw, so i have qt4.7.4 and qt4.8.5 binaries for mingw installed. Also i have mingw 4.4.0. As QCreator i have a 2.5.2, 3.2.2 and 3.5.1 versions.
    I can compile everything properly, it runs and everything. But i cant start debug. Not even in a simplest program. In QCreator 2.x the gdb crushes, in QC 3.x gdb fails to start and finish. i post here both debugger outputs, i hope someone can give me a clou where the problem might be. My OS is win7.

    Starting debugger "GdbEngine" for ABI "x86-windows-msys-pe-32bit"...
    dStart parameters: 'TTTESTTT' mode: 1
    dABI: x86-windows-msys-pe-32bit
    dLanguages: c++ 
    dExecutable: C:\C++\Projects\TTTESTTT\debug\TTTESTTT.exe 
    dDirectory: C:\C++\Projects\TTTESTTT
    dProject: C:\C++\Projects\TTTESTTT (built: C:\C++\Projects\TTTESTTT)
    dQt: C:\Qt\4.7.4
    dQML server: 127.0.0.1:3768
    dSysroot: 
    dDebug Source Location: 
    dSymbol file: 
    dDumper libraries:  C:\Qt\4.7.4\qtc-debugging-helper\ C:\Qt\qtcreator-2.5.2\qtc-debugging-helper\128627476\ C:\Users\Sam_SSD\AppData\Local\Nokia\QtCreator\qtc-debugging-helper\128627476\
    d
    dDebugger settings: 
    dUseAlternatingRowColours: false  (default: false)
    dFontSizeFollowsEditor: false  (default: false)
    dUseMessageBoxForSignals: true  (default: true)
    dAutoQuit: false  (default: false)
    dLogTimeStamps: false  (default: false)
    dVerboseLog: false  (default: false)
    dCloseBuffersOnExit: false  (default: false)
    dSwitchModeOnExit: false  (default: false)
    dUseDebuggingHelper: true  (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)
    dLoadGdbInit: true  (default: true)
    dGdbStartupCommands:   (default: )
    dWatchdogTimeout: 20  (default: 20)
    dAutoEnrichParameters: false  (default: false)
    dUseDynamicType: true  (default: true)
    dTargetAsync: 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)
    dListSourceFiles: false  (default: false)
    dSkipKnownFrames: false  (default: false)
    dEnableReverseDebugging: false  (default: false)
    dAllPluginBreakpoints: true  (default: true)
    dSelectedPluginBreakpoints: false  (default: false)
    dAdjustBreakpointLocations: true  (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)
    dBreakOnRaise: false  (default: false)
    dAlwaysAdjustRegistersColumnWidths: false  (default: false)
    dAlwaysAdjustSnapshotsColumnWidths: false  (default: false)
    dAlwaysAdjustThreadsColumnWidths: false  (default: false)
    dAlwaysAdjustModulesColumnWidths: false  (default: false)
    dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
    dQUEUE: SETUP ENGINE
    dCALL: SETUP ENGINE
    dTRYING TO START ADAPTER
    dENABLING TEST CASE: 0
    dSTARTING C:/mingw/bin/gdb.exe -i mi --tty=\\.\pipe\creator-3676-292
    dGDB STARTED, INITIALIZING IT
    <1show version
    <2-list-features
    <3set print object on
    <4set breakpoint pending on
    <5set print elements 10000
    <6set overload-resolution off
    <7handle SIGSEGV nopass stop print
    <8set unwindonsignal on
    <9pwd
    <10set width 0
    <11set height 0
    <12-interpreter-exec console "set breakpoint always-inserted on"
    <13-interpreter-exec console "set trust-readonly-sections on"
    <14-interpreter-exec console "set auto-solib-add on"
    <15-interpreter-exec console "set remotecache on"
    <16-interpreter-exec console "maintenance set internal-warning quit no"
    <17-interpreter-exec console "maintenance set internal-error quit no"
    <18-interpreter-exec console "disassemble 0 0"
    <19-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.5.2/share/qtcreator/dumper/bridge.py')"
    <20-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.5.2/share/qtcreator/dumper/dumper.py')"
    <21-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.5.2/share/qtcreator/dumper/qttypes.py')"
    <22-interpreter-exec console "bbsetup"
    dADAPTER SUCCESSFULLY STARTED
    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
    sSetting up inferior...
    <23set substitute-path C:/iwmake/build_mingw_opensource C:/Qt/4.7.4
    <24set substitute-path C:/ndk_buildrepos/qt-desktop/src C:/Qt/4.7.4
    <25set substitute-path C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt C:/Qt/4.7.4
    <26-file-exec-and-symbols "C:/C++/Projects/TTTESTTT/debug/TTTESTTT.exe"
    >~"GNU gdb 6.8\n"
    >~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
    >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
    >~"This is free software: you are free to change and redistribute it.\n"
    >~"There is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\n"
    >~"and \"show warranty\" for details.\n"
    >~"This GDB was configured as \"i686-pc-mingw32\".\n"
    >&"show version\n"
    >~"GNU gdb 6.8\n"
    >~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
    >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
    >~"This is free software: you are free to change and redistribute it.\n"
    >~"There is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\n"
    >~"and \"show warranty\" for details.\n"
    >~"This GDB was configured as \"i686-pc-mingw32\".\n"
    >1^done
    dPARSING VERSION: 1^done
    d
    dUNSUPPORTED GDB VERSION GNU gdb 6.8
    dCopyright (C) 2008 Free Software Foundation, Inc.
    dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    dThis is free software: you are free to change and redistribute it.
    dThere is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    dand "show warranty" for details.
    dThis GDB was configured as "i686-pc-mingw32".
    dGNU gdb 6.8
    dCopyright (C) 2008 Free Software Foundation, Inc.
    dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    dThis is free software: you are free to change and redistribute it.
    dThere is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    dand "show warranty" for details.
    dThis GDB was configured as "i686-pc-mingw32".
    d
    dUSING GDB VERSION: 60800, BUILD: 2008
    <27-interpreter-exec console "set target-async off"
    >2^done,features=["frozen-varobjs","pending-breakpoints"]
    dFEATURES: 2^done,data={features=["frozen-varobjs","pending-breakpoints"]}
    d
    >&"set print object on\n"
    >3^done
    >&"set breakpoint pending on\n"
    >4^done
    >&"set print elements 10000\n"
    >5^done
    >&"set overload-resolution off\n"
    >6^done
    >&"handle SIGSEGV nopass stop print\n"
    >~"Signal        Stop\tPrint\tPass to program\tDescription\n"
    >~"SIGSEGV       Yes\tYes\tNo\t\tSegmentation fault\n"
    >7^done
    >&"set unwindonsignal on\n"
    >8^done
    >&"pwd\n"
    >~"Working directory C:\\C++\\Projects\\TTTESTTT.\n"
    >9^done
    >&"set width 0\n"
    >10^done
    >&"set height 0\n"
    >11^done
    >&"Undefined set breakpoint command: \"always-inserted on\".  Try \"help set breakpoint\".\n"
    >12^error,msg="Undefined set breakpoint command: \"always-inserted on\".  Try \"help set breakpoint\"."
    >13^done
    >14^done
    >15^done
    >&"Undefined maintenance set command: \"internal-warning quit no\".  Try \"help maintenance set\".\n"
    >16^error,msg="Undefined maintenance set command: \"internal-warning quit no\".  Try \"help maintenance set\"."
    >&"Undefined maintenance set command: \"internal-error quit no\".  Try \"help maintenance set\".\n"
    >17^error,msg="Undefined maintenance set command: \"internal-error quit no\".  Try \"help maintenance set\"."
    >~"Dump of assembler code from 0x0 to 0x0:\n"
    >~"End of assembler dump.\n"
    >18^done
    >&"Undefined command: \"python\".  Try \"help\".\n"
    >19^error,msg="Undefined command: \"python\".  Try \"help\"."
    >&"Undefined command: \"python\".  Try \"help\".\n"
    >20^error,msg="Undefined command: \"python\".  Try \"help\"."
    >&"Undefined command: \"python\".  Try \"help\".\n"
    >21^error,msg="Undefined command: \"python\".  Try \"help\"."
    >&"Undefined command: \"bbsetup\".  Try \"help\".\n"
    >22^error,msg="Undefined command: \"bbsetup\".  Try \"help\"."
    >&"set substitute-path C:/iwmake/build_mingw_opensource C:/Qt/4.7.4\n"
    >23^done
    >&"set substitute-path C:/ndk_buildrepos/qt-desktop/src C:/Qt/4.7.4\n"
    >24^done
    >&"set substitute-path C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt C:/Qt/4.7.4\n"
    >25^done
    >26^done
    sSetting breakpoints...
    dSetting breakpoints...
    >&"No symbol \"target\" in current context.\n"
    >27^error,msg="No symbol \"target\" in current context."
    dALL COMMANDS DONE; INVOKING CALLBACK
    <28maint print msymbols C:/Users/Sam_SSD/AppData/Local/Temp/gdb_ns_.BG3676
    >&"maint print msymbols C:/Users/Sam_SSD/AppData/Local/Temp/gdb_ns_.BG3676\n"
    dHANDLE GDB ERROR: The gdb process was ended forcefully
    dGDB PROCESS FINISHED, status 1, code -1073741819
    dNOTE: ENGINE ILL ******
    dState changed from InferiorSetupRequested(4) to EngineShutdownRequested(20) [master]
    dQUEUE: SHUTDOWN ENGINE
    dCALL: SHUTDOWN ENGINE
    dPLAIN ADAPTER SHUTDOWN 20
    dINITIATE GDBENGINE SHUTDOWN IN STATE 4, PROC: 0
    dNOTE: ENGINE SHUTDOWN OK
    dState changed from EngineShutdownRequested(20) to EngineShutdownOk(22) [master]
    dState changed from EngineShutdownOk(22) to DebuggerFinished(23) [master]
    dQUEUE: FINISH DEBUGGER
    dNOTE: FINISH DEBUGGER
    dHANDLE RUNCONTROL FINISHED
    sDebugger finished.
    dATTEMPT SYNC
    sStarting debugger "GdbEngine" for ABI "x86-windows-msys-pe-32bit"...
    dStart parameters: 'TTTESTTT' mode: 1
    dABI: x86-windows-msys-pe-32bit
    dLanguages: c++ 
    dExecutable: C:\C++\Projects\TTTESTTT\debug\TTTESTTT.exe 
    dDirectory: C:\C++\Projects\TTTESTTT
    dProject: C:\C++\Projects\TTTESTTT (built: C:\C++\Projects\TTTESTTT)
    dQt: C:\Qt\4.7.4
    dQML server: 127.0.0.1:3768
    dSysroot: 
    dDebug Source Location: 
    dSymbol file: 
    dDumper libraries:  C:\Qt\4.7.4\qtc-debugging-helper\ C:\Qt\qtcreator-2.5.2\qtc-debugging-helper\128627476\ C:\Users\Sam_SSD\AppData\Local\Nokia\QtCreator\qtc-debugging-helper\128627476\
    d
    dDebugger settings: 
    dUseAlternatingRowColours: false  (default: false)
    dFontSizeFollowsEditor: false  (default: false)
    dUseMessageBoxForSignals: true  (default: true)
    dAutoQuit: false  (default: false)
    dLogTimeStamps: false  (default: false)
    dVerboseLog: false  (default: false)
    dCloseBuffersOnExit: false  (default: false)
    dSwitchModeOnExit: false  (default: false)
    dUseDebuggingHelper: true  (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)
    dLoadGdbInit: true  (default: true)
    dGdbStartupCommands:   (default: )
    dWatchdogTimeout: 20  (default: 20)
    dAutoEnrichParameters: false  (default: false)
    dUseDynamicType: true  (default: true)
    dTargetAsync: 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)
    dListSourceFiles: false  (default: false)
    dSkipKnownFrames: false  (default: false)
    dEnableReverseDebugging: false  (default: false)
    dAllPluginBreakpoints: true  (default: true)
    dSelectedPluginBreakpoints: false  (default: false)
    dAdjustBreakpointLocations: true  (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)
    dBreakOnRaise: false  (default: false)
    dAlwaysAdjustRegistersColumnWidths: false  (default: false)
    dAlwaysAdjustSnapshotsColumnWidths: false  (default: false)
    dAlwaysAdjustThreadsColumnWidths: false  (default: false)
    dAlwaysAdjustModulesColumnWidths: false  (default: false)
    dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
    dQUEUE: SETUP ENGINE
    dCALL: SETUP ENGINE
    dTRYING TO START ADAPTER
    dENABLING TEST CASE: 0
    dSTARTING C:/mingw/bin/gdb.exe -i mi --tty=\\.\pipe\creator-3676-23271
    dGDB STARTED, INITIALIZING IT
    <29show version
    <30-list-features
    <31set print object on
    <32set breakpoint pending on
    <33set print elements 10000
    <34set overload-resolution off
    <35handle SIGSEGV nopass stop print
    <36set unwindonsignal on
    <37pwd
    <38set width 0
    <39set height 0
    <40-interpreter-exec console "set breakpoint always-inserted on"
    <41-interpreter-exec console "set trust-readonly-sections on"
    <42-interpreter-exec console "set auto-solib-add on"
    <43-interpreter-exec console "set remotecache on"
    <44-interpreter-exec console "maintenance set internal-warning quit no"
    <45-interpreter-exec console "maintenance set internal-error quit no"
    <46-interpreter-exec console "disassemble 0 0"
    <47-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.5.2/share/qtcreator/dumper/bridge.py')"
    <48-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.5.2/share/qtcreator/dumper/dumper.py')"
    <49-interpreter-exec console "python execfile('C:/Qt/qtcreator-2.5.2/share/qtcreator/dumper/qttypes.py')"
    <50-interpreter-exec console "bbsetup"
    dADAPTER SUCCESSFULLY STARTED
    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
    sSetting up inferior...
    <51set substitute-path C:/iwmake/build_mingw_opensource C:/Qt/4.7.4
    <52set substitute-path C:/ndk_buildrepos/qt-desktop/src C:/Qt/4.7.4
    <53set substitute-path C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt C:/Qt/4.7.4
    <54-file-exec-and-symbols "C:/C++/Projects/TTTESTTT/debug/TTTESTTT.exe"
    >~"GNU gdb 6.8\n"
    >~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
    >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
    >~"This is free software: you are free to change and redistribute it.\n"
    >~"There is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\n"
    >~"and \"show warranty\" for details.\n"
    >~"This GDB was configured as \"i686-pc-mingw32\".\n"
    >&"show version\n"
    >~"GNU gdb 6.8\n"
    >~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
    >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
    >~"This is free software: you are free to change and redistribute it.\n"
    >~"There is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\n"
    >~"and \"show warranty\" for details.\n"
    >~"This GDB was configured as \"i686-pc-mingw32\".\n"
    >29^done
    dPARSING VERSION: 29^done
    d
    dUNSUPPORTED GDB VERSION GNU gdb 6.8
    dCopyright (C) 2008 Free Software Foundation, Inc.
    dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    dThis is free software: you are free to change and redistribute it.
    dThere is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    dand "show warranty" for details.
    dThis GDB was configured as "i686-pc-mingw32".
    dGNU gdb 6.8
    dCopyright (C) 2008 Free Software Foundation, Inc.
    dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    dThis is free software: you are free to change and redistribute it.
    dThere is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    dand "show warranty" for details.
    dThis GDB was configured as "i686-pc-mingw32".
    d
    dUSING GDB VERSION: 60800, BUILD: 2008
    <55-interpreter-exec console "set target-async off"
    >30^done,features=["frozen-varobjs","pending-breakpoints"]
    dFEATURES: 30^done,data={features=["frozen-varobjs","pending-breakpoints"]}
    d
    >&"set print object on\n"
    >31^done
    >&"set breakpoint pending on\n"
    >32^done
    >&"set print elements 10000\n"
    >33^done
    >&"set overload-resolution off\n"
    >34^done
    >&"handle SIGSEGV nopass stop print\n"
    >~"Signal        Stop\tPrint\tPass to program\tDescription\n"
    >~"SIGSEGV       Yes\tYes\tNo\t\tSegmentation fault\n"
    >35^done
    >&"set unwindonsignal on\n"
    >36^done
    >&"pwd\n"
    >~"Working directory C:\\C++\\Projects\\TTTESTTT.\n"
    >37^done
    >&"set width 0\n"
    >38^done
    >&"set height 0\n"
    >39^done
    >&"Undefined set breakpoint command: \"always-inserted on\".  Try \"help set breakpoint\".\n"
    >40^error,msg="Undefined set breakpoint command: \"always-inserted on\".  Try \"help set breakpoint\"."
    >41^done
    >42^done
    >43^done
    >&"Undefined maintenance set command: \"internal-warning quit no\".  Try \"help maintenance set\".\n"
    >44^error,msg="Undefined maintenance set command: \"internal-warning quit no\".  Try \"help maintenance set\"."
    >&"Undefined maintenance set command: \"internal-error quit no\".  Try \"help maintenance set\".\n"
    >45^error,msg="Undefined maintenance set command: \"internal-error quit no\".  Try \"help maintenance set\"."
    >~"Dump of assembler code from 0x0 to 0x0:\n"
    >~"End of assembler dump.\n"
    >46^done
    >&"Undefined command: \"python\".  Try \"help\".\n"
    >47^error,msg="Undefined command: \"python\".  Try \"help\"."
    >&"Undefined command: \"python\".  Try \"help\".\n"
    >48^error,msg="Undefined command: \"python\".  Try \"help\"."
    >&"Undefined command: \"python\".  Try \"help\".\n"
    >49^error,msg="Undefined command: \"python\".  Try \"help\"."
    >&"Undefined command: \"bbsetup\".  Try \"help\".\n"
    >50^error,msg="Undefined command: \"bbsetup\".  Try \"help\"."
    >&"set substitute-path C:/iwmake/build_mingw_opensource C:/Qt/4.7.4\n"
    >51^done
    >&"set substitute-path C:/ndk_buildrepos/qt-desktop/src C:/Qt/4.7.4\n"
    >52^done
    >&"set substitute-path C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.6/qt C:/Qt/4.7.4\n"
    >53^done
    >54^done
    sSetting breakpoints...
    dSetting breakpoints...
    <56-break-insert -f "\"mainwindow.cpp\":18"
    dATTEMPT SYNC
    >&"No symbol \"target\" in current context.\n"
    >55^error,msg="No symbol \"target\" in current context."
    >56^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0040167c",func="MainWindow::on_pushButton_clicked()",file="mainwindow.cpp",fullname="C:\\C++\\Projects\\TTTESTTT/mainwindow.cpp",line="18",times="0"}
    <57info line *0x40167c
    >&"info line *0x40167c\n"
    >~"Line 18 of \"mainwindow.cpp\" starts at address 0x40167c <_ZN10MainWindow21on_pushButton_clickedEv+6> and ends at 0x401683 <_ZN10MainWindow21on_pushButton_clickedEv+13>.\n"
    >57^done
    dALL COMMANDS DONE; INVOKING CALLBACK
    <58maint print msymbols C:/Users/Sam_SSD/AppData/Local/Temp/gdb_ns_.hB3676
    >&"maint print msymbols C:/Users/Sam_SSD/AppData/Local/Temp/gdb_ns_.hB3676\n"
    dHANDLE GDB ERROR: The gdb process was ended forcefully
    dGDB PROCESS FINISHED, status 1, code -1073741819
    dNOTE: ENGINE ILL ******
    dState changed from InferiorSetupRequested(4) to EngineShutdownRequested(20) [master]
    dQUEUE: SHUTDOWN ENGINE
    dCALL: SHUTDOWN ENGINE
    dPLAIN ADAPTER SHUTDOWN 20
    dINITIATE GDBENGINE SHUTDOWN IN STATE 4, PROC: 0
    dNOTE: ENGINE SHUTDOWN OK
    dState changed from EngineShutdownRequested(20) to EngineShutdownOk(22) [master]
    dState changed from EngineShutdownOk(22) to DebuggerFinished(23) [master]
    dQUEUE: FINISH DEBUGGER
    dNOTE: FINISH DEBUGGER
    dHANDLE RUNCONTROL FINISHED
    sDebugger finished.
    
    1 Reply Last reply
    0
    • M Offline
      M Offline
      Maser
      wrote on 16 Dec 2015, 22:51 last edited by
      #2

      The problem is solved. Thread can be closed.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on 16 Dec 2015, 22:53 last edited by
        #3

        Hi,

        What was the problem ?

        You can close it yourself using the "Topic Tool" button :)

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Maser
          wrote on 16 Dec 2015, 23:17 last edited by Maser
          #4

          Problem was the log wasnt helpful at all...
          It came out after i tried to start the debugger from command line. It seem that my version (gdb 6.8) had a problem on win_64 system (google says on linux its not a problem for some reason).
          The program itself started just fine on my system, but when i startet the debug it spat out somethink like
          "Error: dll starting at 0x77d41000 not found"
          Again google explained that the program was taking the needed dll and cut the half of its adress, the reason for "0000" i guess, and then couldnt find it.
          The solution was to take the gdb version 7.1, where this was fixed. Seem like a simple case like "get the latest version", but usualy mixing old compiler and new debugger doesnt work, so it took me very long to consider this as a possible solution.

          1 Reply Last reply
          1
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on 16 Dec 2015, 23:18 last edited by
            #5

            Ok, thanks for the details :)

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Maser
              wrote on 16 Dec 2015, 23:25 last edited by
              #6

              Yea, when i spend so much time finding solution for my own, maybe i can save someone much time if they encounter the same problem. Besides it made me furious sometimes, when i found people asking the same or similar question, got maybe suggestions and then never answered if something did or dindt work, much less wrote a verbose answer, what actually went wrong. So this is my part of helping others))

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on 16 Dec 2015, 23:28 last edited by
                #7

                That's nice of you thanks :)

                You can also mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                1/7

                15 Dec 2015, 14:33

                • Login

                • Login or register to search.
                1 out of 7
                • First post
                  1/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved