操作
バグ #1435
完了C++からサブプロセスとしてrtcd_pythonがコールされた場合の不具合
開始日:
2010/04/23
期日:
進捗率:
100%
予定工数:
説明
C++からサブプロセスとしてrtcd_pythonがコールされた場合、Pythonのplatformモジュールのuname()を使用している箇所でエラーが発生する。
(Ubuntu8.10, Ubuntu9.10)
WindowsXPのPython2.5ではエラーは発生しない。
close failed: [Errno 10] No child processes close failed: [Errno 10] No child processes close failed: [Errno 10] No child processes close failed: [Errno 10] No child processes Traceback (most recent call last): File "/usr/bin/rtcd_python", line 25, in <module> main() File "/usr/bin/rtcd_python", line 21, in main rtcd.main() File "/usr/lib/python2.5/site-packages/OpenRTM_aist/utils/rtcd/rtcd.py", line 28, in main manager = OpenRTM_aist.Manager.init(sys.argv) File "/usr/lib/python2.5/site-packages/OpenRTM_aist/Manager.py", line 177, in init manager.initManager(argv) File "/usr/lib/python2.5/site-packages/OpenRTM_aist/Manager.py", line 1123, in initManager config.configure(self._config) File "/usr/lib/python2.5/site-packages/OpenRTM_aist/ManagerConfig.py", line 198, in configure self.setSystemInformation(prop) File "/usr/lib/python2.5/site-packages/OpenRTM_aist/ManagerConfig.py", line 377, in setSystemInformation sysinfo = platform.uname() File "/usr/lib/python2.5/platform.py", line 1024, in uname processor = _syscmd_uname ('-p','') File "/usr/lib/python2.5/platform.py", line 811, in _syscmd_uname rc = f.close() IOError: [Errno 10] No child processes Exception exceptions.RuntimeError: RuntimeError('cannot release un-aquired lock',) in <bound method ScopedLock.__del__ of <OpenRTM_aist.Guard.ScopedLock instance at 0xb7cce22c>> ignored
操作