File: C:/Redmine-4.x/redmine-4.2.9/files/2025/11/251106015855_083a4d072f1ed1d9dbd4caad50a8c305.txt
=================================================================
==12120==ERROR: AddressSanitizer: heap-use-after-free on address 0x11fed1200c80 at pc 0x7fff577a59a5 bp 0x000459ffe8f0 sp 0x000459ffe068
READ of size 889 at 0x11fed1200c80 thread T52
#0 0x7fff577a59a4 in _asan_unregister_image_globals+0x1744 (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x359a4)
#1 0x7fff577ae4b0 in _asan_wrap_memcmp+0x90 (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x3e4b0)
#2 0x7fff6f6546b4 in VpiBuiltinType::Vpi_InternalByteString_Compare C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiDataTypes.cpp:75
#3 0x7fff6f685a03 in Vpi_VariantArrayValue_Compare C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiVariant.cpp:1233
#4 0x7fff6f67cf9c in Vpi_Variant_Compare C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiVariant.cpp:1299
#5 0x7fff6e342e7a in UASubSystem::CSourceObject::IsChanged C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\SourceObject.cpp:565
#6 0x7fff6e35ba79 in UASubSystem::CVpiUaClnt::NotifyCommunicationError C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\VpiUaClnt.cpp:1702
#7 0x7fff6e3573cb in UASubSystem::CVpiUaClnt::MaintenanceThread C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\VpiUaClnt.cpp:4648
#8 0x7fff6f66439c in InternalThreadMain C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:143
#9 0x7fff6f6642f1 in pthread_start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:88
#10 0x7fff577cd38c in _sanitizer_start_switch_fiber+0x18ec (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x5d38c)
#11 0x7fff9b5f7613 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180017613)
#12 0x7fff9cdc26a0 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x1800526a0)
0x11fed1200c80 is located 0 bytes inside of 889-byte region [0x11fed1200c80,0x11fed1200ff9)
freed by thread T72 here:
#0 0x7fff577bd548 in _asan_wrap__CrtIsValidHeapPointer+0xb78 (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x4d548)
#1 0x7fff6f653c74 in Vpi_ByteString_Clear C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiByteString.cpp:57
#2 0x7fff6f65c728 in Vpi_ExtensionObject_Clear C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiExtensionObject.cpp:45
#3 0x7fff6f67ecfe in Vpi_VariantArrayValue_Clear C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiVariant.cpp:287
#4 0x7fff6f67c203 in Vpi_Variant_Clear C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiVariant.cpp:59
#5 0x7fff6f655b9f in Vpi_DataValue_Clear C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiDataValue.cpp:59
#6 0x7fff6e341f0e in UASubSystem::CSourceObject::SetValue C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\SourceObject.cpp:143
#7 0x7fff6e32e1f7 in UASubSystem::UAWrappedServer::CMonitoredItemElt::PrepareVpiNotificationObject C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\cmonitoreditemelt.cpp:284
#8 0x7fff6e34a09b in OnNotificationMessage C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\VpiInternal.cpp:581
#9 0x7fff6e25c62b in OpenOpcUa::UACoreClient::CSubscriptionClient::MonitoredItemsNotificationThread C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaClientSdk\OpenOpcUaClientLib\OpenOpcUaClientLib\source\SubscriptionClient.cpp:664
#10 0x7fff6f78f07c in InternalThreadMain C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_thread.c:98
#11 0x7fff6f75b518 in win32thread_start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_p_thread.c:286
#12 0x7fff577cd38c in _sanitizer_start_switch_fiber+0x18ec (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x5d38c)
#13 0x7fff9b5f7613 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180017613)
#14 0x7fff9cdc26a0 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x1800526a0)
previously allocated by thread T72 here:
#0 0x7fff577bd698 in _asan_wrap__CrtIsValidHeapPointer+0xcc8 (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x4d698)
#1 0x7fff6f653f54 in Vpi_ByteString_CopyTo C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiByteString.cpp:102
#2 0x7fff6f65c9f7 in Vpi_ExtensionObject_CopyTo C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiExtensionObject.cpp:115
#3 0x7fff6f6800f9 in Vpi_VariantArrayValue_CopyTo C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiVariant.cpp:672
#4 0x7fff6f67c8fc in Vpi_Variant_CopyTo C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiVariant.cpp:347
#5 0x7fff6f656000 in Vpi_DataValue_CopyTo C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiDataValue.cpp:88
#6 0x7fff6e341f35 in UASubSystem::CSourceObject::SetValue C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\SourceObject.cpp:145
#7 0x7fff6e32e1f7 in UASubSystem::UAWrappedServer::CMonitoredItemElt::PrepareVpiNotificationObject C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\cmonitoreditemelt.cpp:284
#8 0x7fff6e34a09b in OnNotificationMessage C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\VpiInternal.cpp:581
#9 0x7fff6e25c62b in OpenOpcUa::UACoreClient::CSubscriptionClient::MonitoredItemsNotificationThread C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaClientSdk\OpenOpcUaClientLib\OpenOpcUaClientLib\source\SubscriptionClient.cpp:664
#10 0x7fff6f78f07c in InternalThreadMain C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_thread.c:98
#11 0x7fff6f75b518 in win32thread_start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_p_thread.c:286
#12 0x7fff577cd38c in _sanitizer_start_switch_fiber+0x18ec (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x5d38c)
#13 0x7fff9b5f7613 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180017613)
#14 0x7fff9cdc26a0 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x1800526a0)
Thread T52 created by T47 here:
#0 0x7fff577cd787 in _asan_wrap_CreateThread+0x77 (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x5d787)
#1 0x7fff6f663b62 in Vpi_Internal_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:370
#2 0x7fff6f663926 in Vpi_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:320
#3 0x7fff6e35672d in UASubSystem::CVpiUaClnt::StartMaintenanceThread C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\VpiUaClnt.cpp:4362
#4 0x7fff6e35558e in UASubSystem::CVpiUaClnt::CVpiUaClnt C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\VpiUaClnt.cpp:95
#5 0x7fff6e344b96 in UASubSystem::CVpiInternalData::CVpiInternalData C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\VpiInternal.cpp:92
#6 0x7fff6e338fae in VpiGlobalStart C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\entrypoints.cpp:134
#7 0x7ff7a0295df5 in OpenOpcUa::UASubSystem::CVpiDevice::VpiGlobalInitializationThread C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\VpiDevice.cpp:1192
#8 0x7fff6f78f07c in InternalThreadMain C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_thread.c:98
#9 0x7fff6f75b518 in win32thread_start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_p_thread.c:286
#10 0x7fff577cd38c in _sanitizer_start_switch_fiber+0x18ec (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x5d38c)
#11 0x7fff9b5f7613 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180017613)
#12 0x7fff9cdc26a0 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x1800526a0)
Thread T47 created by T0 here:
#0 0x7fff577cd787 in _asan_wrap_CreateThread+0x77 (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x5d787)
#1 0x7fff6f75b46b in OpcUa_P_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_p_thread.c:385
#2 0x7fff6f78ee1e in OpcUa_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_thread.c:274
#3 0x7ff7a0294fc3 in OpenOpcUa::UASubSystem::CVpiDevice::StartVpiGlobalInitializationThread C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\VpiDevice.cpp:1095
#4 0x7ff7a0364f9d in OpenOpcUa::UACoreServer::CServerApplication::StartRunVpisThread C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\ServerApplication.cpp:12781
#5 0x7ff7a030991d in RunAsApplication C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\Main.cpp:925
#6 0x7ff7a030c979 in main C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\Main.cpp:1781
#7 0x7ff7a06df938 in invoke_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
#8 0x7ff7a06df881 in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
#9 0x7ff7a06df73d in __scrt_common_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:330
#10 0x7ff7a06df9ad in mainCRTStartup D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:16
#11 0x7fff9b5f7613 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180017613)
#12 0x7fff9cdc26a0 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x1800526a0)
Thread T72 created by T52 here:
#0 0x7fff577cd787 in _asan_wrap_CreateThread+0x77 (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x5d787)
#1 0x7fff6f75b46b in OpcUa_P_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_p_thread.c:385
#2 0x7fff6f78ee1e in OpcUa_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_thread.c:274
#3 0x7fff6e25c1c5 in OpenOpcUa::UACoreClient::CSubscriptionClient::StartMonitoredItemsNotificationThread C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaClientSdk\OpenOpcUaClientLib\OpenOpcUaClientLib\source\SubscriptionClient.cpp:545
#4 0x7fff6e2565ea in OpenOpcUa::UACoreClient::CSubscriptionClient::CSubscriptionClient C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaClientSdk\OpenOpcUaClientLib\OpenOpcUaClientLib\source\SubscriptionClient.cpp:96
#5 0x7fff6e21bbfd in OpenOpcUa::UACoreClient::CSessionClient::CreateSubscription C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaClientSdk\OpenOpcUaClientLib\OpenOpcUaClientLib\source\ClientSession.cpp:2046
#6 0x7fff6e2392ce in OpenOpcUa_CreateSubscription C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaClientSdk\OpenOpcUaClientLib\OpenOpcUaClientLib\source\OpenOpcUaClientLib.cpp:1195
#7 0x7fff6e20c0e2 in xmlClientConfigStartElementHandler C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaClientSdk\OpenOpcUaClientLib\OpenOpcUaClientLib\source\clientapplication.cpp:684
#8 0x00018000dc64 in doContent C:\OpenOpcUa_Project\OpenOpcUa\XMLSAXParser\XmlShared\xmlparse.c:2633
#9 0x00018000790e in contentProcessor C:\OpenOpcUa_Project\OpenOpcUa\XMLSAXParser\XmlShared\xmlparse.c:2268
#10 0x0001800065b7 in XML_ParseBuffer C:\OpenOpcUa_Project\OpenOpcUa\XMLSAXParser\XmlShared\xmlparse.c:1668
#11 0x0001800060e4 in XML_Parse C:\OpenOpcUa_Project\OpenOpcUa\XMLSAXParser\XmlShared\xmlparse.c:1633
#12 0x0001800015bc in xml4CE_SAXParseBegin C:\OpenOpcUa_Project\OpenOpcUa\XMLSAXParser\source\SAXParser_Helper.cpp:482
#13 0x7fff6e206f44 in OpenOpcUa::UACoreClient::CClientApplication::LoadUaClientConfiguration C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaClientSdk\OpenOpcUaClientLib\OpenOpcUaClientLib\source\clientapplication.cpp:1864
#14 0x7fff6e23f7b4 in OpenOpcUa_LoadConfig C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaClientSdk\OpenOpcUaClientLib\OpenOpcUaClientLib\source\OpenOpcUaClientLib.cpp:4966
#15 0x7fff6e356d8b in UASubSystem::CVpiUaClnt::MaintenanceThread C:\OpenOpcUa_Project\OpenOpcUa\Vpis\VpiIUaClnt\source\VpiUaClnt.cpp:4510
#16 0x7fff6f66439c in InternalThreadMain C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:143
#17 0x7fff6f6642f1 in pthread_start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:88
#18 0x7fff577cd38c in _sanitizer_start_switch_fiber+0x18ec (C:\OpenOPCUA\PM_Banc_Formation\Production - TestLua _ instrumenté V1.8.8.1\clang_rt.asan_dynamic-x86_64.dll+0x5d38c)
#19 0x7fff9b5f7613 in BaseThreadInitThunk+0x13 (C:\Windows\System32\KERNEL32.DLL+0x180017613)
#20 0x7fff9cdc26a0 in RtlUserThreadStart+0x20 (C:\Windows\SYSTEM32\ntdll.dll+0x1800526a0)
SUMMARY: AddressSanitizer: heap-use-after-free C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiDataTypes.cpp:75 in VpiBuiltinType::Vpi_InternalByteString_Compare
Shadow bytes around the buggy address:
0x11fed1200a00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x11fed1200a80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x11fed1200b00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x11fed1200b80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x11fed1200c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x11fed1200c80:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x11fed1200d00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x11fed1200d80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x11fed1200e00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x11fed1200e80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x11fed1200f00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
==12120==ABORTING