And now I’m surfing the cdda subreddit and found this link which shows recent changes for reactors
http://ci.narc.ro/view/Cataclysm-DDA/job/Cataclysm-Matrix/changes
(among others)
I don’t know exactly how to read the versions of experimental like in my thread subject (0.C-19952-g3d4a0eb) but when I recompiled with symbols I did another git clone first and got (0.C-20042-g8c3bc14).
So considering there have been active changes regarding reactors, I kind of think it has something to do with that. I guess the risk of using experimental. I should probably compile again considering there were further commits regarding reactors
Here are two backtraces
[code]Thread 1 “cataclysm-tiles” received signal SIGSEGV, Segmentation fault.
0x00007ffff7201256 in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::compare(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0 0x00007ffff7201256 in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::compare(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x0000000000433142 in std::operator< <char, std::char_traits, std::allocator > (
__lhs=<error reading variable: Cannot access memory at address 0x77206e6f69746996>, __rhs=“REACTOR”) at /usr/include/c++/5/bits/basic_string.h:4989
#2 0x0000000000487392 in std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >::operator() (this=,
__y=“REACTOR”, __x=…) at /usr/include/c++/5/bits/stl_function.h:387
#3 std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >::_M_lower_bound (this=, __k=“REACTOR”, __y=0xe8d4218, __x=)
at /usr/include/c++/5/bits/stl_tree.h:1644
#4 std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::less<std::__cxx11::basic_string<char,—Type to continue, or q to quit—
std::char_traits, std::allocator > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >::find (
__k=“REACTOR”, this=0xe8d4210) at /usr/include/c++/5/bits/stl_tree.h:2308
#5 std::set<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >::count (this=0xe8d4210,
__x=“REACTOR”) at /usr/include/c++/5/bits/stl_set.h:668
#6 0x00000000005c3663 in vpart_info::has_flag (this=,
flag=“REACTOR”) at src/veh_type.h:205
#7 0x000000000072e458 in vehicle_part::is_reactor (this=this@entry=
0xe329c0 vehicle::current_engine()::null_part) at src/vehicle.cpp:6116
#8 0x000000000072e546 in vehicle_part::ammo_currentabi:cxx11 const (
this=this@entry=0xe329c0 vehicle::current_engine()::null_part)
at src/vehicle.cpp:5844
#9 0x00000000007cc1b2 in player::disp_status (this=0xdcc2580, w=0xd095520,
w2=) at src/player.cpp:3642
#10 0x00000000006afa6b in game::draw_sidebar (this=this@entry=0xd2fbce0)
at src/game.cpp:4867
#11 0x00000000006b07f4 in game::draw (this=this@entry=0xd2fbce0)
at src/game.cpp:4831
#12 0x00000000006d9e4d in game::do_turn (this=0xd2fbce0) at src/game.cpp:1543
#13 0x000000000041c97e in main (argc=, argv=)
at src/main.cpp:491
Thread 1 “cataclysm-tiles” received signal SIGSEGV, Segmentation fault.
__memcmp_sse4_1 () at …/sysdeps/x86_64/multiarch/memcmp-sse4.S:1011
1011 …/sysdeps/x86_64/multiarch/memcmp-sse4.S: No such file or directory.
(gdb) backtrace
#0 __memcmp_sse4_1 () at …/sysdeps/x86_64/multiarch/memcmp-sse4.S:1011
#1 0x00007ffff7201278 in std::__cxx11::basic_string<char, std::char_traits, std::allocator >::compare(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) const ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2 0x0000000000433142 in std::operator< <char, std::char_traits, std::allocator > (
__lhs=<error: Cannot access memory at address 0xfffffffffffffff8>,
__rhs=“REACTOR”) at /usr/include/c++/5/bits/basic_string.h:4989
#3 0x0000000000487392 in std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >::operator() (this=,
__y=“REACTOR”, __x=…) at /usr/include/c++/5/bits/stl_function.h:387
#4 std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >::_M_lower_bound (this=, __k=“REACTOR”, __y=0x109651f8,
__x=) at /usr/include/c++/5/bits/stl_tree.h:1644
#5 std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::_Identity<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >::find (
__k=“REACTOR”, this=0x109651f0) at /usr/include/c++/5/bits/stl_tree.h:2308
#6 std::set<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::less<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >::count (this=0x109651f0,
__x=“REACTOR”) at /usr/include/c++/5/bits/stl_set.h:668
#7 0x00000000005c3663 in vpart_info::has_flag (this=,
flag=“REACTOR”) at src/veh_type.h:205
#8 0x000000000072e458 in vehicle_part::is_reactor (this=this@entry=
0xe329c0 vehicle::current_engine()::null_part) at src/vehicle.cpp:6116
#9 0x000000000072e546 in vehicle_part::ammo_currentabi:cxx11 const (
this=this@entry=0xe329c0 vehicle::current_engine()::null_part)
at src/vehicle.cpp:5844
#10 0x00000000007cc1b2 in player::disp_status (this=0xdcc24f0, w=0xd0946a0,
w2=) at src/player.cpp:3642
#11 0x00000000006afa6b in game::draw_sidebar (this=this@entry=0xd2fbc50)
at src/game.cpp:4867
#12 0x00000000006b07f4 in game::draw (this=this@entry=0xd2fbc50)
at src/game.cpp:4831
#13 0x00000000006d9b21 in game::do_turn (this=0xd2fbc50) at src/game.cpp:1461
#14 0x000000000041c97e in main (argc=, argv=)
at src/main.cpp:491[/code]