Skip to content

symbolizer: Stop using llvm-symbolizer if it crashes#5361

Open
g-ortuno wants to merge 11 commits into
masterfrom
symbolizer-once
Open

symbolizer: Stop using llvm-symbolizer if it crashes#5361
g-ortuno wants to merge 11 commits into
masterfrom
symbolizer-once

Conversation

@g-ortuno

Copy link
Copy Markdown
Collaborator

Changes LLVMSymbolizer.symbolize() to return early if it previously raised an error. This avoids trying to use the crashed symbolizer for every new frame which is currently causing a lot of error logs.

Also changes the error message to include the last successfully symbolized frame.

g-ortuno added 8 commits July 13, 2026 14:15
Adds a new test for llvm-symbolizer successfully symbolizing a normal stack trace and one for frames that return multiple frames.

Also refactors the crashing mock to more closely match a real crashing
llvm-symbolizer i.e. succeeding for the first frame but crashing when
symbolizing the second line.
@g-ortuno g-ortuno changed the title Symbolizer once symbolizer: Stop using llvm-symbolizer if it crashes Jul 14, 2026
@g-ortuno g-ortuno marked this pull request as ready for review July 14, 2026 21:07
@g-ortuno g-ortuno requested a review from a team as a code owner July 14, 2026 21:07
@g-ortuno g-ortuno requested a review from dylanjew July 14, 2026 21:07
@g-ortuno

Copy link
Copy Markdown
Collaborator Author

@dylanjew : PTAL!

@g-ortuno g-ortuno requested a review from ViniciustCosta July 14, 2026 21:23
@g-ortuno

Copy link
Copy Markdown
Collaborator Author

@ViniciustCosta : PTAL!

@g-ortuno

Copy link
Copy Markdown
Collaborator Author

@ViniciustCosta friendly ping?

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.

2 participants