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

[Possible performance regression 11 -> 12] Remote debugging costs so much resource that it may crashes Qt Creator or GDB itself

    XMLWordPrintable

Details

    Description

      There are a few reports that initiating a remote debug session can cause crash of either Qt Creator itself or GDB. It is usually Qt Creator being unresponsive/frozen for a few times, then either Qt Creator itself crashes, or GDB crashes (then remote debug session of course fails to start but Qt Creator keeps working). It happens to Qt Creator 12 but not to 11. It seems to be a performance regression. Also, manually starting and attaching GDB server on target is all good. So the problem seems to be on Qt Creator side,

      Attached is a piece of log that original reporter collected. Until GDB fails to start at the end, everything looks fine.

      What original reporter has: i7-1065G7 + 16GB RAM. It should be more than enough for Qt Creator TBH. What I have is Ryzen 6650U + 16GB RAM, but never 100% reproduced the problem (freezing and unresponsive, yes, but no crash). What I guess is that if I do anything (clicking on unresponsive QtC window, etc..) instead of leaving QtC alone, it may crash.

      Attachments

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

        Activity

          People

            hjk hjk
            luqiaochen Luqiao Chen
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes