Bug 2035283
Summary: | gdb hangs until debuginfod metadata is downloaded | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vitaly <vitaly> |
Component: | gdb | Assignee: | Kevin Buettner <kevinb> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 35 | CC: | ahajkova, amerey, blarsen, fweimer, helio, jan.kratochvil, jreznik, kde-sig, keiths, kevinb, manisandro, mcermak, pmuldoon, rdieter, sergiodj, thomas.zimmermann |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-02-09 17:04:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vitaly
2021-12-23 13:13:48 UTC
Most likely dependent on system environment, as it's working here (I'm debugging Qt/C++ on a daily basis with qt-creator). Changing "Debug" -> "Views" -> "Global debugger log" fixed this issue until the next Qt Creator start. The issue was https://fedoraproject.org/wiki/Debuginfod gdb starts working only after the debuginfod client download ~1.2 GiB of files. Can be easily reproduced. Remove all caches from ~/.cache/debuginfod* and start debugging in Qt Creator. It will hang until download complete. Workaround: echo "set debuginfod enabled off" > ~/.gdbinit This needs to be reassigned to a more relevant component, I can't see what qt-creator can do about it. Changing component to gdb. Btw, workaround doesn't work with Qt Creator. This issue should be fixed in gdb-11.1-6.fc35.x86_64. Debuginfod will not run by default when input is not coming from a terminal. Additionally 'echo "set debuginfod enabled off" > ~/.gdbinit' will now disable debuginfod. If you do wish to enable debuginfod in this case, 'echo "set debuginfod enabled on" > ~/.gdbinit' will do the trick. |