OpcUa_P_Mutex_UnlockImp: Assertion failed

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
er.raunakgupta
Hero Member
Hero Member
Posts: 37
Joined: 11 May 2017, 09:26

OpcUa_P_Mutex_UnlockImp: Assertion failed

Post by er.raunakgupta »

Hi All,
I am using C++ SDK for implementing an OpcUA Server application. After completion, the server runs properly for few days. Now all of a sudden when I start running my server again, I encouter a code crash which mentions the below error:
/home/myProject/libraries/opcua/src/uastack/platforms/linux/opcua_p_mutex.c:182:
OpcUa_P_Mutex_UnlockImp: Assertion `hMutex != NULL' failed.
Could anyone let me know what is the reason I could get this error?

Thanks
rGupta

er.raunakgupta
Hero Member
Hero Member
Posts: 37
Joined: 11 May 2017, 09:26

Re: OpcUa_P_Mutex_UnlockImp: Assertion failed

Post by er.raunakgupta »

Hi Support Team,

Is there any feedback on this issue?

Thanks
rG

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: OpcUa_P_Mutex_UnlockImp: Assertion failed

Post by Support Team »

Hello er.raunakgupta,

could you please send that request to the support (via online formular) and specify your customerId.
Best regards
Unified Automation Support Team

cava999
Jr. Member
Jr. Member
Posts: 1
Joined: 06 Nov 2021, 14:22

Re: OpcUa_P_Mutex_UnlockImp: Assertion failed

Post by cava999 »

try to use
UaPlatformLayer::init();
before start and the setServerConfig

Post Reply