Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The failure handler prints out a stack trace with relocated PCs, which means they can't later be used with addr2line, because the investigator having nothing but the logs of a dead process can't know the base address where the DSO was loaded. I have locally worked around this by using the SymbolDecorator API to add the relocation base address to the symbols as they are resolved. However, this isn't a great solution because that API is internal and has zero users (even within Abseil) so I suspect it is either vestigial or only used inside Google, and could be subject to change or removal.
Because that solution is fragile, I wanted to contribute a change to the failure signal handler that will be permanent. What would be the best way to present the right address? For reference, the output currently looks like this:
These two DSOs are loaded at 0x56060e44b000 and 0x7f01d8173000.
Beta Was this translation helpful? Give feedback.
All reactions