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

Abort Debugging doesn't work when gdb doesn't respond

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.3.0-beta1
    • Qt Creator 3.2.0
    • Debugger
    • None
    • Windows 7
    • 0c42d826ae62e5b725f9a6b3288ddcb014b7bcc3

    Description

      I manually executed "info locals" in the debugger log, and it didn't respond.

      Then I pressed F10 which didn't work, then tried to abort debugging.

      The GDB process was killed, but Creator doesn't terminate the debugging session.

      5524info locals
      
      <5525-stack-select-frame 0
      <5526bb options:autoderef,dyntype vars: expanded:watch,inspect,return,tooltip,local typeformats:44574f5244=1,636861725b5d=1,636861722a=101,73686f7274=1,756e7369676e656463686172=1 formats:local.this.m_Pool.m_Data=0,local.Buff.@1.@1.m_Str=0,local.str.@1.@1.m_Str=101,local.this.@1.m_Headers.m_MainArray.10.m_Offset.@1.@1.m_Str=101 watchers: stringcutoff:10000 displaystringlimit:100
      <5527-data-list-register-values r
      
      <5528-stack-select-frame 1
      <5529bb options:autoderef,dyntype vars: expanded:watch,inspect,return,tooltip,local typeformats:44574f5244=1,636861725b5d=1,636861722a=101,73686f7274=1,756e7369676e656463686172=1 formats:local.this.m_Pool.m_Data=0,local.Buff.@1.@1.m_Str=0,local.str.@1.@1.m_Str=101,local.this.@1.m_Headers.m_MainArray.10.m_Offset.@1.@1.m_Str=101 watchers: stringcutoff:10000 displaystringlimit:100
      <5530-data-list-register-values r
      
      <5531-stack-select-frame 0
      <5532bb options:autoderef,dyntype vars: expanded:watch,inspect,return,tooltip,local typeformats:44574f5244=1,636861725b5d=1,636861722a=101,73686f7274=1,756e7369676e656463686172=1 formats:local.this.m_Pool.m_Data=0,local.Buff.@1.@1.m_Str=0,local.str.@1.@1.m_Str=101,local.this.@1.m_Headers.m_MainArray.10.m_Offset.@1.@1.m_Str=101 watchers: stringcutoff:10000 displaystringlimit:100
      <5533-data-list-register-values r
      
      dNOTE: INFERIOR RUN REQUESTED
      sRun requested...
      dState changed from InferiorStopOk(14) to InferiorRunRequested(10) [master]
      sStep next requested...
      <5534-exec-next
      
      d5523: info variables => <unnamed callback>
      d5524: info locals => <unnamed callback>
      d5525: -stack-select-frame 0 => handleStackSelectFrame
      d5526: bb options:autoderef,dyntype vars: expanded:watch,inspect,return,tooltip,local typeformats:44574f5244=1,636861725b5d=1,636861722a=101,73686f7274=1,756e7369676e656463686172=1 formats:local.this.m_Pool.m_Data=0,local.Buff.@1.@1.m_Str=0,local.str.@1.@1.m_Str=101,local.this.@1.m_Headers.m_MainArray.10.m_Offset.@1.@1.m_Str=101 watchers: stringcutoff:10000 displaystringlimit:100 => handleStackFramePython
      d5527: -data-list-register-values r => handleRegisterListValues
      d5528: -stack-select-frame 1 => handleStackSelectFrame
      d5529: bb options:autoderef,dyntype vars: expanded:watch,inspect,return,tooltip,local typeformats:44574f5244=1,636861725b5d=1,636861722a=101,73686f7274=1,756e7369676e656463686172=1 formats:local.this.m_Pool.m_Data=0,local.Buff.@1.@1.m_Str=0,local.str.@1.@1.m_Str=101,local.this.@1.m_Headers.m_MainArray.10.m_Offset.@1.@1.m_Str=101 watchers: stringcutoff:10000 displaystringlimit:100 => handleStackFramePython
      d5530: -data-list-register-values r => handleRegisterListValues
      d5531: -stack-select-frame 0 => handleStackSelectFrame
      d5532: bb options:autoderef,dyntype vars: expanded:watch,inspect,return,tooltip,local typeformats:44574f5244=1,636861725b5d=1,636861722a=101,73686f7274=1,756e7369676e656463686172=1 formats:local.this.m_Pool.m_Data=0,local.Buff.@1.@1.m_Str=0,local.str.@1.@1.m_Str=101,local.this.@1.m_Headers.m_MainArray.10.m_Offset.@1.@1.m_Str=101 watchers: stringcutoff:10000 displaystringlimit:100 => handleStackFramePython
      d5533: -data-list-register-values r => handleRegisterListValues
      d5534: -exec-next => handleExecuteNext
      dTIMED OUT WAITING FOR GDB REPLY. COMMANDS STILL IN PROGRESS: "bb options:autoderef,dyntype vars: expanded:watch,inspect,return,tooltip,local typeformats:44574f5244=1,636861725b5d=1,636861722a=101,73686f7274=1,756e7369676e656463686172=1 formats:local.this.m_Pool.m_Data=0,local.Buff.@1.@1.m_Str=0,local.str.@1.@1.m_Str=101,local.this.@1.m_Headers.m_MainArray.10.m_Offset.@1.@1.m_Str=101 watchers: stringcutoff:10000 displaystringlimit:100", "-data-list-register-values r", "-stack-select-frame 0", "info locals", "-stack-select-frame 0", "bb options:autoderef,dyntype vars: expanded:watch,inspect,return,tooltip,local typeformats:44574f5244=1,636861725b5d=1,636861722a=101,73686f7274=1,756e7369676e656463686172=1 formats:local.this.m_Pool.m_Data=0,local.Buff.@1.@1.m_Str=0,local.str.@1.@1.m_Str=101,local.this.@1.m_Headers.m_MainArray.10.m_Offset.@1.@1.m_Str=101 watchers: stringcutoff:10000 displaystringlimit:100", "-data-list-register-values r", "info variables", "bb options:autoderef,dyntype vars: expanded:watch,inspect,return,tooltip,local typeformats:44574f5244=1,636861725b5d=1,636861722a=101,73686f7274=1,756e7369676e656463686172=1 formats:local.this.m_Pool.m_Data=0,local.Buff.@1.@1.m_Str=0,local.str.@1.@1.m_Str=101,local.this.@1.m_Headers.m_MainArray.10.m_Offset.@1.@1.m_Str=101 watchers: stringcutoff:10000 displaystringlimit:100", "-data-list-register-values r", "-exec-next", "-stack-select-frame 1"
      
      dKILLING DEBUGGER AS REQUESTED BY USER
      
      dHANDLE GDB ERROR: The gdb process was ended forcefully
      dGDB PROCESS FINISHED, status 1, code 62097
      dNOTE: ENGINE ILL ******
      dState changed BY FORCE from InferiorRunRequested(10) to InferiorStopRequested(13) [master]
      dATTEMPT TO INTERRUPT INFERIOR
      sStop requested...
      dTRYING TO INTERRUPT INFERIOR
      dInterrupted 9108
      dNOTE: INFERIOR STOP OK
      dNOTE: ... WHILE DYING. 
      dNOTE: ... FORWARDING TO 'STOP OK'. 
      dState changed from InferiorStopRequested(13) to InferiorStopOk(14) [master]
      dState changed from InferiorStopOk(14) to InferiorShutdownRequested(17) [master]
      dQUEUE: SHUTDOWN INFERIOR
      dNOTE: ... IGNORING STOP MESSAGE
      dCALL: SHUTDOWN INFERIOR
       
      dABORTING DEBUGGER. SECOND TIME.
      
      dABORTING DEBUGGER. SECOND TIME.
      
      dABORTING DEBUGGER. SECOND TIME.

      Attachments

        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:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes