マネージャ起動時のポート接続、アクティベート失敗時に異常終了しないようにする#1031
Open
Nobu19800 wants to merge 8 commits intoOpenRTM:masterfrom
Open
マネージャ起動時のポート接続、アクティベート失敗時に異常終了しないようにする#1031Nobu19800 wants to merge 8 commits intoOpenRTM:masterfrom
Nobu19800 wants to merge 8 commits intoOpenRTM:masterfrom
Conversation
3 tasks
n-kawauchi
reviewed
Sep 8, 2024
n-kawauchi
left a comment
There was a problem hiding this comment.
最新masterへマージしたところコンフリクトしました。
>git merge bugs/corbartcutilexeception
Auto-merging CMakeLists.txt
Auto-merging etc/CMakeLists.txt
Auto-merging src/lib/rtm/CORBA_RTCUtil.cpp
Auto-merging src/lib/rtm/CORBA_RTCUtil.h
Auto-merging src/lib/rtm/InPortBase.cpp
Auto-merging src/lib/rtm/Manager.cpp
CONFLICT (content): Merge conflict in src/lib/rtm/Manager.cpp
Auto-merging src/lib/rtm/Manager.h
Auto-merging src/lib/rtm/ManagerServant.cpp
Auto-merging src/lib/rtm/NamingManager.cpp
CONFLICT (content): Merge conflict in src/lib/rtm/NamingManager.cpp
Auto-merging src/lib/rtm/OutPortBase.cpp
Automatic merge failed; fix conflicts and then commit the result.
Author
|
コンフリクトを解消しました。 |
n-kawauchi
approved these changes
Mar 18, 2026
n-kawauchi
left a comment
There was a problem hiding this comment.
ConsoleInとConsoleOutの接続で、追加された例外処理を「意図的に」発生させることはできず、正常動作と違うエラーメッセージを確認しました。
このPRソースをmasterブランチにマージし、debパッケージを生成・インストールしたUbuntu24.04環境での確認です。
- ConsoleOutは下記内容のrtc.confを使用して起動
corba.nameservers: localhost naming.formats: %h.host_cxt/%n.rtc logger.enable: YES logger.log_level: DEBUG manager.components.preactivation: ConsoleIn0, ConsoleOut0 - ConsoleInは下記内容のrtc1.confを使用して起動
corba.nameservers: localhost naming.formats: %h.host_cxt/%n.rtc logger.enable: YES logger.log_level: DEBUG manager.components.preconnect: ConsoleIn0.out?port=ConsoleOut0.in&interface_type=corba_cdr&dataflow_type=push&subscription_type=flush manager.components.preactivation: ConsoleIn0, ConsoleOut0 - ConsoleOut -> ConsoleInの順番で起動し、RTSE上でポート間を接続
- 下記方法では追加されたRTC_ERRORメッセージは確認できませんでした
- 両RTCの接続・アクティブ化後、ConsoleOutをCtrl+Cで強制終了
- manager.components.preconnectのパラメータを存在しない型にしてみた
interface_type=invalid_type
Author
|
問題を再現できるサンプルコンポーネントがないため、以下のRTCをビルドして使ってください。
|
|
動作確認前にWindows用CI環境でビルドエラーが発生しているので、その詳細をお知らせします。
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Identify the Bug
manager.components.preconnect、manager.components.preactivationで設定したポートの接続、アクティベートで例外が発生するとプロセスが異常終了する。Description of the Change
CORBA_RTCUtilの関数はCORBAのメソッドで例外が発生しても例外処理をしないため、ManagerのCORBA_RTCUtilの関数を呼び出している箇所で例外処理するように変更した。
Verification