Bug 2184546

Summary: long debuginfod downloads seem to break after a while
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: gdbAssignee: Kevin Buettner <kevinb>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: ahajkova, blarsen, fweimer, jan, keiths, kevinb, mcermak, mjw, pmuldoon, sergiodj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 16:03:15 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 Adam Williamson 2023-04-05 00:22:22 UTC
I've noticed this a couple of times: I have a crash which requires a lot of debuginfo, I run gdb on it with debuginfod enabled, and partway through downloading all the debuginfos, it seems to...stop working. It will sit allegedly 'downloading' one for a very long time (though iftop shows no traffic passing), then it will print something like `Download failed: Timer expired.  Continuing without separate debug info for /lib64/libgdk-3.so.0.`, then it will move to the next file, and do the same thing.

I've no idea what's causing this, but it makes debugging these crashes rather difficult.

Comment 1 Fedora Release Engineering 2023-08-16 08:08:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 2 Alexandra Petlanová Hájková 2023-08-16 08:30:53 UTC
Hi Adam,

Could you give me more information, please? What crash was it, is there a core file, how do you invoke GDB  precisely, are you typing any GDB commands? Have you tried with setting export DEBUGINFOD_VERBOSE=1? If you can still reproduce this bug, what versions are you using? $ rpm -q gdb elfutils-debuginfod-client

Thank you,
Alexandra

Comment 3 Adam Williamson 2023-08-16 16:03:15 UTC
Sorry, it's been long enough that I don't remember the details. I haven't seen it lately, I'll re-open this if it comes up again.