Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-14374

[REG 3.3->3.4] GDB hangs while debugging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 3.4.1
    • Qt Creator 3.4.1
    • Debugger
    • None
    • Windows 7, MinGW32, GDB 7.8/7.9
    • e855de40377f135c5770637036acd45df63880d7

    Description

      When the debugger stops at a breakpoint, it sometimes hangs, then the inferior crashes and Qt Creator is unable to abort the debugging session.

      The following assertions are raised:

      00002274	2687.99780273	[6784] SOFT ASSERT: "b" in file D:\Projects\qt-creator\qt-creator\src\plugins\debugger\breakhandler.cpp, line 1263	
      00002275	2688.16333008	[6784] SOFT ASSERT: "b" in file D:\Projects\qt-creator\qt-creator\src\plugins\debugger\breakhandler.cpp, line 1263	
      00002276	2688.24218750	[6784] SOFT ASSERT: "false" in file D:\Projects\qt-creator\qt-creator\src\plugins\debugger\gdb\gdbengine.cpp, line 1768	
      00002277	2688.24218750	[6784] InferiorStopOk InferiorRunRequested	
      00002278	2688.24218750	[6784] *** UNEXPECTED STATE TRANSITION:  Debugger::Internal::GdbTermEngine(0x150f3280, name = "GdbEngine") "State changed from InferiorStopOk(14) to InferiorRunOk(11) [master]"	
      00002385	2883.06201172	[6784] SOFT ASSERT: "m_gdbProc->state() == QProcess::Running" in file D:\Projects\qt-creator\qt-creator\src\plugins\debugger\gdb\gdbengine.cpp, line 964

      Debugger log attached.

      Attachments

        1. gdb_hang.txt
          5 kB
          Vojtěch Erben
        2. hang.log
          5 kB
          Orgad Shaneh
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            orgads Orgad Shaneh
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes