Closed corot closed 1 year ago
match for ROS 2 please :-)
I also asked @onjen from #246 to review
match for ROS 2 please :-)
@SteveMacenski san, happy new year,,, maybe time for a happy new release? :thinking:
I did a series of them right before the holidays but STVL was still in a funky state with the deadlock. It’ll be on my next release day Feb 10 unless there’s a rush for sooner. I typically batch release a few dozen packages in one sitting
It’ll be on my next release day Feb 10 unless there’s a rush for sooner. I typically batch release a few dozen packages in one sitting
sounds good; thanks!
The deadlock sequence is
updateBounds
locks_voxel_grid_lock
clear_costmap
recovery locks costmap mutexclear_costmap
recovery callsclearArea
clearArea
tries to lock_voxel_grid_lock
--> locked waiting forupdateBounds
to release itupdateBounds
tries to lock costmap mutex --> locked waiting forclear_costmap
recovery to release itThe alternative is to remove the lock at clearArea. I don't think it is needed
Draft PR until we decide the best fix (and clear the TODOs added for info)
To reproduce I use this simple script:
Note that I keep increasing
concurrency_slot
, so MBF calls recovery in parallel. In theory sequential calls should be enough, but I cannot make it fail that way.