HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Redmine-4.x/redmine-4.2.9/files/2025/11/251107170437_0e926367a328b6ea6c4462076dff941b.txt
=================================================================
==12884==ERROR: AddressSanitizer: heap-use-after-free on address 0x1228b4b21010 at pc 0x7ffb582710ff bp 0x005c41fff390 sp 0x005c41ffeb28
READ of size 2 at 0x1228b4b21010 thread T92
    #0 0x7ffb582710fe in _asan_wrap_strncmp+0x32e (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x410fe)
    #1 0x7ffba02e5134 in VpiBuiltinType::Vpi_String_Compare C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiDataTypes.cpp:224
    #2 0x7ffba031395f in Vpi_VariantUnion_Compare C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiVariant.cpp:939
    #3 0x7ffba030cdb4 in Vpi_Variant_Compare C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiVariant.cpp:1286
    #4 0x7ffb5dea9f99 in VpiWarmStart+0x102dab (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0x109f99)
    #5 0x7ffb5de261d8 in VpiWarmStart+0x7efea (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0x861d8)
    #6 0x7ffba02f450c in InternalThreadMain C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:143
    #7 0x7ffba02f4461 in pthread_start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:88
    #8 0x7ffb5828d38c in _sanitizer_start_switch_fiber+0x18ec (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x5d38c)
    #9 0x7ffbc56e26ac in BaseThreadInitThunk+0x1c (C:\windows\System32\KERNEL32.DLL+0x1800126ac)
    #10 0x7ffbc6eaaa67 in RtlUserThreadStart+0x27 (C:\windows\SYSTEM32\ntdll.dll+0x18005aa67)

0x1228b4b21010 is located 0 bytes inside of 43-byte region [0x1228b4b21010,0x1228b4b2103b)
freed by thread T91 here:
    #0 0x7ffb5827d548 in _asan_wrap__CrtIsValidHeapPointer+0xb78 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x4d548)
    #1 0x7ffba0305847 in Vpi_String_Clear C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiString.cpp:58
    #2 0x7ffba0305923 in Vpi_String_StrnCpy C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiString.cpp:84
    #3 0x7ffb5ded7470 in VpiWarmStart+0x130282 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0x137470)
    #4 0x7ffb5de528e6 in VpiWarmStart+0xab6f8 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0xb28e6)
    #5 0x7ffb5de4fa8e in VpiWarmStart+0xa88a0 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0xafa8e)
    #6 0x7ffb5de5a9f0 in VpiWarmStart+0xb3802 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0xba9f0)
    #7 0x7ffba02f450c in InternalThreadMain C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:143
    #8 0x7ffba02f4461 in pthread_start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:88
    #9 0x7ffb5828d38c in _sanitizer_start_switch_fiber+0x18ec (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x5d38c)
    #10 0x7ffbc56e26ac in BaseThreadInitThunk+0x1c (C:\windows\System32\KERNEL32.DLL+0x1800126ac)
    #11 0x7ffbc6eaaa67 in RtlUserThreadStart+0x27 (C:\windows\SYSTEM32\ntdll.dll+0x18005aa67)

previously allocated by thread T92 here:
    #0 0x7ffb5827d698 in _asan_wrap__CrtIsValidHeapPointer+0xcc8 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x4d698)
    #1 0x7ffba030600f in Vpi_String_AttachToString C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiString.cpp:219
    #2 0x7ffba0305a65 in Vpi_String_StrnCpy C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiString.cpp:104
    #3 0x7ffb5ded7677 in VpiWarmStart+0x130489 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0x137677)
    #4 0x7ffb5de55071 in VpiWarmStart+0xade83 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0xb5071)
    #5 0x7ffb5de4fe6a in VpiWarmStart+0xa8c7c (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0xafe6a)
    #6 0x7ffb5de4f963 in VpiWarmStart+0xa8775 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0xaf963)
    #7 0x7ffb5de25f71 in VpiWarmStart+0x7ed83 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0x85f71)
    #8 0x7ffba02f450c in InternalThreadMain C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:143
    #9 0x7ffba02f4461 in pthread_start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:88
    #10 0x7ffb5828d38c in _sanitizer_start_switch_fiber+0x18ec (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x5d38c)
    #11 0x7ffbc56e26ac in BaseThreadInitThunk+0x1c (C:\windows\System32\KERNEL32.DLL+0x1800126ac)
    #12 0x7ffbc6eaaa67 in RtlUserThreadStart+0x27 (C:\windows\SYSTEM32\ntdll.dll+0x18005aa67)

