Okay, so I tried a few things. First I pulled the latest code and recompiled. I’m now on 0.c-3691-gc3588c3-dirty . I compiled the TILES version and ran it for a while. There is no problem no matter what the settings seem to be. I did get an unexpected crash, but I will report that through another mechanism.
After I did this, I went back and tried to recompile the earlier version that I was having trouble with. However, it cannot compile due to a segmentation fault (same parameters that were successful on the ‘dirty’ version). Not sure about that, but the detail is below if anyone is interested:
g++ -DRELEASE -DSDLTILES -DTILES -DLOCALIZE -Os -Wall -Wextra -Werror --std=c++11 -MMD -c src/init.cpp -o obj/tiles/init.o
In file included from /usr/include/c++/4.8/map:60:0,
from src/json.h:10,
from src/init.h:4,
from src/init.cpp:1:
/usr/include/c++/4.8/bits/stl_tree.h: In instantiation of ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = string_id<ma_buff>; _Val = string_id<ma_buff>; _KeyOfValue = std::_Identity<string_id<ma_buff> >; _Compare = std::less<string_id<ma_buff> >; _Alloc = std::allocator<string_id<ma_buff> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<string_id<ma_buff> >*]’:
/usr/include/c++/4.8/bits/stl_tree.h:671:28: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = string_id<ma_buff>; _Val = string_id<ma_buff>; _KeyOfValue = std::_Identity<string_id<ma_buff> >; _Compare = std::less<string_id<ma_buff> >; _Alloc = std::allocator<string_id<ma_buff> >]’
/usr/include/c++/4.8/bits/stl_set.h:90:11: required from here
/usr/include/c++/4.8/bits/stl_tree.h:1130:5: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [obj/tiles/init.o] Error 1