[Rock-dev] Stop command freezes orocos.rb script
Sylvain Joyeux
sylvain.joyeux at dfki.de
Tue Oct 25 18:58:52 CEST 2011
As you guessed, Orocos.run calls #stop itself, so just not calling stop
is not a proper workaround. You can get hold on the process object by
adding a parameter to the block and forcefully kill the process.
Orocos.run 'deployment_name' do |proc|
...
proc.kill(true, 'KILL')
end
> Does anyone have an idea about the reason of this issue / behaviour?
Out of the top of my head, I see only two possible reasons:
* the task's updateHook blocks completely (does not return)
* the CORBA layer blocks. Which should not happen. Theoretically.
Checking the first one is as simple as attaching a gdb on the remote
component. Checking the second one is a bit harder. You could maybe
generate omniorb logs on both sides and check what happens ...
--
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics
!!! Achtung, neue Telefonnummer!!!
Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178-454136
Fax: +49 (0)421 218-454150
E-Mail: robotik at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
More information about the Rock-dev
mailing list