Closed
Description
Environment
- FreeOrion Version: 0.4.7.1
- Operating System: Linux (Fedora 28)
- Graphic card used: Intel HD 520
- Fetched as
- Compiled from source
Description
I am maintaining the FreeOrion in Fedora. I recently started receiving crash reports of a crash occurring immediately when running /usr/bin/freeorion. The message when crashing is:
/usr/include/c++/8/bits/stl_vector.h:950: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = float; _Alloc = std::allocator<float>; std::vector<_Tp, _Alloc>::const_reference = const float&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
From the stack trace reported on retrace.fedoraproject.org, it's passing through some font render related function calls. I checked my installed versions of DejaVu and Roboto fonts. I also ran /usr/bin/freeorion --resource-dir ~/git/freeorion/data/default and it still crashes, so it's not a problem with the system version of the fonts. Is there something else I should check? Freetype versions or Boost versions?
Expected Result
I expect the game to simply launch. :)
Steps to reproduce
- Install
freeorionfrom the Fedora repository:dnf install freeorion - Run
freeorion
Links
- The spec file and related sources can be found on src.fedoraproject.org: https://src.fedoraproject.org/rpms/freeorion
- The stack trace for the crash has been captured by a crash tracer: https://retrace.fedoraproject.org/faf/reports/2087972/
- The bug report contains additional data about the system that reported the crash: https://bugzilla.redhat.com/show_bug.cgi?id=1575292