Skip to content

Conversation

@dirk-zimoch
Copy link
Contributor

@dirk-zimoch dirk-zimoch commented Oct 21, 2025

  1. When the server disconnects, readArray() is called with NULL instead of bptr. In that case don't try to erase the old content.
  2. When an mbbo without user defined enum strings connects to an enum node, it should initialize choice strings and values from the server even if the current value on the server is none of the allowed enum values.
  3. To avoid a race condition when using thousands of nodes, make sure initial read has completed before setting up monitored items.

@dirk-zimoch dirk-zimoch added the crash Something isn't working label Oct 21, 2025
@dirk-zimoch dirk-zimoch force-pushed the fix_crash_on_disconnect branch from 5bcbd6b to 6b11f16 Compare October 21, 2025 13:33
@dirk-zimoch dirk-zimoch changed the title open62541: fix crash in arrays when disconnecting server open62541: fix crash in arrays when server disconnects Oct 21, 2025
@ralphlange ralphlange merged commit 3daf599 into epics-modules:master Nov 17, 2025
11 of 21 checks passed
@ralphlange
Copy link
Member

Finally managed to run a test against my PLC setup - good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crash Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants