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

Update to latest upstream symbolic and implement brekpad-to-native fallback #41

Merged
merged 2 commits into from
Feb 5, 2021

Conversation

gabrielesvelto
Copy link
Collaborator

A couple of changes in this PR:

  • It updates fix-stacks to use the latest symbolic, this solves an issue within symbolic that caused dump_syms to abort when built with recent versions of rustc
  • It adds a fallback so that when using breakpad symbols if we can't find the symbol for a given file we try to fall back to the file's native debug information rather than return the unsymbolicated line

The macOS tests are failing because of a change that was introduced in upstream symbolic: this change modified the code used for parsing DWARF objects to ignore line entries starting at address 0. The reasoning behind the change is that those entries would be illegal per the DWARF spec and thus the debuginfo must be considered buggy. However, as it happens, our small macOS-specific test has just that kind of entries in the debuginfo. I tried recompiling it with more recent tools from Apple but to no avail.

Copy link

@krispyfries krispyfries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

@gabrielesvelto
Copy link
Collaborator Author

Thanks Kris, I'll open a follow up bug to pull the new version into mozilla-central after merging

@gabrielesvelto gabrielesvelto merged commit c30daae into mozilla:master Feb 5, 2021
@gabrielesvelto gabrielesvelto deleted the symbolic-8.0.3 branch February 5, 2021 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants