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

gdb started by qtcreator hangs on obtaining the variable values at first breakpoint

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.8.2, Qt Creator 4.9.0
    • Debugger
    • None
    • gdb: 8.1.0.20180409-git
      gcc: 7.3.0
      Ubuntu: 18.04
    • Linux/X11

    Description

      Hi all,

      with qtcreator 4.8.2 and 4.9.0 gdb hangs, when trying to obtain the variable values at the first breakpoint. In the variables view on the right there is an endless turning circle of radial lines. top shows 100% CPU usage for gdb and its memory comsumption increases more and more. With qtcreator 4.8.2 I got a question to terminate debugging, since gdb didn't respond, which I confirmed. With qtcreator 4.9.0 I had to kill gdb on the command line. If I don't do this, the whole computer will hang for a long time, until gdb crashes due to lack of memory.

      Started on the command line gdb works totally normally, just like expected.

      Before this issue I had another issue with qtcreator 4.6.2 to display the item values of variables of type std::vector (C++), which lead me to try qtcreator 4.9.0 first and then 4.8.2. See here for that.

      I will try to attach my small sample project here.

      Best Regards
      TK

      Attachments

        1. test.cpp
          0.2 kB
          Torsten Kupke
        2. test.log1
          2 kB
          Torsten Kupke
        3. test.log2
          27 kB
          Torsten Kupke
        4. Test.pro
          0.2 kB
          Torsten Kupke

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              hjk hjk
              tkansgar Torsten Kupke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes