Skip to content

Segmentation Fault when loading AMLLibraries companion specification #204

@keba-uso

Description

@keba-uso

The issue appeared when loading the companion nodeset into the OPC UA server. The version of the UA-Nodeset tested:

When testing with the latest version of the AMLLibraries companion nodeset with open62541 v1.3.2 I get a Segmentation Fault error:
image

Loading of the following nodes from the AMLLibraries results in termination of the whole program:

  • ns=2;i=46
  • ns=2;i=49
  • ns=2;i=67
  • ns=2;i=104
  • ns=2;i=113
  • ns=2;i=116
  • ns=2;i=119
  • ns=2;i=125
  • ns=2;i=128

Here is the structure of one of the aforementioned nodes:

image

It is probably confusing for the actual XML parser when both the variable attribute (DataType="String") and the ExtensionObject DataType Identifier (<Identifier>String</Identifier>) define a type. After removing the attributes from the nodes with the following IDs, the nodes were loaded successfully.

But the Segmentation Fault error should definitely be resolved within the nodesetLoader implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions