MPS client crashes with exit code: 0xc0000005 during RemoveEntities
mcphedar opened this issue · 3 comments
mcphedar commented
Describe the bug
Calling 'quit' results in a bad shuitdown due to atom material cleanup
Steps to reproduce the behavior:
- Run the Multiplayer Sample
- Quit out using the esc menu
Expected behavior
The MPS should quit cleanly
Actual behavior
A clear and concise description of what actually happened.
Assets required
A crash occurs -
// stack trace
<13:05:07> (Exit) - Exception with exit code: 0xc0000005
<13:05:07> (Exit) - D:\github\o3de\Code\Legacy\CrySystem\DebugCallStack.cpp (223) : DebugCallStack::handleException
<13:05:07> (Exit) - 00007FFB8E390327 (KERNELBASE) : UnhandledExceptionFilter
<13:05:07> (Exit) - 00007FFB90B75530 (ntdll) : memset
<13:05:07> (Exit) - 00007FFB90B5C876 (ntdll) : _C_specific_handler
<13:05:07> (Exit) - 00007FFB90B7241F (ntdll) : _chkstk
<13:05:07> (Exit) - 00007FFB90B214A4 (ntdll) : RtlRaiseException
<13:05:07> (Exit) - 00007FFB90B70F4E (ntdll) : KiUserExceptionDispatcher
<13:05:07> (Exit) - D:\github\o3de\Code\Framework\AzCore\AzCore\Component\Component.cpp (57) : AZ::Component::GetEntityId
<13:05:07> (Exit) - D:\github\o3de\Gems\Multiplayer\Code\Source\NetworkEntity\NetworkEntityManager.cpp (418) : Multiplayer::NetworkEntityManager::RemoveEntities
<13:05:07> (Exit) - D:\github\o3de\Code\Framework\AzCore\AzCore\EBus\EventSchedulerSystemComponent.cpp (86) : AZ::EventSchedulerSystemComponent::OnTick
<13:05:07> (Exit) - D:\github\o3de\Code\Framework\AzCore\AzCore\EBus\Internal\BusContainer.h (1360) : AZ::Internal::EBusContainer<AZ::TickEvents,AZ::TickEvents,0,2>::Dispatcher<AZ::EBus<AZ::TickEvents,AZ::TickEvents> >::Broadcast<void (__cdecl AZ::TickEvents::*)(float,AZ::S
<13:05:07> (Exit) - D:\github\o3de\Code\Framework\AzCore\AzCore\Component\ComponentApplication.cpp (1419) : AZ::ComponentApplication::Tick
<13:05:07> (Exit) - D:\github\o3de\Code\LauncherUnified\Launcher.cpp (571) : O3DELauncher::Run
<13:05:07> (Exit) - D:\github\o3de\Code\LauncherUnified\Platform\Windows\Launcher_Windows.cpp (29) : WinMain
<13:05:07> (Exit) - D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (288) : __scrt_common_main_seh
<13:05:07> (Exit) - 00007FFB8F917614 (KERNEL32) : BaseThreadInitThunk
<13:05:07> (Exit) - 00007FFB90B226A1 (ntdll) : RtlUserThreadStart
<13:05:07> () - 00007FFB8E390327 (KERNELBASE) : UnhandledExceptionFilter
<13:05:07> () - 00007FFB90B75530 (ntdll) : memset
<13:05:07> () - 00007FFB90B5C876 (ntdll) : _C_specific_handler
<13:05:07> () - 00007FFB90B7241F (ntdll) : _chkstk
<13:05:07> () - 00007FFB90B214A4 (ntdll) : RtlRaiseException
<13:05:07> () - 00007FFB90B70F4E (ntdll) : KiUserExceptionDispatcher
<13:05:07> () - D:\github\o3de\Code\Framework\AzCore\AzCore\Component\Component.cpp (57) : AZ::Component::GetEntityId
<13:05:07> () - D:\github\o3de\Gems\Multiplayer\Code\Source\NetworkEntity\NetworkEntityManager.cpp (418) : Multiplayer::NetworkEntityManager::RemoveEntities
<13:05:07> () - D:\github\o3de\Code\Framework\AzCore\AzCore\EBus\EventSchedulerSystemComponent.cpp (86) : AZ::EventSchedulerSystemComponent::OnTick
<13:05:07> () - D:\github\o3de\Code\Framework\AzCore\AzCore\EBus\Internal\BusContainer.h (1360) : AZ::Internal::EBusContainer<AZ::TickEvents,AZ::TickEvents,0,2>::Dispatcher<AZ::EBus<AZ::TickEvents,AZ::TickEvents> >::Broadcast<void (__cdecl AZ::TickEvents::*)(float,AZ::S
<13:05:07> () - D:\github\o3de\Code\Framework\AzCore\AzCore\Component\ComponentApplication.cpp (1419) : AZ::ComponentApplication::Tick
<13:05:07> () - D:\github\o3de\Code\LauncherUnified\Launcher.cpp (571) : O3DELauncher::Run
<13:05:07> () - D:\github\o3de\Code\LauncherUnified\Platform\Windows\Launcher_Windows.cpp (29) : WinMain
<13:05:07> () - D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (288) : __scrt_common_main_seh
<13:05:07> () - 00007FFB8F917614 (KERNEL32) : BaseThreadInitThunk
<13:05:07> () - 00007FFB90B226A1 (ntdll) : RtlUserThreadStart
lmbr-pip commented
@mcphedar Can you attach your commit ids to this report and information about your build (debug, profile etc)?
drakeredwind01 commented
ask:
should we add tag:
needs-priority
triage/needs-information
status/needs-testing
AMZN-Gene commented
closed o3de/o3de#15880
o3de/o3de#15868