Project

General

Profile

バグ #1430

Managerのshutdownに関する問題

Added by n-ando over 11 years ago. Updated over 6 years ago.

Status:
新規
Priority:
通常
Assignee:
Target version:
-
Start date:
04/22/2010
Due date:
% Done:

0%

Estimated time:

Description

  • アプリケーション終了時にRTCのexit()およびcleanupComponents()を呼ばずにmanager->shutdown()を呼ぶ場合エラーなしで終了する。
  • マネージャのshutdown関数はexit()だけ呼んで、cleanupCOmponents()を呼ばないため、コンポーネントのデストラクタが呼ばれない
  • マネージャシャットダウンの前にexit()・cleanupComponents()を手動で呼ぶと落ちる

ML01184から

1) Manager shutdown
When calling manager->shutdown() at the end of the main application without calling exit() on the component and cleanupComponents() on the manager the application exits without errors. However, the shutdown method of the manager only calls exit() on the components but never calls cleanupComponents() and hence the destructors of the components are never called. Maybe you can provide a fix here. Calling exit() and cleanupComponents() manually before manager->shutdown() results in a segmentation fault!!! Calling these methods from a gui component and not from main does not cause a segmentation fault.
Is this a known bug?

History

#1 Updated by n-ando over 6 years ago

  • Project changed from OpenRTM-aist (C++) to コア

Also available in: Atom PDF