Open Fischer-Thomas opened 5 years ago
Note that Multithreading support is far from being in beta stadium. Probably this issue will not be fixed for a long time, but feel free to create a PR yourself.
You will have many similar issues like this one.
The current recommended way for a multithreaded application is that you use your own mutex to make sure you have mutual exclusion on the UA_Server
pointer.
Description
Currently when working with the flag for multithreading enabled there is a problem when adding nodes to the server. The UA_NodeMap_releaseNode asserts that entry->refCount > 0 failed and shortly after the application crashes. Please see the attachment for the callstack.
Background Information / Reproduction Steps
Checklist
Please provide the following information:
UA_LOGLEVEL
set as low as necessary) attached