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: check the context validity before accessing the session #403

Conversation

YuanYuYuan
Copy link
Contributor

This PR addresses the flaky failure in rclcpp/test_wait_for_message. The test sometimes behaves as a use-after-free, say use the session to create a subscription after the context is shut down.

@Yadunund Yadunund merged commit 660b1b0 into ros2:rolling Jan 9, 2025
5 checks passed
@Yadunund Yadunund deleted the fix/rclcpp-test_wait_for_message-race-condition branch January 9, 2025 18:06
@Yadunund
Copy link
Member

Yadunund commented Jan 9, 2025

@Mergifyio backport jazzy humble

Copy link

mergify bot commented Jan 9, 2025

backport jazzy humble

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jan 9, 2025
mergify bot pushed a commit that referenced this pull request Jan 9, 2025
Yadunund pushed a commit that referenced this pull request Jan 10, 2025
Yadunund pushed a commit that referenced this pull request Jan 10, 2025
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