crrcsim fails since i upgraded fedora (from f27 to f28)
[root@linux-filaire ~]# crrcsim
Locale : fr_FR.UTF-8 Internal codeset: iso8859-15
CRRCsim 0.9.13 started at 2018-6-17 11:19:8
Running on Linux 4.16.15-300.fc28.x86_64
Using plib version 1.8.5
Compiled with SDL version 1.2.15
(Linked SDL version is 1.2.15)
Configured data path: /usr/share/crrcsim
Data file search path:
.
/root/.crrcsim
/usr/share/crrcsim
/usr/local/share/games/crrcsim
/usr/share/games/crrcsim
RAND_MAX = 2147483647
Configuration file is /root/.crrcsim/crrcsim.xml
Configuration version is 2
T_Config: Setting location to scenery/davis-orig.xml, sky variant 0
Thermals: strength_mean=5.000000 strength_sigma=1.000000 radius_mean=70.000000 radius_sigma=10.000000
Thermals: density=0.000002 lifetime_mean=240.000000 lifetime_sigma=60.000000
Wind: 7.00 ft/s at 270.00 deg, turbulence (rel.) 1.0
std::string reconfigureInputMethod()
New input method: MOUSE
T_TX_Interface::T_TX_Interface
T_TX_InterfaceSoftware::T_TX_InterfaceSoftware(int method)
T_TX_Mixer::T_TX_Mixer()
int T_TX_InterfaceSoftware::init(SimpleXMLTransfer config)
int T_TX_Interface::init(SimpleXMLTransfer config)
T_TX_Mixer::init(cfg, child)
<-- inputMethod.mouse
Loading mixer settings from inputMethod.mouse:
T_AxisMapper::init(cfg, child)
<-- inputMethod.mouse
mapper set to radio type 6
Screen resolution : 1920 x 1080
Loading default videomode from config...
Failed to setup videomode 800x600, fullscreen=0
Failed to setup videomode 800x600, fullscreen=0
Failed to setup videomode 640x480, fullscreen=0
Failed to setup videomode 800x600, fullscreen=0
Using the following rendering mode:
Renderer: NVA5
Vendor: nouveau
GL version: 3.0 Mesa 18.0.2
RGBA bpp: 8/8/8/0
Depth bpp: 24
Stencil bpp: 8
Modelview stack: 1 / 32 Projection stack: 1 / 32
Opened audio device: 16 bit signed audio (mono) at 48000 Hz
/usr/include/c++/8/bits/stl_vector.h:932: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator [with _Tp = short int; _Alloc = std::allocator<short int="">; std::vector<_Tp, _Alloc>::reference = short int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]</short>: Assertion '__builtin_expect(__n < this->size(), true)' failed.
Aborted (core dumped)
This is a duplicate of bug#41 (and Fedora bug #1575624). See the patch attached to the bug #41.
Fixed by fixing #41.