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

Application using DI, IRDI, PADIM segmentation fault (core dumped) #4517

Open
3 tasks
VHalfeld opened this issue Jul 8, 2021 · 0 comments
Open
3 tasks

Application using DI, IRDI, PADIM segmentation fault (core dumped) #4517

VHalfeld opened this issue Jul 8, 2021 · 0 comments

Comments

@VHalfeld
Copy link

VHalfeld commented Jul 8, 2021

Description

My goal is to create an application using DI, IRDI and PADIM nodeset. However, I got Segmentation fault (core dumped) error when the server runs. Precisely, at the line of the constructor of IRDI or PADIM.
PS: It doesn’t happen for DI nodeset.
image

According to gdb degubber, the error is caused by “context” variable however I’m not sure if it would be an open62541 problem.

image

Background Information / Reproduction Steps

Open62541 was installed using AMALGAMATION=ON and NAMESPACE=FULL.
The nodesets are from submodule.
At the CmakeLists.txt, I’m using ua_generate_nodeset_and_datatypes to generate nodeset and datatypes as per documentation.

Used CMake options:

cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_NAMESPACE_ZERO=FULL UA_ENABLE_AMALGAMATION=ON

Checklist

Please provide the following information:

  • [ X] open62541 Version (release number or git tag): v1.2.2
  • [ X] Other OPC UA SDKs used (client or server): UaExpert Client
  • [ X] Operating system: Ubuntu 20.04
  • Logs (with UA_LOGLEVEL set as low as necessary) attached
  • Wireshark network dump attached
  • Self-contained code example attached
  • [ X] Critical issue
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