Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation Fault when loading AMLLibraries companion specification #204

Open
keba-uso opened this issue Oct 17, 2022 · 0 comments
Open

Comments

@keba-uso
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant