[Trac] [AllemaniACs] #42: FireVision plugin unload deadlock

AllemaniACs trac-notifications at lists.kbsg.rwth-aachen.de
Mon Apr 28 14:07:29 CEST 2008


#42: FireVision plugin unload deadlock
------------------------+---------------------------------------------------
 Reporter:  tim         |       Owner:  tim
     Type:  defect      |      Status:  new
 Priority:  critical    |   Milestone:     
Component:  FireVision  |    Keywords:     
------------------------+---------------------------------------------------
 The fawkes process is deadlocked very often when unloading a plugin. The
 problem is that in the acquisition thread the image is captured and
 possibly converted, and then the cyclic vision threads for this camera are
 called. In the capture/convert time the threads can be cancelled because
 the loop is not running, and then the aquisition thread will wait forever
 on the barrier of cyclic threads. Since currently the base vision runs in-
 loop the whole fawkes loop deadlocks.

 I tracked down the problem on GO2008 with valuable input from Daniel and
 Volker. I have yet to come up with a good solution though.

-- 
Ticket URL: <https://lechuck.informatik.rwth-aachen.de:2342/trac/ticket/42>
AllemaniACs <http://robocup.rwth-aachen.de>
AllemaniACs Trac


More information about the fawkes-trac mailing list