Skip to content

Support debuginfod #459

Open
Open
@bobrik

Description

@bobrik

There's a mention of debuginfod in the code from #427 (cc @philipc). I suggest we also add support for looking up in debuginfod.

If DEBUGINFOD_URLS is set, the the debug info can be obtained from:

  • {URL}/buildid/{BUILD_ID}/debuginfo

The simplest option is to call out to debuginfod-find. Another option is to download the file directly, but then you also need to think whether to cache it and where. LLVM uses a separate directory from debuginfod-client, for example.

Both options are likely to have issues with sandboxing. Thinking of sentry use-case, the panic handling thread probably has network access to send the report, so downloading might be more feasible than shelling out.

I can probably find time to work on this if there's a consensus how to best implement this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions