Skip to content

Can't get uploaded debug files to match on reported events #519

@Viterkim

Description

@Viterkim

I'm using Yocto to build Rust normally on an embedded device with stripped binaries.

But we could never get the "uploaded" debug information feature to work. It only ever works when the debug file itself is on the platform (but that defeats the purpose yea?).

I've tried setting up multiple Rust projects with various setups including:

*Using sentry-core to dump the event file as a .json file to upload later with Node. It works the same way, so no bueno. Also i see no way for how the .json file should possibly map to the uploaded sentry file, there's 0 unique binary identifiers.

  • I've tried uploading sets of files (debug info and binary), the full file.
  • I've tried stripping the file in various ways.
  • With and without the debug flag in cargo.toml
  • In the end my conclusion is i can't see a way for how sentry could possibly map the event to any debug information uploaded. (Check out the .json files)

I have made a sample project explaining everything with an easy run.sh script to replicate it.
https://github.com/Viterkim/Rust-Sentry-Upload-Debug-Information-Not-Matching

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions