getnamo / SocketIOClient-Unreal

Socket.IO client plugin for the Unreal Engine.
Other
899 stars 240 forks source link

Fatal error: [File:./Runtime/Core/Private/HAL/MallocBinned2.cpp] [Line: 1438] (Attempt to realloc an unrecognized block) UE 5.3.2 #410

Open umanema opened 8 months ago

umanema commented 8 months ago

Hey,

We are encountering this problem when run packaged application on Quest 3, which is basically android device. That happens whenever we call 'Connect' or 'Connect with Params' functions.

D/UE      : Fatal error: [File:./Runtime/Core/Private/HAL/MallocBinned2.cpp] [Line: 1438] 
D/UE      : FMallocBinned2 Attempt to realloc an unrecognized block 0xb400007734c80000   canary == 0x0 != 0xe3
D/UE      : [2024.03.05-14.14.35:144][179]Fatal error: [File:./Runtime/Core/Private/HAL/MallocBinned2.cpp] [Line: 1438] 
D/UE      : FMallocBinned2 Attempt to realloc an unrecognized block 0xb400007734c80000   canary == 0x0 != 0xe3
D/UE      : 0x00000076C356F4C4 libUnreal.so(0x000000000B3644C4)!FMallocBinned2::GetAllocationSizeExternal(void*, unsigned long long&)  []
D/UE      : 0x00000076C35FA580 libUnreal.so(0x000000000B3EF580)!FMallocPoisonProxy::Free(void*)  []
D/UE      : 0x00000076C35AC8E0 libUnreal.so(0x000000000B3A18E0)!FMemory::Free(void*)  []
D/UE      : 0x00000076CB467688 libUnreal.so(0x000000001325C688)!asio::detail::completion_handler<std::__ndk1::__bind<void (sio::client_impl<websocketpp::client<websocketpp::config::asio_client> >::*)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&), sio::client_impl<websocketpp::client<websocketpp::config::asio_client> >*, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >&, std::__ndk1::basic_st
ring<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >&> >::do_complete(void*, asio::detail::scheduler_operation*, std::__ndk1::error_code const&, unsigned long)  []
D/UE      : 0x00000076CB468BB0 libUnreal.so(0x000000001325DBB0)!asio::detail::scheduler::do_run_one(asio::detail::conditionally_enabled_mutex::scoped_lock&, asio::detail::scheduler_thread_info&, std::__ndk1::error_code const&)  []
D/UE      : 0x00000076CB4687AC libUnreal.so(0x000000001325D7AC)!asio::detail::scheduler::run(std::__ndk1::error_code&)  []
D/UE      : 0x00000076CB44E31C libUnreal.so(0x000000001324331C)!websocketpp::transport::asio::endpoint<websocketpp::config::asio_client::transport_config>::run()  []
D/UE      : 0x00000076CB44CFF4 libUnreal.so(0x0000000013241FF4)!sio::client_impl<websocketpp::client<websocketpp::config::asio_client> >::run_loop()  []
D/UE      : 0x00000076CB4677FC libUnreal.so(0x000000001325C7FC)![Unknown]()  []
D/UE      : 0x00000077F955AE74 libc.so(0x00000000000DFE74)![Unknown]()  []
D/UE      : 0x00000077F9507460 libc.so(0x000000000008C460)![Unknown]()  []
D/UE      : 
D/UE      : 
D/UE      : 
D/UE      : [2024.03.05-14.14.35:145][179]LogAndroid: Error: === Critical error: ===
D/UE      : [2024.03.05-14.14.35:146][179]LogAndroid: Error: 
D/UE      : [2024.03.05-14.14.35:146][179]LogAndroid: Error: Fatal error: [File:./Runtime/Core/Private/HAL/MallocBinned2.cpp] [Line: 1438] 
D/UE      : [2024.03.05-14.14.35:146][179]LogAndroid: Error: FMallocBinned2 Attempt to realloc an unrecognized block 0xb400007734c80000   canary == 0x0 != 0xe3
D/UE      : [2024.03.05-14.14.35:146][179]LogAndroid: Error: [Callstack] 0x00000076C356F4C4 libUnreal.so(0x000000000B3644C4)!FMallocBinned2::GetAllocationSizeExternal(void*, unsigned long long&)  []
D/UE      : [2024.03.05-14.14.35:146][179]LogAndroid: Error: [Callstack] 0x00000076C35FA580 libUnreal.so(0x000000000B3EF580)!FMallocPoisonProxy::Free(void*)  []
D/UE      : [2024.03.05-14.14.35:146][179]LogAndroid: Error: [Callstack] 0x00000076C35AC8E0 libUnreal.so(0x000000000B3A18E0)!FMemory::Free(void*)  []
D/UE      : [2024.03.05-14.14.35:146][179]LogAndroid: Error: [Callstack] 0x00000076CB467688 libUnreal.so(0x000000001325C688)!asio::detail::completion_handler<std::__ndk1::__bind<void (sio::client_impl<websocketpp::client<websocketpp::config::asio_client> >::*)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&), sio::client_impl<websocketpp::client<websocketpp::config::asio_client> >*, std::__ndk1::basic_string<char, std::__ndk1::char_traits<
char>, std::__ndk1::allocator<char> >&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >&> >::do_complete(void*, asio::detail::scheduler_operation*, std::__ndk1::error_code const&, unsigned long)  []
D/UE      : [2024.03.05-14.14.35:146][179]LogAndroid: Error: [Callstack] 0x00000076CB468BB0 libUnreal.so(0x000000001325DBB0)!asio::detail::scheduler::do_run_one(asio::detail::conditionally_enabled_mutex::scoped_lock&, asio::detail::scheduler_thread_info&, std::__ndk1::error_code const&)  []
D/UE      : [2024.03.05-14.14.35:146][179]LogAndroid: Error: [Callstack] 0x00000076CB4687AC libUnreal.so(0x000000001325D7AC)!asio::detail::scheduler::run(std::__ndk1::error_code&)  []
D/UE      : [2024.03.05-14.14.35:146][179]LogAndroid: Error: [Callstack] 0x00000076CB44E31C libUnreal.so(0x000000001324331C)!websocketpp::transport::asio::endpoint<websocketpp::config::asio_client::transport_config>::run()  []
D/UE      : [2024.03.05-14.14.35:147][179]LogAndroid: Error: [Callstack] 0x00000076CB44CFF4 libUnreal.so(0x0000000013241FF4)!sio::client_impl<websocketpp::client<websocketpp::config::asio_client> >::run_loop()  []
D/UE      : [2024.03.05-14.14.35:147][179]LogAndroid: Error: [Callstack] 0x00000076CB4677FC libUnreal.so(0x000000001325C7FC)![Unknown]()  []
D/UE      : [2024.03.05-14.14.35:147][179]LogAndroid: Error: [Callstack] 0x00000077F955AE74 libc.so(0x00000000000DFE74)![Unknown]()  []
D/UE      : [2024.03.05-14.14.35:147][179]LogAndroid: Error: [Callstack] 0x00000077F9507460 libc.so(0x000000000008C460)![Unknown]()  []
D/UE      : [2024.03.05-14.14.35:147][179]LogAndroid: Error: 
D/UE      : [2024.03.05-14.14.35:147][179]LogAndroid: Error: 
D/UE      : [2024.03.05-14.14.35:147][179]LogAndroid: Error: 
D/UE      : [2024.03.05-14.14.35:147][179]LogAndroid: Error: 
D/UE      : [2024.03.05-14.14.35:157][179]LogExit: Executing StaticShutdownAfterError

Any help would be much appreciated

getnamo commented 8 months ago

Http or https endpoint?

umanema commented 8 months ago

Endpoint is http

exotexot commented 8 months ago

@getnamo any updates on this? :(