2nolife/SimpleWebServer-Plugin

[Bug]Crashed when datasize larger than 1m

Opened this issue · 0 comments

ukhack commented

I passed in 1mb of data to port 808 and processed it in the blueprint,

After waiting for a few seconds, the ue crashed with the following error message.

I tried to disconnect all the nodes involved in the blueprint, only retaining the print, but crashed again。

Assertion failed: IsInGameThread() || HasAnyFlags(RF_ClassDefaultObject|RF_ArchetypeObject) || IsPostLoadThreadSafe() || IsA(UClass::StaticClass()) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp] [Line: 1069]

UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_SimpleWebServer!TMulticastScriptDelegate<FWeakObjectPtr>::ProcessMulticastDelegate<UObject>() [D:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\UObject\ScriptDelegates.h:488]
UnrealEditor_SimpleWebServer!USimpleWebServerComponent::OnContentReceived() [D:\test1\xuwei_lel20230829\Plugins\SimpleWebServer\Source\SimpleWebServer\Private\SimpleWebServerComponent.cpp:42]
UnrealEditor_SimpleWebServer!TBaseUObjectMethodDelegateInstance<0,USimpleWebServerComponent,void __cdecl(FString &,FString &),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:611]
UnrealEditor_SimpleWebServer!FSwsCallback::on_post() [D:\test1\xuwei_lel20230829\Plugins\SimpleWebServer\Source\SimpleWebServer\Private\SimpleWebServer.cpp:41]
SimpleWebServer!`sws::SimpleWebServer::add_default_routes'::`2'::<lambda_1>::operator()() [C:\Users\zhangrui\Downloads\SimpleWebServer-Plugin-main\SimpleWebServer-Plugin-main\vs-project\SimpleWebServer\SimpleWebServer\sws.cpp:72]
SimpleWebServer!std::_Func_impl_no_alloc<`sws::SimpleWebServer::add_default_routes'::`2'::<lambda_1>,void,std::shared_ptr<SimpleWeb::ServerBase<boost::asio::basic_stream_socket<boost::asio::ip::tcp,boost::asio::any_io_executor> >::Response>,std::shared_ptr<S() [C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\functional:834]
SimpleWebServer!SimpleWeb::ServerBase<boost::asio::basic_stream_socket<boost::asio::ip::tcp,boost::asio::any_io_executor> >::write() [C:\Users\zhangrui\Downloads\SimpleWebServer-Plugin-main\SimpleWebServer-Plugin-main\vs-project\SimpleWebServer\SimpleWebServer\server_http.hpp:799]
SimpleWebServer!SimpleWeb::ServerBase<boost::asio::basic_stream_socket<boost::asio::ip::tcp,boost::asio::any_io_executor> >::find_resource() [C:\Users\zhangrui\Downloads\SimpleWebServer-Plugin-main\SimpleWebServer-Plugin-main\vs-project\SimpleWebServer\SimpleWebServer\server_http.hpp:757]
SimpleWebServer!boost::asio::detail::read_dynbuf_v1_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp,boost::asio::any_io_executor>,boost::asio::basic_streambuf_ref<std::allocator<char> >,boost::asio::detail::transfer_exactly_t,``SimpleWeb::ServerBase() [D:\boost_1_83_0\boost_1_83_0\boost\asio\impl\read.hpp:712]
SimpleWebServer!boost::asio::asio_handler_invoke<boost::asio::detail::binder2<boost::asio::detail::read_dynbuf_v1_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp,boost::asio::any_io_executor>,boost::asio::basic_streambuf_ref<std::allocator<char> >,b() [D:\boost_1_83_0\boost_1_83_0\boost\asio\handler_invoke_hook.hpp:92]
SimpleWebServer!boost::asio::detail::win_iocp_socket_recv_op<boost::asio::mutable_buffers_1,boost::asio::detail::read_dynbuf_v1_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp,boost::asio::any_io_executor>,boost::asio::basic_streambuf_ref<std::alloc() [D:\boost_1_83_0\boost_1_83_0\boost\asio\detail\win_iocp_socket_recv_op.hpp:108]
SimpleWebServer!boost::asio::detail::win_iocp_io_context::do_one() [D:\boost_1_83_0\boost_1_83_0\boost\asio\detail\impl\win_iocp_io_context.ipp:477]
SimpleWebServer!boost::asio::detail::win_iocp_io_context::run() [D:\boost_1_83_0\boost_1_83_0\boost\asio\detail\impl\win_iocp_io_context.ipp:207]
SimpleWebServer!boost::asio::io_context::run() [D:\boost_1_83_0\boost_1_83_0\boost\asio\impl\io_context.ipp:65]
SimpleWebServer!SimpleWeb::ServerBase<boost::asio::basic_stream_socket<boost::asio::ip::tcp,boost::asio::any_io_executor> >::start() [C:\Users\zhangrui\Downloads\SimpleWebServer-Plugin-main\SimpleWebServer-Plugin-main\vs-project\SimpleWebServer\SimpleWebServer\server_http.hpp:487]
SimpleWebServer!std::thread::_Invoke<std::tuple<`sws::SimpleWebServer::start'::`2'::<lambda_1> >,0>() [C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\thread:55]
ucrtbase
kernel32
ntdll