Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with debuginfod: client side #952

Open
fche opened this issue Oct 13, 2020 · 3 comments
Open

Integration with debuginfod: client side #952

fche opened this issue Oct 13, 2020 · 3 comments
Assignees

Comments

@fche
Copy link

fche commented Oct 13, 2020

We can teach abrtd to look for debuginfo not just in the downloaded database and not just in /usr/lib/debug/.build-id/, but also try contacting a debuginfod server. The latter would not require any abrt-side tracking or cleanup.

One bit of new code this would require is a thin python binding to the -ldebuginfod client library (3 or 4 simple functions). Would y'all be receptive to a simple ctypes FFI within your codebase?

@fche
Copy link
Author

fche commented Oct 13, 2020

Alternately, your code could call out to /usr/bin/debuginfod-find {debuginfo,executable,source} $BUILDID [/SRC/FILENAME] and skip the ctypes business.

@xsuchy xsuchy added this to Needs triage in Issue review Oct 14, 2020
@xsuchy xsuchy moved this from Needs triage to In progress in Issue review Nov 3, 2020
@xsuchy xsuchy moved this from In progress to Yes in Issue review Nov 3, 2020
@fche
Copy link
Author

fche commented Apr 26, 2021

Please note that the Fedora debuginfod servers are now online. It may be that you can jettison your entire RPM downloading / indexing efforts, and just use

export DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/

in the fedora abrt servers, and let gdb download things on the fly for itself.

@mgrabovsky
Copy link
Contributor

Thanks for the great news! We'll be looking into how debuginfod can help us and how we may be able to integrate it in the coming month or so.

@mgrabovsky mgrabovsky self-assigned this Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants