-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid stack overflow in native symbolification
If looking up debug info by build id returns a file with MiniDebugInfo (the `.gnu_debugdata` section), libbacktrace will infinitely recurse, leading to a stack overflow unless the limit on the maximum number of open file descriptors is reached before the stack can overflow. Work around this by ignoring the MiniDebugInfo if we've already successfully loaded the debug info by its build id. Signed-off-by: Matt Wozniski <[email protected]>
- Loading branch information
Showing
3 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix a bug that could in rare circumstances result in a stack overflow while processing native mode stacks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters