-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
Segmentation fault when subscribing to gazebo topics #300
Comments
update about issue B: |
update about issue A : So maybe some library dependency is skewed on my system? |
I will investigate |
I think I solved issue A. can you try the last version on master? EDIT: I haven't been able to reproduce B, but the more I think about it, more I believe that A and B were caused by the same issue that the last commit should have solved (thread safety). And INDEED, it is the same problem as #93 (plugin were rewritten) |
Fantastic thanks for the fast fix. I've tested the latest version on master: no more issue. Happy to close the ticket! |
Hello and thanks for this great program.
I have an issue plotting data from gazebo9.
Issue A: Seg fault when subscribing to the live gazebo simulation
Segmentation fault (Address not mapped to object [(nil)])
Subscribing to gazebo topics leads very quickly (few seconds) to a segmentation fault / core dumped : attached log
plot_juggler_fromSource.log
plot_juggler_debianPackage.log
(the logs are lauching Plotjuggler with a layout but Plot juggler also crashes if I just start it without any cli arguments and then manually choose the topics)
Issue B: Seg fault when subscribing to a rosbag made from the gazebo simulation:
segfault_2020-07-02-12-08-07bag.zip
rosbag play -l segfault_2020-07-02-12-08-07.bag
.There is no crash like in issue A.
But after a while (several minutes) there is the same seg fault and error output as reported in #93
(I am also using XY plot of messages in the same topic).
log attached:
plot_juggler_XYsame_topic.log
throw std::runtime_error("X and Y axis don't share the same time axis");
I could not reproduce the issues with datasamples/example.bag
I wonder if there is a race condition caused by the messages being published at very high hz and bw by gazebo.
Environment:
Please let me know if this is a known issue.
Otherwise I'll be happy to provide more info / explore more simplified configurations to make it easier to reproduce. I'm not sure whether it's related to gazebo.
The text was updated successfully, but these errors were encountered: