o3de-multiplayersample
o3de-multiplayersample copied to clipboard
Linux: intrusive_ptr.h(189) assert is printed to the Terminal when the ServerLauncher is closed
Describe the bug Exiting the ServerLauncher for example via closing the last GameLauncher client connection causes an assert to be printed to the Terminal it was launched from:
File:
/data/workspace/o3de/Code/Framework/AzCore/./AzCore/std/smart_ptr/intrusive_ptr.h
Condition:
(140650960039040) 'T *AZStd::intrusive_ptr<AZ::Vulkan::BufferPool>::operator->() const [T = AZ::Vulkan::BufferPool]'
You can't dereference a null pointer
Line: 189
This issue is submitted as per this request: https://github.com/o3de/o3de-multiplayersample/issues/323#issuecomment-1499414959.
It should be noted that this issue only occurred on Linux.
Steps to reproduce
- Follow steps listed here: https://github.com/o3de/o3de-multiplayersample/blob/stabilization/2305/README_LINUX.md to setup MultiplayerSample.
- Launch ServerLauncher and GameLauncher as described here: https://github.com/o3de/o3de-multiplayersample/blob/development/README_LINUX.md#step-4-setup-client-and-server.
- In the GameLauncher press Esc and click Quit in the menu.
- Look to the Terminal used to launch ServerLauncher.
Expected behavior No asserts are printed to the Terminal.
Actual behavior Asserts are printed to the Terminal.
Video and full assert logs
https://user-images.githubusercontent.com/86952082/230320956-8113cad3-1609-43ac-9545-3d4dd110de4e.mp4
Found in Branch o3de-multiplayersample: Stabilization/2305 (4cee1b11a04ecbedacadb7dd977f11c8adce0d12) o3de-multiplayersample-assets: Stabilization/2305 (6739f1027152e68f67be361d77df2296dbf4e800) o3de: Stabilization/2305 Installer (4/6/2023)
Desktop
- Device: PC
- OS: Linux
- Version: Ubuntu 22.04.1 LTS
- CPU AMD Ryzen 5 3600
- GPU NVIDIA GeForce RTX 2060 SUPER
- Memory 16GB