-
Notifications
You must be signed in to change notification settings - Fork 217
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
Infinite Loop in the Transaction Profiler #724
Comments
@vaind Can you take a look, please? |
#725 fixes this issue for me. Thank you for getting a PR with the fix out so quickly! |
The fix was released in 0.25.0. Thanks for confirming the fix @cjcormack 🙏 |
I can confirm that release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
The transaction profiler
profiler.go
loops infinite if the transaction duration exceeds theprofilerRuntimeLimit
, causing the application to terminate due to OOM.Steps To Reproduce
Expected Behavior
Either:
profilerRuntimeLimit
.Environment
SDK
sentry-go
version: v0.24.1Sentry
Additional context
The following loop runs infinite:
sentry-go/profiler.go
Lines 243 to 251 in 7e37ede
The
profilerRuntimeLimit
defines a limit of 30 seconds. If the transaction lasts longer, thestart
-30-second-ring-structure is filled completely which causes both break conditions to not apply.The text was updated successfully, but these errors were encountered: