Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. GDB Not Responding
Qt 6.11 is out! See what's new in the release blog

GDB Not Responding

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 453 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DungeonLords
    wrote last edited by DungeonLords
    #1

    I have the same problem like here: "GDB Not Responding"
    "The gdb process has not responded to a command within 40 seconds. This could mean it is stuck in an endless loop or taking longer than expected to perform the operation.
    You can choose between waiting longer or aborting debugging."
    eed7c26d-4919-43bf-a187-0bf683d0d427-image.png

    But when I push "Stop debugging" I have
    "The command "/usr/bin/gdb -i mi" was canceled after 59268 ms.
    Process crashed"

    Ubuntu 26.04

    Product: Qt Creator 20.0.0
    Based on: Qt 6.11.1 (GCC 11.5.0 20240719 (Red Hat 11.5.0-5), x86_64)
    Built on: Mon Jun 15 10:32:36 2026
    From revision: 34a64f81a2
    

    9abdcb89-f68e-457e-a19d-757002439c7a-image.png

    $ /usr/bin/gdb --version
    GNU gdb (Ubuntu 17.1-2ubuntu1) 17.1
    Copyright (C) 2025 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    

    I can disable QML debugging. In this case I don't see "GDB Not Responding" after some time but app doesn't start. If I close Qt Creator then I met "GDB Not Responding" error.
    72e47077-b4da-4782-8605-920bc2debe13-image.png
    (However I am not interesting in QML, I don't use QML in my apps.)

    I can turn on or off "Run in terminal" checkbox but for me it doesn't change anything.
    aafc4aef-74f8-4b13-a37d-f0bb9c1a3428-image.png

    Upd. I tried to update to Qt 6.12-0-beta2 but result is the same with 1 extra warning

    .gdb_index address table has a range (0x83d0 - 0x83f3) that overlaps with an earlier range, ignoring .gdb_index
    

    I had well-working debugging. But then update Qt and Qt Creator... How to debug?

    JonBJ 1 Reply Last reply
    0
    • D Offline
      D Offline
      DungeonLords
      wrote last edited by DungeonLords
      #3

      This is not a Qt problem, more details

      1 Reply Last reply
      0
      • D DungeonLords

        I have the same problem like here: "GDB Not Responding"
        "The gdb process has not responded to a command within 40 seconds. This could mean it is stuck in an endless loop or taking longer than expected to perform the operation.
        You can choose between waiting longer or aborting debugging."
        eed7c26d-4919-43bf-a187-0bf683d0d427-image.png

        But when I push "Stop debugging" I have
        "The command "/usr/bin/gdb -i mi" was canceled after 59268 ms.
        Process crashed"

        Ubuntu 26.04

        Product: Qt Creator 20.0.0
        Based on: Qt 6.11.1 (GCC 11.5.0 20240719 (Red Hat 11.5.0-5), x86_64)
        Built on: Mon Jun 15 10:32:36 2026
        From revision: 34a64f81a2
        

        9abdcb89-f68e-457e-a19d-757002439c7a-image.png

        $ /usr/bin/gdb --version
        GNU gdb (Ubuntu 17.1-2ubuntu1) 17.1
        Copyright (C) 2025 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
        This is free software: you are free to change and redistribute it.
        There is NO WARRANTY, to the extent permitted by law.
        

        I can disable QML debugging. In this case I don't see "GDB Not Responding" after some time but app doesn't start. If I close Qt Creator then I met "GDB Not Responding" error.
        72e47077-b4da-4782-8605-920bc2debe13-image.png
        (However I am not interesting in QML, I don't use QML in my apps.)

        I can turn on or off "Run in terminal" checkbox but for me it doesn't change anything.
        aafc4aef-74f8-4b13-a37d-f0bb9c1a3428-image.png

        Upd. I tried to update to Qt 6.12-0-beta2 but result is the same with 1 extra warning

        .gdb_index address table has a range (0x83d0 - 0x83f3) that overlaps with an earlier range, ignoring .gdb_index
        

        I had well-working debugging. But then update Qt and Qt Creator... How to debug?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote last edited by
        #2

        @DungeonLords
        The topic you reference was apparently resolved/worked around by disabling Run in terminal but not yours, so I presume it's a different cause. I don't know whether other people will be able to help you on this. If you want a diagnose where the problem lies I would:

        • Run gdb on your QML application directly from the command line. Does that work fine or have the same issue? Then you know whether it is to do with Creator or not.

        • Write the minimal "Hello World" app in QML and debug that from Creator. Fine or goes wrong? Then you know whether it is due to something specific in your code.

        1 Reply Last reply
        0
        • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop
        • D Offline
          D Offline
          DungeonLords
          wrote last edited by DungeonLords
          #3

          This is not a Qt problem, more details

          1 Reply Last reply
          0
          • D DungeonLords has marked this topic as solved

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved