Repository navigation
Fix move_group segfaults on SIGINT - #3996
benaliabderrahmane wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
5ccc3fd to
4936250
Compare
|
Tick the box to add this pull request to the merge queue (same as
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3996 +/- ##
==========================================
+ Coverage 48.92% 48.93% +0.02%
==========================================
Files 735 735
Lines 62699 62705 +6
Branches 7629 7630 +1
==========================================
+ Hits 30669 30680 +11
+ Misses 32030 32025 -5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Plugin libraries were unloaded while rclcpp nodes and executors still referenced entities the plugins created; releasing those references afterwards read vtables from unmapped memory. - move_group: keep the capability plugin loader alive until after the node. - TrajectoryExecutionManager: release the controller manager node and executor before the controller manager plugin is unloaded.
4936250 to
fabc849
Compare
Description
move_groupstill segfaults on SIGINT on Jazzy 2.12.4 (follow-up to #3268). Plugin libraries are unloaded while rclcpp nodes/executors still reference entities the plugins created, so releasing them reads vtables from unmapped memory.move_group.cpp: keep the capability plugin loader alive until after the node.TrajectoryExecutionManager: release the controller manager node and executor before the plugin is unloaded (destructor only, ABI-safe).Tested on Jazzy 2.12.4 (UR5e Gazebo + MoveIt): segfault 3/3 before, 0/5 after.
Checklist
Summary by CodeRabbit