Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: vector.h(547) assert is printed to the Terminal when the ServerLauncher is closed #332

Open
LB-ArturZieba opened this issue Apr 7, 2023 · 0 comments
Labels
kind/bug Something isn't working

Comments

@LB-ArturZieba
Copy link

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/containers/vector.h

Condition:

(140650960039040) 'AZStd::vector::const_reference AZStd::vector<AZStd::intrusive_ptr<AZ::Vulkan::CommandQueue>>::operator[](AZStd::vector::size_type) const [T = AZStd::intrusive_ptr<AZ::Vulkan::CommandQueue>, Allocator = AZStd::allocator]'
AZStd::vector<>::at - position is out of range

Line: 547

This issue is submitted as per this request: #323 (comment).

It should be noted that this issue only occurred on Linux.

Steps to reproduce

  1. Follow steps listed here: https://github.com/o3de/o3de-multiplayersample/blob/stabilization/2305/README_LINUX.md to setup MultiplayerSample.
  2. Launch ServerLauncher and GameLauncher as described here: https://github.com/o3de/o3de-multiplayersample/blob/development/README_LINUX.md#step-4-setup-client-and-server.
  3. In the GameLauncher press Esc and click Quit in the menu.
  4. 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

AssertsOnExit.mp4

AssertLogs.txt

Found in Branch
o3de-multiplayersample: Stabilization/2305 (4cee1b1)
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
@LB-ArturZieba LB-ArturZieba added kind/bug Something isn't working needs-triage Issue requires review labels Apr 7, 2023
@LB-ArturZieba LB-ArturZieba changed the title Linux: vector.h(547) assert is printed to the Terminal when exiting the ServerLauncher is closed Linux: vector.h(547) assert is printed to the Terminal when the ServerLauncher is closed Apr 7, 2023
@lmbr-pip lmbr-pip removed the needs-triage Issue requires review label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants