-
Notifications
You must be signed in to change notification settings - Fork 9
agents: fix crash accessing cont prof queue #348
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
Conversation
WalkthroughA static callback function in the gRPC agent implementation was updated to include an additional null check. Now, the function returns early if either the agent pointer or its internal profile queue is null, enhancing safety before attempting to enqueue profile data. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
On runtime shutdown, when continuous profiling is enabled, it can happen that we try access `GrpcAgent::cont_prof_queue_` when it has already being reset, thus crashing the process.
4163c74 to
4a13325
Compare
On runtime shutdown, when continuous profiling is enabled, it can happen that we try access `GrpcAgent::cont_prof_queue_` when it has already being reset, thus crashing the process. PR-URL: #348 Reviewed-By: Rafael Gonzaga <[email protected]>
|
Landed in 7cd0229 |
On runtime shutdown, when continuous profiling is enabled, it can happen that we try access `GrpcAgent::cont_prof_queue_` when it has already being reset, thus crashing the process. PR-URL: #348 Reviewed-By: Rafael Gonzaga <[email protected]>
On runtime shutdown, when continuous profiling is enabled, it can happen that we try access `GrpcAgent::cont_prof_queue_` when it has already being reset, thus crashing the process. PR-URL: #348 Reviewed-By: Rafael Gonzaga <[email protected]> PR-URL: #359 Reviewed-By: Juan José Arboleda <[email protected]>
On runtime shutdown, when continuous profiling is enabled, it can happen that we try access
GrpcAgent::cont_prof_queue_when it has already being reset, thus crashing the process.Summary by CodeRabbit