操作
バグ #801
完了OpenRTM-aist(C++)-remove_organization時にSegmentationfaultが発生する問題
ステータス:
終了
優先度:
通常
担当者:
-
対象バージョン:
-
開始日:
2009/07/17
期日:
進捗率:
100%
予定工数:
説明
単体テストを行った際、
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;
  }
  
操作