Project

General

Profile

Actions

バグ #801

closed

OpenRTM-aist(C++)-remove_organization時にSegmentationfaultが発生する問題

Added by Anonymous about 15 years ago. Updated over 14 years ago.

Status:
終了
Priority:
通常
Assignee:
-
Target version:
-
Start date:
07/17/2009
Due date:
% Done:

100%

Estimated time:

Description

単体テストを行った際、
add_organization()後に remove_organization()を実行すると「Segmentation fault」が発生する。

CORBA::Boolean
Configuration_impl::remove_organization(const char* organization_id)
throw (CORBA::SystemException,
InvalidParameter, NotAvailable, InternalError) {
RTC_TRACE(("remove_organization(%s)", organization_id));
try {
Guard gurad(m_org_mutex);
CORBA_SeqUtil::erase_if(m_organizations, org_id(organization_id)); ★ここで落ちる
}
catch (...) {
throw InternalError("Configuration::remove_organization");
// never reach here
return false;
}
return true;
}
Actions

Also available in: Atom PDF