Network games crash immediate when -D_GLIBCXX_ASSERTIONS is added to the build
This is obviously primarily a bug in the upstream, but I wanted to post here in case someone thought adjusting how it was built by the PKGBUILD would be desirable.
# Description:
<!-- Describe the bug in full detail. -->
After a network game starts (tested by joining and starting games from the lobby), after the loading screen finishes, the game crashes. Console output:
>$ megaglest
megaglest v3.13.0
Compiled using: GNUC: 140201 [64bit] platform: Linux-X64 endianness: little
GIT: [Rev: $5604.3a5d459$] - using STREFLOP [SSE] - [no-denormals]
Game unique identifier is: 06e55166-ee27-11ef-affe-fd95e2b16f6a
/usr/include/c++/14.2.1/bits/stl_vector.h:1130: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = Glest::Game::NetworkCommand; _Alloc = std::allocator<Glest::Game::NetworkCommand>; reference = Glest::Game::NetworkCommand&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
# Additional info:
* package version(s): 3.13.0
* https://github.com/MegaGlest/megaglest-source/issues/309
# Steps to reproduce:
<!-- Describe how to reproduce the bug step by step including the commands -->
1. Enter lobby, host a game, join a game
2. Host starts game
3. After loading screen, the game crashes
issue