Thread T92 created by T83 here:
    #0 0x7ffb5828d787 in _asan_wrap_CreateThread+0x77 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x5d787)
    #1 0x7ffba02f3cd2 in Vpi_Internal_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:370
    #2 0x7ffba02f3a96 in Vpi_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:320
    #3 0x7ffb5de265cc in VpiWarmStart+0x7f3de (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0x865cc)
    #4 0x7ffb5ddb7519 in VpiWarmStart+0x1032b (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0x17519)
    #5 0x7ffb5deaa390 in VpiWarmStart+0x1031a2 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0x10a390)
    #6 0x7ffb5de9cb85 in VpiWarmStart+0xf5997 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0xfcb85)
    #7 0x7ff7e6605df5 in OpenOpcUa::UASubSystem::CVpiDevice::VpiGlobalInitializationThread C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\VpiDevice.cpp:1192
    #8 0x7ffba0a4f07c in InternalThreadMain C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_thread.c:98
    #9 0x7ffba0a1b518 in win32thread_start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_p_thread.c:286
    #10 0x7ffb5828d38c in _sanitizer_start_switch_fiber+0x18ec (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x5d38c)
    #11 0x7ffbc56e26ac in BaseThreadInitThunk+0x1c (C:\windows\System32\KERNEL32.DLL+0x1800126ac)
    #12 0x7ffbc6eaaa67 in RtlUserThreadStart+0x27 (C:\windows\SYSTEM32\ntdll.dll+0x18005aa67)

Thread T83 created by T0 here:
    #0 0x7ffb5828d787 in _asan_wrap_CreateThread+0x77 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x5d787)
    #1 0x7ffba0a1b46b in OpcUa_P_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_p_thread.c:385
    #2 0x7ffba0a4ee1e in OpcUa_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_thread.c:274
    #3 0x7ff7e6604fc3 in OpenOpcUa::UASubSystem::CVpiDevice::StartVpiGlobalInitializationThread C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\VpiDevice.cpp:1095
    #4 0x7ff7e66d4f1d in OpenOpcUa::UACoreServer::CServerApplication::StartRunVpisThread C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\ServerApplication.cpp:12781
    #5 0x7ff7e667987d in RunAsApplication C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\Main.cpp:925
    #6 0x7ff7e667c8d9 in main C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\Main.cpp:1781
    #7 0x7ff7e6a50598 in invoke_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
    #8 0x7ff7e6a504e1 in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
    #9 0x7ff7e6a5039d in __scrt_common_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:330
    #10 0x7ff7e6a5060d in mainCRTStartup D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:16
    #11 0x7ffbc56e26ac in BaseThreadInitThunk+0x1c (C:\windows\System32\KERNEL32.DLL+0x1800126ac)
    #12 0x7ffbc6eaaa67 in RtlUserThreadStart+0x27 (C:\windows\SYSTEM32\ntdll.dll+0x18005aa67)

Thread T91 created by T83 here:
    #0 0x7ffb5828d787 in _asan_wrap_CreateThread+0x77 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x5d787)
    #1 0x7ffba02f3cd2 in Vpi_Internal_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:370
    #2 0x7ffba02f3a96 in Vpi_Thread_Start C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiInternalThread.cpp:320
    #3 0x7ffb5de5aeac in VpiWarmStart+0xb3cbe (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0xbaeac)
    #4 0x7ffb5ddb750c in VpiWarmStart+0x1031e (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0x1750c)
    #5 0x7ffb5deaa390 in VpiWarmStart+0x1031a2 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0x10a390)
    #6 0x7ffb5de9cb85 in VpiWarmStart+0xf5997 (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\VpiLined.dll+0xfcb85)
    #7 0x7ff7e6605df5 in OpenOpcUa::UASubSystem::CVpiDevice::VpiGlobalInitializationThread C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaCoreServer\source\VpiDevice.cpp:1192
    #8 0x7ffba0a4f07c in InternalThreadMain C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_thread.c:98
    #9 0x7ffba0a1b518 in win32thread_start C:\OpenOpcUa_Project\OpenOpcUa\OpenOpcUaStackV1\source\opcua_p_thread.c:286
    #10 0x7ffb5828d38c in _sanitizer_start_switch_fiber+0x18ec (C:\OpenOpcUa\Banc_Formation\Stator - instrumenté\clang_rt.asan_dynamic-x86_64.dll+0x5d38c)
    #11 0x7ffbc56e26ac in BaseThreadInitThunk+0x1c (C:\windows\System32\KERNEL32.DLL+0x1800126ac)
    #12 0x7ffbc6eaaa67 in RtlUserThreadStart+0x27 (C:\windows\SYSTEM32\ntdll.dll+0x18005aa67)

SUMMARY: AddressSanitizer: heap-use-after-free C:\OpenOpcUa_Project\OpenOpcUa\Vpis\OpenOpcUaVpiLibrary\OpenOpcUaVpiLibrary\source\VpiDataTypes.cpp:224 in VpiBuiltinType::Vpi_String_Compare
Shadow bytes around the buggy address:
  0x1228b4b20d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1228b4b20e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1228b4b20e80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1228b4b20f00: fa fa fa fa fa fa fa fa fa fa fd fd fd fd fd fa
  0x1228b4b20f80: fa fa fa fa fa fa fa fa fa fa fd fd fd fd fd fa
=>0x1228b4b21000: fa fa[fd]fd fd fd fd fd fa fa fd fd fd fd fd fa
  0x1228b4b21080: fa fa fa fa fa fa fa fa fa fa fd fd fd fd fd fa
  0x1228b4b21100: fa fa fd fd fd fd fd fd fa fa fd fd fd fd fd fa
  0x1228b4b21180: fa fa fd fd fd fd fd fd fa fa fa fa fa fa fa fa
  0x1228b4b21200: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1228b4b21280: fa fa fd fd fd fd fd fd fa fa 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
==12884==ABORTING