-
Notifications
You must be signed in to change notification settings - Fork 227
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
rclpy crash sometimes when hitting Ctrl-C #253
Comments
Ouch, that looks like either uninitialized memory or use after free... |
@clalancette if you still have this workspace would you mind checking if this is still an issue now that #288 has been merged? |
I've had to switch to an 18.04 workspace now. Also note that I built from the latest master. The result of the test is that I haven't seen the corruption again, but things still don't actually work with this test. When I run
However, when I kill it with Ctrl-C, things get ugly:
The topic monitor itself is much worse. I run
That is, it looks like it doesn't actually start receiving data until I kill something off. At this point, |
Same issue when doing
|
@ivanpauno Your posted snippet doesn't contain any exception byond the |
Ok, I read badly the issue description. I expected a nicer message when you |
Since the reported crash seems to be fixed I will close this ticket. @ivanpauno Please feel free to create a PR to catch the |
Bug report
Required Info:
Steps to reproduce issue
Terminal 1:
Terminal 2:
Expected behavior
Topic monitor quits cleanly.
Actual behavior
Topic monitor quits with various different behaviors. One particularly nasty one:
And then it hung.
Additional information
It fails almost every time, with different behaviors.
The text was updated successfully, but these errors were encountered: