Skip to content

RTSystemEditor上からの操作ではポートの接続ができない #12

Description

@Nobu19800

RTSystemEditorからのGIOPメッセージのサイズが1024byteに制限されている。
このため、RTSystemEditorからのconnect関数呼び出し時のGIOPメッセージの1025byte以降は切り捨てられており、ConnectorProfilepropertiesの途中までしかデータが入っておらず、RtORBは配列の最後の要素まで読みに行こうとしてメモリ領域外アクセスで落ちる。

https://github.com/OpenRTM/OpenRTM-aist/blob/e277814ad03cfa9af84e72eae118f8b9d41f59db/src/lib/rtm/idl/RTC.idl#L1816

omniORBはメッセージのサイズを見て途中で復号を中止して、読み込めた要素までのリストでpropertiesを設定する挙動をしており、偶然上手く動作している。

例えばRTSystemEditorのプロパティで設定している項目は、propertiesの最後に入るため確実に切り捨てられる。

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions