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/191119105417_valgrind.txt
==20552== Memcheck, a memory error detector
==20552== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==20552== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==20552== Command: /usr/local/PISA/ServerOpcUa/OpenOpcUaCoreServer /data/ServerOpcUa/CPF_L04.oouaprj
==20552== 
==20552== Conditional jump or move depends on uninitialised value(s)
==20552==    at 0x56884EE: FindNextFile (opcua_p_utilities.c:542)
==20552==    by 0x52E1D95: OpenOpcUa::UASharedLib::CApplication::LoadDERCertificate() (Application.cpp:594)
==20552==    by 0x4F6BD3: RunAsApplication(STARTUP_COMMAND) (Main.cpp:642)
==20552==    by 0x4F786A: main (Main.cpp:1617)
==20552== 
==20552== Thread 7:
==20552== Invalid read of size 2
==20552==    at 0x4C2D996: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:915)
==20552==    by 0x5687CF6: OpcUa_ParseUrl (opcua_p_utilities.c:242)
==20552==    by 0x561EB85: OpcUa_P_SocketManager_CreateServer (opcua_p_socket_interface.c:677)
==20552==    by 0x560A2AF: OpcUa_TcpListener_Open (opcua_tcplistener.c:2346)
==20552==    by 0x55F51EC: OpcUa_Listener_Open (opcua_listener.c:56)
==20552==    by 0x560A472: OpcUa_SecureListener_Open (opcua_securelistener.c:290)
==20552==    by 0x55F51EC: OpcUa_Listener_Open (opcua_listener.c:56)
==20552==    by 0x561A5A1: OpcUa_Endpoint_Open (opcua_endpoint.c:737)
==20552==    by 0x529AC7: OpenOpcUa::UACoreServer::CServerApplication::Start() (ServerApplication.cpp:6270)
==20552==    by 0x52D880: OpenOpcUa::UACoreServer::CServerApplication::LDSRegistrationThread(void*) (ServerApplication.cpp:8208)
==20552==    by 0x5605ACA: InternalThreadMain (opcua_thread.c:96)
==20552==    by 0x561FDD0: pthread_start (opcua_p_thread.c:92)
==20552==  Address 0x8aaa7e0 is 32 bytes inside a block of size 33 alloc'd
==20552==    at 0x4C2AD10: calloc (vg_replace_malloc.c:623)
==20552==    by 0x55FFCE0: OpcUa_P_Memory_Alloc (opcua_p_memory.c:47)
==20552==    by 0x56A7213: OpcUa_Memory_Alloc (opcua_memory.c:64)
==20552==    by 0x55F298A: OpcUa_String_AttachToString (opcua_string.c:338)
==20552==    by 0x561A36D: OpcUa_Endpoint_Open (opcua_endpoint.c:603)
==20552==    by 0x529AC7: OpenOpcUa::UACoreServer::CServerApplication::Start() (ServerApplication.cpp:6270)
==20552==    by 0x52D880: OpenOpcUa::UACoreServer::CServerApplication::LDSRegistrationThread(void*) (ServerApplication.cpp:8208)
==20552==    by 0x5605ACA: InternalThreadMain (opcua_thread.c:96)
==20552==    by 0x561FDD0: pthread_start (opcua_p_thread.c:92)
==20552==    by 0x58E4063: start_thread (pthread_create.c:309)
==20552==    by 0x6D1062C: clone (clone.S:111)
==20552== 
==20552== Invalid read of size 2
==20552==    at 0x4C2D988: memcpy@@GLIBC_2.14 (vg_replace_strmem.c:915)
==20552==    by 0x5687CF6: OpcUa_ParseUrl (opcua_p_utilities.c:242)
==20552==    by 0x561EB85: OpcUa_P_SocketManager_CreateServer (opcua_p_socket_interface.c:677)
==20552==    by 0x560A2AF: OpcUa_TcpListener_Open (opcua_tcplistener.c:2346)
==20552==    by 0x55F51EC: OpcUa_Listener_Open (opcua_listener.c:56)
==20552==    by 0x560A472: OpcUa_SecureListener_Open (opcua_securelistener.c:290)
==20552==    by 0x55F51EC: OpcUa_Listener_Open (opcua_listener.c:56)
==20552==    by 0x561A5A1: OpcUa_Endpoint_Open (opcua_endpoint.c:737)
==20552==    by 0x529AC7: OpenOpcUa::UACoreServer::CServerApplication::Start() (ServerApplication.cpp:6270)
==20552==    by 0x52D880: OpenOpcUa::UACoreServer::CServerApplication::LDSRegistrationThread(void*) (ServerApplication.cpp:8208)
==20552==    by 0x5605ACA: InternalThreadMain (opcua_thread.c:96)
==20552==    by 0x561FDD0: pthread_start (opcua_p_thread.c:92)
==20552==  Address 0x8aaa7e6 is 5 bytes after a block of size 33 alloc'd
==20552==    at 0x4C2AD10: calloc (vg_replace_malloc.c:623)
==20552==    by 0x55FFCE0: OpcUa_P_Memory_Alloc (opcua_p_memory.c:47)
==20552==    by 0x56A7213: OpcUa_Memory_Alloc (opcua_memory.c:64)
==20552==    by 0x55F298A: OpcUa_String_AttachToString (opcua_string.c:338)
==20552==    by 0x561A36D: OpcUa_Endpoint_Open (opcua_endpoint.c:603)
==20552==    by 0x529AC7: OpenOpcUa::UACoreServer::CServerApplication::Start() (ServerApplication.cpp:6270)
==20552==    by 0x52D880: OpenOpcUa::UACoreServer::CServerApplication::LDSRegistrationThread(void*) (ServerApplication.cpp:8208)
==20552==    by 0x5605ACA: InternalThreadMain (opcua_thread.c:96)
==20552==    by 0x561FDD0: pthread_start (opcua_p_thread.c:92)
==20552==    by 0x58E4063: start_thread (pthread_create.c:309)
==20552==    by 0x6D1062C: clone (clone.S:111)
==20552== 
==20552== Thread 9:
==20552== Invalid read of size 1
==20552==    at 0x4C2CAC4: strcasecmp (vg_replace_strmem.c:612)
==20552==    by 0x5759B5: OpenOpcUa::UAAddressSpace::CUAInformationModel::GetNodeIdFromObjectTypeList(_OpcUa_NodeId, OpenOpcUa::UAAddressSpace::CUAObjectType**) (UAInformationModel.cpp:936)
==20552==    by 0x574A66: OpenOpcUa::UAAddressSpace::CUAInformationModel::GetNodeIdFromDictionnary(_OpcUa_NodeId, OpenOpcUa::UAAddressSpace::CUABase**) (UAInformationModel.cpp:547)
==20552==    by 0x59081D: OpenOpcUa::UAAddressSpace::CUAInformationModel::AddUAObject(_OpcUa_NodeId, _OpcUa_String, _OpcUa_LocalizedText, _OpcUa_LocalizedText, _OpcUa_NodeId) (UAInformationModel.cpp:10566)
==20552==    by 0x581DED: OpenOpcUa::UAAddressSpace::CUAInformationModel::AddSessionNameInAddressSpace(OpenOpcUa::UASharedLib::CSessionDiagnosticsDataType*) (UAInformationModel.cpp:5551)
==20552==    by 0x581BF0: OpenOpcUa::UAAddressSpace::CUAInformationModel::AddInSessionDiagnosticsArray(OpenOpcUa::UASharedLib::CSessionDiagnosticsDataType*) (UAInformationModel.cpp:5487)
==20552==    by 0x558121: OpenOpcUa::UACoreServer::CSessionServer::InitSessionDiagnosticsDataType() (SessionServer.cpp:2371)
==20552==    by 0x52C126: OpenOpcUa::UACoreServer::CServerApplication::CreateSession(unsigned int, _OpcUa_MessageSecurityMode, _OpcUa_String, _OpcUa_RequestHeader const*, _OpcUa_ApplicationDescription const*, _OpcUa_String const*, _OpcUa_String const*, _OpcUa_String const*, _OpcUa_ByteString const*, _OpcUa_ByteString const*, double, unsigned int, _OpcUa_ResponseHeader*, _OpcUa_NodeId*, _OpcUa_NodeId*, double*, _OpcUa_ByteString*, _OpcUa_ByteString*, int*, _OpcUa_EndpointDescription**, _OpcUa_SignatureData*, unsigned int*) (ServerApplication.cpp:7480)
==20552==    by 0x4EE2EC: Server_CreateSession(void*, void*, _OpcUa_RequestHeader const*, _OpcUa_ApplicationDescription const*, _OpcUa_String const*, _OpcUa_String const*, _OpcUa_String const*, _OpcUa_ByteString const*, _OpcUa_ByteString const*, double, unsigned int, _OpcUa_ResponseHeader*, _OpcUa_NodeId*, _OpcUa_NodeId*, double*, _OpcUa_ByteString*, _OpcUa_ByteString*, int*, _OpcUa_EndpointDescription**, int*, _OpcUa_SignedSoftwareCertificate**, _OpcUa_SignatureData*, unsigned int*) (StackCallbacks.cpp:648)
==20552==    by 0x566AC84: OpcUa_Server_BeginCreateSession (opcua_serverapi.c:1071)
==20552==    by 0x561B253: OpcUa_Endpoint_BeginProcessRequest (opcua_endpoint.c:1242)
==20552==    by 0x5619D2D: OpcUa_Endpoint_OnNotify (opcua_endpoint.c:336)
==20552==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==20552== 
==20552== 
==20552== Process terminating with default action of signal 11 (SIGSEGV)
==20552==  Access not within mapped region at address 0x0
==20552==    at 0x4C2CAC4: strcasecmp (vg_replace_strmem.c:612)
==20552==    by 0x5759B5: OpenOpcUa::UAAddressSpace::CUAInformationModel::GetNodeIdFromObjectTypeList(_OpcUa_NodeId, OpenOpcUa::UAAddressSpace::CUAObjectType**) (UAInformationModel.cpp:936)
==20552==    by 0x574A66: OpenOpcUa::UAAddressSpace::CUAInformationModel::GetNodeIdFromDictionnary(_OpcUa_NodeId, OpenOpcUa::UAAddressSpace::CUABase**) (UAInformationModel.cpp:547)
==20552==    by 0x59081D: OpenOpcUa::UAAddressSpace::CUAInformationModel::AddUAObject(_OpcUa_NodeId, _OpcUa_String, _OpcUa_LocalizedText, _OpcUa_LocalizedText, _OpcUa_NodeId) (UAInformationModel.cpp:10566)
==20552==    by 0x581DED: OpenOpcUa::UAAddressSpace::CUAInformationModel::AddSessionNameInAddressSpace(OpenOpcUa::UASharedLib::CSessionDiagnosticsDataType*) (UAInformationModel.cpp:5551)
==20552==    by 0x581BF0: OpenOpcUa::UAAddressSpace::CUAInformationModel::AddInSessionDiagnosticsArray(OpenOpcUa::UASharedLib::CSessionDiagnosticsDataType*) (UAInformationModel.cpp:5487)
==20552==    by 0x558121: OpenOpcUa::UACoreServer::CSessionServer::InitSessionDiagnosticsDataType() (SessionServer.cpp:2371)
==20552==    by 0x52C126: OpenOpcUa::UACoreServer::CServerApplication::CreateSession(unsigned int, _OpcUa_MessageSecurityMode, _OpcUa_String, _OpcUa_RequestHeader const*, _OpcUa_ApplicationDescription const*, _OpcUa_String const*, _OpcUa_String const*, _OpcUa_String const*, _OpcUa_ByteString const*, _OpcUa_ByteString const*, double, unsigned int, _OpcUa_ResponseHeader*, _OpcUa_NodeId*, _OpcUa_NodeId*, double*, _OpcUa_ByteString*, _OpcUa_ByteString*, int*, _OpcUa_EndpointDescription**, _OpcUa_SignatureData*, unsigned int*) (ServerApplication.cpp:7480)
==20552==    by 0x4EE2EC: Server_CreateSession(void*, void*, _OpcUa_RequestHeader const*, _OpcUa_ApplicationDescription const*, _OpcUa_String const*, _OpcUa_String const*, _OpcUa_String const*, _OpcUa_ByteString const*, _OpcUa_ByteString const*, double, unsigned int, _OpcUa_ResponseHeader*, _OpcUa_NodeId*, _OpcUa_NodeId*, double*, _OpcUa_ByteString*, _OpcUa_ByteString*, int*, _OpcUa_EndpointDescription**, int*, _OpcUa_SignedSoftwareCertificate**, _OpcUa_SignatureData*, unsigned int*) (StackCallbacks.cpp:648)
==20552==    by 0x566AC84: OpcUa_Server_BeginCreateSession (opcua_serverapi.c:1071)
==20552==    by 0x561B253: OpcUa_Endpoint_BeginProcessRequest (opcua_endpoint.c:1242)
==20552==    by 0x5619D2D: OpcUa_Endpoint_OnNotify (opcua_endpoint.c:336)
==20552==  If you believe this happened as a result of a stack
==20552==  overflow in your program's main thread (unlikely but
==20552==  possible), you can try to increase the size of the
==20552==  main thread stack using the --main-stacksize= flag.
==20552==  The main thread stack size used in this run was 8388608.
==20552== 
==20552== HEAP SUMMARY:
==20552==     in use at exit: 3,450,267 bytes in 80,064 blocks
==20552==   total heap usage: 382,445 allocs, 302,381 frees, 588,759,940 bytes allocated
==20552== 
==20552== LEAK SUMMARY:
==20552==    definitely lost: 5,440 bytes in 53 blocks
==20552==    indirectly lost: 16,854 bytes in 270 blocks
==20552==      possibly lost: 3,168 bytes in 11 blocks
==20552==    still reachable: 3,424,805 bytes in 79,730 blocks
==20552==         suppressed: 0 bytes in 0 blocks
==20552== Rerun with --leak-check=full to see details of leaked memory
==20552== 
==20552== For counts of detected and suppressed errors, rerun with: -v
==20552== Use --track-origins=yes to see where uninitialised values come from
==20552== ERROR SUMMARY: 7 errors from 4 contexts (suppressed: 0 from 0)