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

fix: do not repair Go profiles with deeply recursive stacks #3052

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

kolesnikovae
Copy link
Collaborator

After testing #3014 with more data, I discovered a case when an attempt to restore the profile may result in excessive CPU usage, and possibly an infinite loop. In the PR I improve handling of edge cases and add a protection from recursive references.

@kolesnikovae kolesnikovae marked this pull request as ready for review February 28, 2024 06:38
@kolesnikovae kolesnikovae requested a review from a team as a code owner February 28, 2024 06:38
@kolesnikovae kolesnikovae enabled auto-merge (squash) February 28, 2024 06:45
@kolesnikovae kolesnikovae merged commit 163b940 into main Feb 28, 2024
19 checks passed
@kolesnikovae kolesnikovae deleted the fix/stacktrace-chaining branch February 28, 2024 06:46
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