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 popup on Ubuntu 24.04.1 LTS after 20sec but debugging works
QtWS25 Last Chance

GDB Not Responding popup on Ubuntu 24.04.1 LTS after 20sec but debugging works

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 2 Posters 2.7k Views
  • 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.
  • S Offline
    S Offline
    Sl3dg3
    wrote on 2 Jan 2025, 20:29 last edited by Sl3dg3 1 Feb 2025, 20:40
    #1

    Hello,

    this Qt Creator popup appears after 20 seconds when running my C++17 app with Vulkan rendering and XCB on Ubuntu 24.04.1 LTS:
    GDBNotResponding.png

    But the app works fine, rendering works fine, debugging works fine. I can set breakpoints and step through the code etc.

    This is my setup:

    Ubuntu 24.04.1 LTS 64-bit
    
    Qt Creator 15.0.0
    Based on: Qt 6.8.1 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)
    
    GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
    
    g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
    
    Qt 6.8.1 installed (but happens also without Qt which I actually don't need for my app)
    
    Python 3.12.3
    

    Debugger log also shows the timeout:

    d[GDB] TIMED OUT WAITING FOR GDB REPLY. COMMANDS STILL IN PROGRESS: "-thread-info", "threadnames 20", "python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":23})"
    

    Scrolling up in the log there are some suspicious lines but not sure if they are related:

    eERROR: UNEXPECTED STATE: InferiorRunRequested  WANTED: InferiorStopOk IN /home/qt/work/build/qt-creator/src/plugins/debugger/gdb/gdbengine.cpp:1282
    <19importPlainDumpers on
    eERROR: UNEXPECTED STATE: InferiorRunRequested  WANTED: InferiorStopOk IN /home/qt/work/build/qt-creator/src/plugins/debugger/gdb/gdbengine.cpp:1330
     Stopped.
    

    Scrolling further up there is also some strange qt5 related output but neither I nor this Qt Creator build is using Qt5:

     Setting up inferior...
    <# directory does not exist: /usr/src/debug/qt5base/src/corelib
    <# directory does not exist: /usr/src/debug/qt5base/src/gui
    <# directory does not exist: /usr/src/debug/qt5base/src/network
    

    Not sure if it matters, application log shows some missing files for some libs:

    20:04:55: Debugging /home/<REMOVED FOR PRIVACY REASONS> ...
    could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_intel_hasvk.so
    could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so
    could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libtinfo.so.6
    could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so
    could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so
    could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_intel.so
    could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libVkLayer_MESA_device_select.so
    could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libcap.so.2
    20:05:28: Debugging of /home/<REMOVED FOR PRIVACY REASONS> has finished with exit code 0.
    

    Anyone knows why this happens although I can run and debug the program just fine?

    Will try to post the full debugger log afterwards because I cannot post it without exceeding the limit here.

    Help is very appreciated!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sl3dg3
      wrote on 2 Jan 2025, 20:33 last edited by
      #2

      Full debugger log (just some minor stuff like paths removed for privacy reasons):

      wNote: This log contains possibly confidential information about your machine, environment variables, in-memory data of the processes you are debugging, and more. It is never transferred over the internet by Qt Creator, and only stored to disk if you manually use the respective option from the context menu, or through mechanisms that are not under the control of Qt Creator's Debugger plugin, for instance in swap files, or other plugins you might use.
      wYou may be asked to share the contents of this log when reporting bugs related to debugger operation. In this case, make sure your submission does not contain data you do not want to or you are not allowed to share.
      w
      d[GDB] EXAMINING <REMOVED FOR PRIVACY REASONS>
      d[GDB] ELF SECTIONS:  .interp .note.gnu.property .note.gnu.build-id .note.ABI-tag .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .plt.got .plt.sec .text .fini .rodata .eh_frame_hdr .eh_frame .gcc_except_table .tbss .init_array .fini_array .data.rel.ro .dynamic .got .data .bss .comment .debug_aranges .debug_info .debug_abbrev .debug_line .debug_str .debug_line_str .debug_loclists .debug_rnglists .symtab .strtab .shstrtab 
      d[GDB] Start parameters: '<REMOVED FOR PRIVACY REASONS>' mode: 1
      dABI: x86-linux-generic-elf-64bit
      dLanguages: c++ 
      dExecutable: <REMOVED FOR PRIVACY REASONS> [terminal]
      dDirectory: <REMOVED FOR PRIVACY REASONS>
      dDebugger: /usr/bin/gdb
      dProject: <REMOVED FOR PRIVACY REASONS>
      dAdditional Search Directories:
      dSysroot: 
      dDebug Source Location: /usr/src/debug/qt5base/src/corelib:/usr/src/debug/qt5base/src/gui:/usr/src/debug/qt5base/src/network
      d[GDB] Debugger settings:
      d/AdditionalArguments:   (default: )
      d/AlwaysAdjustColumnWidths: true  (default: true)
      d/AutoDerefPointers: true  (default: true)
      d/BreakEvent:   (default: )
      d/BreakOnCrtDbgReport: false  (default: false)
      d/BreakpointCorrection: true  (default: true)
      d/CDB_Console: false  (default: false)
      d/FirstChanceExceptionTaskEntry: true  (default: true)
      d/IgnoreFirstChanceAccessViolation: false  (default: false)
      d/LogTimeStamps: false  (default: false)
      d/SecondChanceExceptionTaskEntry: true  (default: true)
      d/SortStructMembers: true  (default: true)
      d/SourcePaths:   (default: )
      d/SymbolPaths:   (default: )
      d/UsePythonDumper: true  (default: true)
      d/UseToolTipsInBreakpointsView: false  (default: false)
      d/UseToolTipsInLocalsView: false  (default: false)
      d/UseToolTipsInStackView: true  (default: true)
      d[GDB] State changed from DebuggerNotReady(0) to EngineSetupRequested(1)
      d[GDB] CALL: SETUP ENGINE
      d[GDB] TRYING TO START ADAPTER
      d[GDB] ENABLING TEST CASE: 0
      d[GDB] STARTING /usr/bin/gdb -i mi
      
      d[GDB] GDB STARTED, INITIALIZING IT
      <1show version
      <2show debug-file-directory
      <3set max-completions 1000
      <4complete set arch 
      <5set breakpoint pending on
      <6set print elements 10000
      <7set index-cache on
      <8set unwindonsignal on
      <9set width 0
      <10set height 0
       Setting up inferior...
      <# directory does not exist: /usr/src/debug/qt5base/src/corelib
      <# directory does not exist: /usr/src/debug/qt5base/src/gui
      <# directory does not exist: /usr/src/debug/qt5base/src/network
      <11set detach-on-fork off
      <12python sys.path.insert(1, '/home/<REMOVED FOR PRIVACY REASONS>/apps/Qt/Tools/QtCreator/share/qtcreator/debugger')
      <13python from gdbbridge import *
      <14python theDumper.loadDumpers({"token":14})
      >=thread-group-added,id="i1"
      >~"GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git\n"
      >~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
      >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
      >~"\nType \"show copying\" and \"show warranty\" for details.\n"
      >~"This GDB was configured as \"x86_64-linux-gnu\".\n"
      >~"Type \"show configuration\" for configuration details.\n"
      >~"For bug reporting instructions, please see:\n"
      >~"<https://www.gnu.org/software/gdb/bugs/>.\n"
      >~"Find the GDB manual and other documentation resources online at:\n    <"
      >~"http://www.gnu.org/software/gdb/documentation/>.\n\n"
      >~"For help, type \"help\".\n"
      >~"Type \"apropos word\" to search for commands related to \"word\".\n"
      
      >&"show version\n"
      >~"GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git\n"
      >~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
      >~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
      >~"\nType \"show copying\" and \"show warranty\" for details.\n"
      >~"This GDB was configured as \"x86_64-linux-gnu\".\n"
      >~"Type \"show configuration\" for configuration details.\n"
      >~"For bug reporting instructions, please see:\n"
      >~"<https://www.gnu.org/software/gdb/bugs/>.\n"
      >~"Find the GDB manual and other documentation resources online at:\n    <"
      >~"http://www.gnu.org/software/gdb/documentation/>.\n\n"
      >~"For help, type \"help\".\n"
      >~"Type \"apropos word\" to search for commands related to \"word\".\n"
      >1^done
      d[GDB] PARSING VERSION: 1^done
      d[GDB] SUPPORTED GDB VERSION GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
      dCopyright (C) 2024 Free Software Foundation, Inc.
      dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      dThis is free software: you are free to change and redistribute it.
      dThere is NO WARRANTY, to the extent permitted by law.
      dType "show copying" and "show warranty" for details.
      dThis GDB was configured as "x86_64-linux-gnu".
      dType "show configuration" for configuration details.
      dFor bug reporting instructions, please see:
      d<https://www.gnu.org/software/gdb/bugs/>.
      dFind the GDB manual and other documentation resources online at:
      d    <http://www.gnu.org/software/gdb/documentation/>.
      d
      dFor help, type "help".
      dType "apropos word" to search for commands related to "word".
      dGNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
      dCopyright (C) 2024 Free Software Foundation, Inc.
      dLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      dThis is free software: you are free to change and redistribute it.
      dThere is NO WARRANTY, to the extent permitted by law.
      dType "show copying" and "show warranty" for details.
      dThis GDB was configured as "x86_64-linux-gnu".
      dType "show configuration" for configuration details.
      dFor bug reporting instructions, please see:
      d<https://www.gnu.org/software/gdb/bugs/>.
      dFind the GDB manual and other documentation resources online at:
      d    <http://www.gnu.org/software/gdb/documentation/>.
      d
      dFor help, type "help".
      dType "apropos word" to search for commands related to "word".
      d[GDB] USING GDB VERSION: 150050, BUILD: 20240403
      <15-interpreter-exec console "set target-async off"
      
      >&"show debug-file-directory\n"
      >~"The directory where separate debug symbols are searched for is \"/usr/lib/debug\".\n"
      >2^done
      <16set debug-file-directory /usr/lib/debug:/usr/lib/debug
      
      >&"set max-completions 1000\n"
      >=cmd-param-changed,param="max-completions",value="1000"
      >3^done
      
      >&"complete set arch \n"
      >~"set arch auto\n"
      >~"set arch i386\n"
      >~"set arch i386:intel\n"
      >~"set arch i386:x64-32\n"
      >~"set arch i386:x64-32:intel\n"
      >~"set arch i386:x86-64\n"
      >~"set arch i386:x86-64:intel\n"
      >~"set arch i8086\n"
      >4^done
      
      >&"set breakpoint pending on\n"
      >=cmd-param-changed,param="breakpoint pending",value="on"
      >5^done
      
      >&"set print elements 10000\n"
      >=cmd-param-changed,param="print elements",value="10000"
      >6^done
      
      >&"set index-cache on\n"
      >~"Warning: 'set index-cache on', an alias for the command 'set index-cache enabled', is deprecated.\n"
      >~"Use 'set index-cache enabled on'.\n\n"
      >=cmd-param-changed,param="index-cache enabled",value="on"
      >7^done
      
      >&"set unwindonsignal on\n"
      >=cmd-param-changed,param="unwind-on-signal",value="on"
      >8^done
      
      >&"set width 0\n"
      >=cmd-param-changed,param="width",value="4294967295"
      >9^done
      
      >&"set height 0\n"
      >10^done
      
      >&"set detach-on-fork off\n"
      >=cmd-param-changed,param="detach-on-fork",value="off"
      >11^done
      
      >&"python sys.path.insert(1, '/home/<REMOVED FOR PRIVACY REASONS>/apps/Qt/Tools/QtCreator/share/qtcreator/debugger')\n"
      >12^done
      
      >&"python from gdbbridge import *\n"
      >13^done
      
      >&"python theDumper.loadDumpers({\"token\":14})\n"
      >~"result=[...REMOVED TO AVOID POST LIMIT...]\n"
      >14^done
      d[GDB] ENGINE SUCCESSFULLY STARTED
      d[GDB] Taking notice of pid 34259
       [GDB] Going to attach to 34259 (0)
      
      d[GDB] NOTE: ENGINE SETUP OK
      d[GDB] State changed from EngineSetupRequested(1) to EngineRunRequested(3)
      d[GDB] CALL: RUN ENGINE
      <17attach 34259
      
      >~"Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.\n"
      >~"Use 'set mi-async'.\n\n"
      >15^done
      
      >&"set debug-file-directory /usr/lib/debug:/usr/lib/debug\n"
      >=cmd-param-changed,param="debug-file-directory",value="/usr/lib/debug:/usr/lib/debug"
      >16^done
      
      >&"attach 34259\n"
      >~"Attaching to process 34259\n"
      >=thread-group-started,id="i1",pid="34259"
       Thread group i1 created.
      >=thread-created,id="1",group-id="i1"
       Thread 1 created.
      >17^done
       Setting breakpoints...
      d[GDB] Setting breakpoints...
      d[GDB] INFERIOR ATTACHED
      >~"Reading symbols from /home/<REMOVED FOR PRIVACY REASONS>...\n"
       Reading /home/<REMOVED FOR PRIVACY REASONS>...
       ...
      >=library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000071632805e000",to="0x0000716328088195"}]
       Library /lib64/ld-linux-x86-64.so.2 loaded.
      >~"Reading symbols from /lib64/ld-linux-x86-64.so.2...\n"
       Reading /lib64/ld-linux-x86-64.so.2...
       ...
      >~"Reading symbols from /usr/lib/debug/.build-id/35/3e1b6cb0eebc08cf3ff812eae8a51b4efd684e.debug...\n"
       Reading /usr/lib/debug/.build-id/35/3e1b6cb0eebc08cf3ff812eae8a51b4efd684e.debug...
       ...
      >~"\nThis GDB supports auto-downloading debuginfo from the following URLs:\n"
      >~"  <https://debuginfod.ubuntu.com>\n"
      >~"Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]\n"
      >~"Debuginfod has been disabled.\nTo make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.\n"
      >~"0x000071632807c540 in _start () from /lib64/ld-linux-x86-64.so.2\n"
      >*stopped,frame={addr="0x000071632807c540",func="_start",args=[],from="/lib64/ld-linux-x86-64.so.2",arch="i386:x86-64"},thread-id="1",stopped-threads="all",core="2"
      d[GDB] NOTE: ENGINE RUN AND INFERIOR STOP OK
       Stopped.
      d[GDB] State changed from EngineRunRequested(3) to InferiorStopOk(10)
      d[GDB] NOTE: INFERIOR RUN REQUESTED
       Run requested...
      d[GDB] State changed from InferiorStopOk(10) to InferiorRunRequested(6)
       Running requested...
      <18-exec-continue
      eERROR: UNEXPECTED STATE: InferiorRunRequested  WANTED: InferiorStopOk IN /home/qt/work/build/qt-creator/src/plugins/debugger/gdb/gdbengine.cpp:1282
      <19importPlainDumpers on
      eERROR: UNEXPECTED STATE: InferiorRunRequested  WANTED: InferiorStopOk IN /home/qt/work/build/qt-creator/src/plugins/debugger/gdb/gdbengine.cpp:1330
       Stopped.
      
      <20-thread-info
      >18^running
      d[GDB] NOTE: INFERIOR RUN OK
       Running.
      d[GDB] State changed from InferiorRunRequested(6) to InferiorRunOk(7)
      >*running,thread-id="all"
      d[GDB] NOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      
      >~"\nProgram"
      >~" received signal SIGCONT, Continued.\n"
      >~"0x000071632807c540 in _start () from /lib64/ld-linux-x86-64.so.2\n"
      >*stopped,reason="signal-received",signal-name="SIGCONT",signal-meaning="Continued",frame={addr="0x000071632807c540",func="_start",args=[],from="/lib64/ld-linux-x86-64.so.2",arch="i386:x86-64"},thread-id="1",stopped-threads="all",core="2"
      d[GDB] NOTE: INFERIOR SPONTANEOUS STOP
       Stopped.
      d[GDB] State changed from InferiorRunOk(7) to InferiorStopOk(10)
      d[GDB] NOTE: INFERIOR RUN REQUESTED
       Run requested...
      d[GDB] State changed from InferiorStopOk(10) to InferiorRunRequested(6)
       Running requested...
      <21-exec-continue
       Stopped: "signal-received".
      
      >&"p 0\n"
      >~"$1 = 0\n"
      >^done
      
      >&"importPlainDumpers on\n"
      >~"None\n"
      >19^done
      
      >20^done,threads=[{id="1",target-id="process 34259",name="<REMOVED FOR PRIVACY REASONS>",frame={level="0",addr="0x000071632807c540",func="_start",args=[],from="/lib64/ld-linux-x86-64.so.2",arch="i386:x86-64"},state="stopped",core="2"}],current-thread-id="1"
      <22threadnames 20
      <23python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":23})
      
      <24-thread-info
      >21^running
      d[GDB] NOTE: INFERIOR RUN OK
       Running.
      d[GDB] State changed from InferiorRunRequested(6) to InferiorRunOk(7)
      >*running,thread-id="all"
      d[GDB] NOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      
      >=library-loaded,id="/lib/x86_64-linux-gnu/libxcb.so.1",target-name="/lib/x86_64-linux-gnu/libxcb.so.1",host-name="/lib/x86_64-linux-gnu/libxcb.so.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716328026660",to="0x0000716328038ebe"}]
       Library /lib/x86_64-linux-gnu/libxcb.so.1 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libxcb-xkb.so.1",target-name="/lib/x86_64-linux-gnu/libxcb-xkb.so.1",host-name="/lib/x86_64-linux-gnu/libxcb-xkb.so.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716328007120",to="0x0000716328013a09"}]
       Library /lib/x86_64-linux-gnu/libxcb-xkb.so.1 loaded.
      >[...REMOVED TO AVOID POST LIMIT...]
      >=library-loaded,id="/lib/x86_64-linux-gnu/libmd.so.0",target-name="/lib/x86_64-linux-gnu/libmd.so.0",host-name="/lib/x86_64-linux-gnu/libmd.so.0",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327cf6160",to="0x0000716327cfea7a"}]
       Library /lib/x86_64-linux-gnu/libmd.so.0 loaded.
      >~"bridgemessage={msg=\"b'Loading a printer without the subprinters attribute not supported.'\"},\n"
      >~"[Thread debugging using libthread_db enabled]\n"
       [Thread debugging using libthread_db enabled]
      >~"Using host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\n"
      >=library-loaded,id="/usr/lib/x86_64-linux-gnu/libvulkan_intel_hasvk.so",target-name="/usr/lib/x86_64-linux-gnu/libvulkan_intel_hasvk.so",host-name="/usr/lib/x86_64-linux-gnu/libvulkan_intel_hasvk.so",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716326870f00",to="0x0000716326de90b2"}]
       Library /usr/lib/x86_64-linux-gnu/libvulkan_intel_hasvk.so loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libdrm.so.2",target-name="/lib/x86_64-linux-gnu/libdrm.so.2",host-name="/lib/x86_64-linux-gnu/libdrm.so.2",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327cdc760",to="0x0000716327ce7751"}]
       Library /lib/x86_64-linux-gnu/libdrm.so.2 loaded.
      >[...REMOVED TO AVOID POST LIMIT...]
      >=library-loaded,id="/lib/x86_64-linux-gnu/libicudata.so.74",target-name="/lib/x86_64-linux-gnu/libicudata.so.74",host-name="/lib/x86_64-linux-gnu/libicudata.so.74",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000071631c401040",to="0x000071631c4010f9"}]
      
       Library /lib/x86_64-linux-gnu/libicudata.so.74 loaded.
      >&"warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so\n"
       could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so
      
      >&"warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libtinfo.so.6\n"
       could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libtinfo.so.6
      >=library-loaded,id="/usr/lib/x86_64-linux-gnu/libvulkan_radeon.so",target-name="/usr/lib/x86_64-linux-gnu/libvulkan_radeon.so",host-name="/usr/lib/x86_64-linux-gnu/libvulkan_radeon.so",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000071631b898180",to="0x000071631bcfc8d2"}]
       Library /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1",target-name="/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1",host-name="/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007163278657a0",to="0x000071632786a201"}]
       Library /lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libelf.so.1",target-name="/lib/x86_64-linux-gnu/libelf.so.1",host-name="/lib/x86_64-linux-gnu/libelf.so.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327847700",to="0x000071632785bf4f"}]
       Library /lib/x86_64-linux-gnu/libelf.so.1 loaded.
      >&"warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so\n"
       could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so
      >=library-loaded,id="/lib/x86_64-linux-gnu/libGLX_nvidia.so.0",target-name="/lib/x86_64-linux-gnu/libGLX_nvidia.so.0",host-name="/lib/x86_64-linux-gnu/libGLX_nvidia.so.0",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000071632672a6b0",to="0x0000716326783461"}]
       Library /lib/x86_64-linux-gnu/libGLX_nvidia.so.0 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libnvidia-glsi.so.535.183.01",target-name="/lib/x86_64-linux-gnu/libnvidia-glsi.so.535.183.01",host-name="/lib/x86_64-linux-gnu/libnvidia-glsi.so.535.183.01",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000071631b2107d0",to="0x000071631b26dbb2"}]
       Library /lib/x86_64-linux-gnu/libnvidia-glsi.so.535.183.01 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libnvidia-tls.so.535.183.01",target-name="/lib/x86_64-linux-gnu/libnvidia-tls.so.535.183.01",host-name="/lib/x86_64-linux-gnu/libnvidia-tls.so.535.183.01",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327c83050",to="0x0000716327c84bd1"}]
       Library /lib/x86_64-linux-gnu/libnvidia-tls.so.535.183.01 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libnvidia-glcore.so.535.183.01",target-name="/lib/x86_64-linux-gnu/libnvidia-glcore.so.535.183.01",host-name="/lib/x86_64-linux-gnu/libnvidia-glcore.so.535.183.01",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007163186f9000",to="0x0000716319f7c7e1"}]
       Library /lib/x86_64-linux-gnu/libnvidia-glcore.so.535.183.01 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libX11.so.6",target-name="/lib/x86_64-linux-gnu/libX11.so.6",host-name="/lib/x86_64-linux-gnu/libX11.so.6",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716325cdd100",to="0x0000716325d6bfde"}]
       Library /lib/x86_64-linux-gnu/libX11.so.6 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libXext.so.6",target-name="/lib/x86_64-linux-gnu/libXext.so.6",host-name="/lib/x86_64-linux-gnu/libXext.so.6",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327834600",to="0x000071632783ebce"}]
       Library /lib/x86_64-linux-gnu/libXext.so.6 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libdl.so.2",target-name="/lib/x86_64-linux-gnu/libdl.so.2",host-name="/lib/x86_64-linux-gnu/libdl.so.2",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000071632782c040",to="0x000071632782c105"}]
       Library /lib/x86_64-linux-gnu/libdl.so.2 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libpthread.so.0",target-name="/lib/x86_64-linux-gnu/libpthread.so.0",host-name="/lib/x86_64-linux-gnu/libpthread.so.0",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327827040",to="0x0000716327827105"}]
       Library /lib/x86_64-linux-gnu/libpthread.so.0 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/librt.so.1",target-name="/lib/x86_64-linux-gnu/librt.so.1",host-name="/lib/x86_64-linux-gnu/librt.so.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327822080",to="0x00007163278222b1"}]
       Library /lib/x86_64-linux-gnu/librt.so.1 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.535.183.01",target-name="/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.535.183.01",host-name="/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.535.183.01",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716315981c60",to="0x0000716317550332"}]
       Library /lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.535.183.01 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libxcb-glx.so.0",target-name="/lib/x86_64-linux-gnu/libxcb-glx.so.0",host-name="/lib/x86_64-linux-gnu/libxcb-glx.so.0",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007163275d80a0",to="0x00007163275e02a9"}]
       Library /lib/x86_64-linux-gnu/libxcb-glx.so.0 loaded.
      >=library-loaded,id="/usr/lib/x86_64-linux-gnu/libvulkan_virtio.so",target-name="/usr/lib/x86_64-linux-gnu/libvulkan_virtio.so",host-name="/usr/lib/x86_64-linux-gnu/libvulkan_virtio.so",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000071631c2ef800",to="0x000071631c3aa912"}]
       Library /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so loaded.
      >&"warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so\n"
       could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so
      >=library-loaded,id="/usr/lib/x86_64-linux-gnu/libvulkan_intel.so",target-name="/usr/lib/x86_64-linux-gnu/libvulkan_intel.so",host-name="/usr/lib/x86_64-linux-gnu/libvulkan_intel.so",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716314690080",to="0x0000716314dc5762"}]
       Library /usr/lib/x86_64-linux-gnu/libvulkan_intel.so loaded.
      >&"warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_intel.so\n"
       could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_intel.so
      >=library-loaded,id="/lib/x86_64-linux-gnu/libVkLayer_khronos_validation.so",target-name="/lib/x86_64-linux-gnu/libVkLayer_khronos_validation.so",host-name="/lib/x86_64-linux-gnu/libVkLayer_khronos_validation.so",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716312e97970",to="0x0000716313caac8e"}]
       Library /lib/x86_64-linux-gnu/libVkLayer_khronos_validation.so loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libVkLayer_MESA_device_select.so",target-name="/lib/x86_64-linux-gnu/libVkLayer_MESA_device_select.so",host-name="/lib/x86_64-linux-gnu/libVkLayer_MESA_device_select.so",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000071632804a860",to="0x0000716328052792"}]
       Library /lib/x86_64-linux-gnu/libVkLayer_MESA_device_select.so loaded.
      >&"warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libVkLayer_MESA_device_select.so\n"
       could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libVkLayer_MESA_device_select.so
      >=library-loaded,id="/lib/x86_64-linux-gnu/libdbus-1.so.3",target-name="/lib/x86_64-linux-gnu/libdbus-1.so.3",host-name="/lib/x86_64-linux-gnu/libdbus-1.so.3",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327573f10",to="0x00007163275a27bb"}]
       Library /lib/x86_64-linux-gnu/libdbus-1.so.3 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libsystemd.so.0",target-name="/lib/x86_64-linux-gnu/libsystemd.so.0",host-name="/lib/x86_64-linux-gnu/libsystemd.so.0",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000071631b737e20",to="0x000071631b7c46c0"}]
       Library /lib/x86_64-linux-gnu/libsystemd.so.0 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libcap.so.2",target-name="/lib/x86_64-linux-gnu/libcap.so.2",host-name="/lib/x86_64-linux-gnu/libcap.so.2",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327817980",to="0x000071632781c517"}]
       Library /lib/x86_64-linux-gnu/libcap.so.2 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libgcrypt.so.20",target-name="/lib/x86_64-linux-gnu/libgcrypt.so.20",host-name="/lib/x86_64-linux-gnu/libgcrypt.so.20",symbols-loaded="0",thread-group="i1",ranges=[{from="0x000071631b5e7ac0",to="0x000071631b6da0de"}]
       Library /lib/x86_64-linux-gnu/libgcrypt.so.20 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/liblz4.so.1",target-name="/lib/x86_64-linux-gnu/liblz4.so.1",host-name="/lib/x86_64-linux-gnu/liblz4.so.1",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327548180",to="0x0000716327562e8c"}]
       Library /lib/x86_64-linux-gnu/liblz4.so.1 loaded.
      >=library-loaded,id="/lib/x86_64-linux-gnu/libgpg-error.so.0",target-name="/lib/x86_64-linux-gnu/libgpg-error.so.0",host-name="/lib/x86_64-linux-gnu/libgpg-error.so.0",symbols-loaded="0",thread-group="i1",ranges=[{from="0x0000716327524a20",to="0x0000716327539d72"}]
       Library /lib/x86_64-linux-gnu/libgpg-error.so.0 loaded.
      >&"warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libcap.so.2\n"
       could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libcap.so.2
      >=library-unloaded,id="/lib/x86_64-linux-gnu/libdbus-1.so.3",target-name="/lib/x86_64-linux-gnu/libdbus-1.so.3",host-name="/lib/x86_64-linux-gnu/libdbus-1.so.3",thread-group="i1"
       Library /lib/x86_64-linux-gnu/libdbus-1.so.3 unloaded.
      >=library-unloaded,id="/lib/x86_64-linux-gnu/libsystemd.so.0",target-name="/lib/x86_64-linux-gnu/libsystemd.so.0",host-name="/lib/x86_64-linux-gnu/libsystemd.so.0",thread-group="i1"
       Library /lib/x86_64-linux-gnu/libsystemd.so.0 unloaded.
      >=library-unloaded,id="/lib/x86_64-linux-gnu/libcap.so.2",target-name="/lib/x86_64-linux-gnu/libcap.so.2",host-name="/lib/x86_64-linux-gnu/libcap.so.2",thread-group="i1"
       Library /lib/x86_64-linux-gnu/libcap.so.2 unloaded.
      >=library-unloaded,id="/lib/x86_64-linux-gnu/libgcrypt.so.20",target-name="/lib/x86_64-linux-gnu/libgcrypt.so.20",host-name="/lib/x86_64-linux-gnu/libgcrypt.so.20",thread-group="i1"
       Library /lib/x86_64-linux-gnu/libgcrypt.so.20 unloaded.
      >=library-unloaded,id="/lib/x86_64-linux-gnu/liblz4.so.1",target-name="/lib/x86_64-linux-gnu/liblz4.so.1",host-name="/lib/x86_64-linux-gnu/liblz4.so.1",thread-group="i1"
       Library /lib/x86_64-linux-gnu/liblz4.so.1 unloaded.
      >=library-unloaded,id="/lib/x86_64-linux-gnu/libgpg-error.so.0",target-name="/lib/x86_64-linux-gnu/libgpg-error.so.0",host-name="/lib/x86_64-linux-gnu/libgpg-error.so.0",thread-group="i1"
       Library /lib/x86_64-linux-gnu/libgpg-error.so.0 unloaded.
      >=library-unloaded,id="/usr/lib/x86_64-linux-gnu/libvulkan_intel.so",target-name="/usr/lib/x86_64-linux-gnu/libvulkan_intel.so",host-name="/usr/lib/x86_64-linux-gnu/libvulkan_intel.so",thread-group="i1"
       Library /usr/lib/x86_64-linux-gnu/libvulkan_intel.so unloaded.
      >=library-unloaded,id="/usr/lib/x86_64-linux-gnu/libvulkan_radeon.so",target-name="/usr/lib/x86_64-linux-gnu/libvulkan_radeon.so",host-name="/usr/lib/x86_64-linux-gnu/libvulkan_radeon.so",thread-group="i1"
       Library /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so unloaded.
      >=library-unloaded,id="/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1",target-name="/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1",host-name="/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1",thread-group="i1"
       Library /lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 unloaded.
      >=library-unloaded,id="/lib/x86_64-linux-gnu/libelf.so.1",target-name="/lib/x86_64-linux-gnu/libelf.so.1",host-name="/lib/x86_64-linux-gnu/libelf.so.1",thread-group="i1"
       Library /lib/x86_64-linux-gnu/libelf.so.1 unloaded.
      >=library-unloaded,id="/usr/lib/x86_64-linux-gnu/libvulkan_intel_hasvk.so",target-name="/usr/lib/x86_64-linux-gnu/libvulkan_intel_hasvk.so",host-name="/usr/lib/x86_64-linux-gnu/libvulkan_intel_hasvk.so",thread-group="i1"
       Library /usr/lib/x86_64-linux-gnu/libvulkan_intel_hasvk.so unloaded.
      >=thread-created,id="2",group-id="i1"
       Thread 2 created.
      >~"[New Thread 0x71631c2006c0 (LWP 34273)]\n"
       [New Thread 0x71631c2006c0 (LWP 34273)]
      >*running,thread-id="2"
      d[GDB] NOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      >=thread-created,id="3",group-id="i1"
       Thread 3 created.
      >~"[New Thread 0x7163156006c0 (LWP 34274)]\n"
       [New Thread 0x7163156006c0 (LWP 34274)]
      >*running,thread-id="3"
      d[GDB] NOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      >=thread-created,id="4",group-id="i1"
       Thread 4 created.
      >~"[New Thread 0x716312a006c0 (LWP 34275)]\n"
       [New Thread 0x716312a006c0 (LWP 34275)]
      >*running,thread-id="4"
      d[GDB] NOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      >=thread-created,id="5",group-id="i1"
       Thread 5 created.
      >~"[New Thread 0x7163120006c0 (LWP 34276)]\n"
       [New Thread 0x7163120006c0 (LWP 34276)]
      >*running,thread-id="5"
      d[GDB] NOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      >=thread-created,id="6",group-id="i1"
       Thread 6 created.
      >~"[New Thread 0x71630be006c0 (LWP 34277)]\n"
       [New Thread 0x71630be006c0 (LWP 34277)]
      >*running,thread-id="6"
      d[GDB] NOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      >=thread-created,id="7",group-id="i1"
       Thread 7 created.
      >~"[New Thread 0x71630b4006c0 (LWP 34278)]\n"
       [New Thread 0x71630b4006c0 (LWP 34278)]
      >*running,thread-id="7"
      d[GDB] NOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      
      >=thread-created,id="8",group-id="i1"
       Thread 8 created.
      >~"[New Thread 0x71630aa006c0 (LWP 34279)]\n"
       [New Thread 0x71630aa006c0 (LWP 34279)]
      >*running,thread-id="8"
      d[GDB] NOTE: INFERIOR STILL RUNNING IN STATE InferiorRunOk.
      
      d[GDB] 22: threadnames 20
      d[GDB] 23: python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":23})
      d[GDB] 24: -thread-info
      d[GDB] TIMED OUT WAITING FOR GDB REPLY. COMMANDS STILL IN PROGRESS: "-thread-info", "threadnames 20", "python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":23})"
      
      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sl3dg3
        wrote on 6 Jan 2025, 13:10 last edited by Sl3dg3 22 days from now
        #3

        When debugging from terminal with

        gdb ./myapp
        
        gdb ./myapp 
        GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git
        Copyright (C) 2024 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.
        Type "show copying" and "show warranty" for details.
        This GDB was configured as "x86_64-linux-gnu".
        Type "show configuration" for configuration details.
        For bug reporting instructions, please see:
        <https://www.gnu.org/software/gdb/bugs/>.
        Find the GDB manual and other documentation resources online at:
            <http://www.gnu.org/software/gdb/documentation/>.
        
        For help, type "help".
        Type "apropos word" to search for commands related to "word"...
        Reading symbols from ./myapp...
        (gdb) run
        Starting program: /home/<REMOVED FOR PRIVACY REASONS>
        
        This GDB supports auto-downloading debuginfo from the following URLs:
          <https://debuginfod.ubuntu.com>
        Enable debuginfod for this session? (y or [n]) n
        Debuginfod has been disabled.
        To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
        warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_intel_hasvk.so
        warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so
        warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libtinfo.so.6
        warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so
        warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so
        warning: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/libvulkan_intel.so
        warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libVkLayer_MESA_device_select.so
        warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libcap.so.2
        [New Thread 0x7fffec2006c0 (LWP 15968)]
        [New Thread 0x7fffe56006c0 (LWP 15969)]
        [New Thread 0x7fffe2a006c0 (LWP 15970)]
        [New Thread 0x7fffe20006c0 (LWP 15971)]
        [New Thread 0x7fffdbe006c0 (LWP 15972)]
        [New Thread 0x7fffdb4006c0 (LWP 15973)]
        [New Thread 0x7fffdaa006c0 (LWP 15974)]
        [Thread 0x7fffdbe006c0 (LWP 15972) exited]
        [Thread 0x7fffdb4006c0 (LWP 15973) exited]
        [Thread 0x7fffdaa006c0 (LWP 15974) exited]
        [Thread 0x7fffe20006c0 (LWP 15971) exited]
        [Thread 0x7fffe56006c0 (LWP 15969) exited]
        [Thread 0x7fffe2a006c0 (LWP 15970) exited]
        [Thread 0x7fffec2006c0 (LWP 15968) exited]
        [Inferior 1 (process 15965) exited normally]
        

        there is no such timeout so it must be something that Qt Creator IDE is doing?

        1 Reply Last reply
        0
        • C Christian Ehrlicher moved this topic from General and Desktop on 6 Jan 2025, 14:12
        • A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 6 Jan 2025, 14:19 last edited by
          #4

          @Sl3dg3: Do you have QML debugging enabled in (left mode bar) Projects > Kit > Run > Debugger Settings?

          For me disabling that gave a great GDB speedup for some projects.

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sl3dg3
            wrote on 7 Jan 2025, 13:26 last edited by
            #5

            Thank you so much for pointing me at these settings!
            Disabling the QML debugging had no effect BUT unchecking "Run in terminal" solved the problem!
            RunInTerminal.png

            1 Reply Last reply
            1
            • A aha_1980 has marked this topic as solved on 11 Jan 2025, 21:09

            5/5

            7 Jan 2025, 13:26

            • Login

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