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

In Creator GDB hangs on a QtWidgets application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.5.0
    • Debugger
    • openSUSE Tumbleweed x64.
      GNU gdb (GDB; openSUSE Tumbleweed) 8.0.1

    Description

      When I try to debug my application with GDB it hangs infinitely right after it loaded. Debugging the very same executable from console works fine.

      I turned off loading of .gdbinit and the Debugging helpers, too. No python process is running while GDB is waiting.

      When trying to pause it or, after it, setting a breakpoint I get the following:

      dATTEMPT SYNC
      dATTEMPT BREAKPOINT SYNCHRONIZATION
      dTAKING OWNERSHIP OF BREAKPOINT 1 IN STATE 0
      dRUNNING NEEDS-STOP COMMAND -break-insert -f "\"main.cpp\":1620"
      dCHILD ALREADY BEING INTERRUPTED. STILL HOPING.
      dBREAKPOINTS ARE NOT FULLY SYNCHRONIZED

      Interestingly, after 10+ minutes the program continues to run until the breakpoint but Creator cannot react to it properly: while querying the variables in the Debug view it shows a "GDB is not responding" dialogue.

      I also gdb'd into GDB while it was hanging. I attach the output from there, too.

      Attachments

        1. executed-commands.txt
          0.7 kB
        2. execution-results.txt
          123 kB
        3. gdb.txt
          23 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            szotsaki Szőts Ákos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes