-
Notifications
You must be signed in to change notification settings - Fork 532
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
FCL collision checking crashes during motion #3083
Comments
Some additional findings:
|
I just checked and the typos in collision disabling have been fixed, so that rules out that as a cause. I'm fairly confident the issue in in these lines, since the backtrace suggests the crash occurs within These are the logs leading up to the failure:
|
Ah actually, our version of moveit builds |
Backtrace with line numbers:
|
Probably not related to the current problem, but line 199 of collision_common.cpp is suspicious:
Why is this storing the output of |
@rr-mark, indeed collision_common.cpp:199 is wrong. The crash is also unrelated to execution: The log clearly shows that execution was successfully finished. |
Yes, we call |
And yes, you're right, it is during that service call that it crashes. |
I'm adding some debug prints now to try and work out what's going wrong. |
It looks like
|
Both |
(Fixing line 199 did not fix the crash) |
Objects are automatically initialized by calling the default constructor. I think |
I'm confused.
I'm just rejigging my dependency stack so I can get debugging and prints from moveit_ros. |
Hmm, adding |
Probably. The collision checking code is rather old and segfaults weren't reported for quite some time... |
As @rr-mark mentioned, building the additional packages seems to have fixed the issue. I think the cause was that our binaries are from Closing this issue. |
Description
In some situations (I haven't been able to find a common cause), the move group crashes when executing a motion. Backtracing with gdb suggests that the crash is occuring within the FCL collision checker.
ROS Distro
Humble
OS and version
Ubuntu 22.04 (via docker)
Source or binary build?
Both
(source for moveit_core and pilz_industrial_motion_planner, binaries for everything else)
If binary, which release version?
2.5.5
(for everything besides moveit_core and pilz_industrial_motion_planner)
If source, which branch?
https://github.com/rr-tom-noble/moveit2/tree/bugfix/pilz-fix (humble plus #3077, #3055, #3070)
(only for moveit_core and pilz_industrial_motion_planner)
Which RMW are you using?
FastRTPS
Steps to Reproduce
Unsure, as the error appears to be sporadic. I'll update with details as I investigate.
Expected behavior
Valid motion plans should not crash the move group
Actual behavior
When attempting a motion, the move group (sometimes) crashes. Backtracing with gdb suggests that this is happening within the FCL collision checker.
Backtrace or Console output
The text was updated successfully, but these errors were encountered: