プロジェクト

全般

プロフィール

バグ #2206

未完了

複合コンポーネントの解体時にthreadに関するエラーが発生する。

kurihara さんがほぼ13年前に追加. 12年以上前に更新.

ステータス:
新規
優先度:
通常
担当者:
対象バージョン:
開始日:
2011/08/08
期日:
進捗率:

80%

予定工数:

説明

複合コンポーネントを解体する処理の過程で、threadingのjoin()をコールした際に以下のエラーが発生する。
ただし、解体時に毎回発生するわけではなく不定期に発生する。

Exception RuntimeError: RuntimeError('cannot join current thread',) in <bound me
thod PeriodicExecutionContext.__del__ of <OpenRTM_aist.PeriodicExecutionContext.
PeriodicExecutionContext instance at 0x027A3508>> ignored

上記エラーは、Pythonのthreadingモジュール内のjoin()メソッドで、thread.get_ident()をコールし、
自身のスレッドのidと、join()の対象となっているスレッドのidが同じ場合に発生する。

他の形式にエクスポート: Atom PDF