Thank you. That seems to have done it. Now ESC->Debug menu shows the full menu.
I’m hunting down
item_location lost its target item during a save/load cycle
which leads me to
Thread 1 "cataclysm-tiles" hit Breakpoint 1, item_location::impl::ensure_unpacked (this=0x5555594f3460) at src/item_location.cpp:114
114 debugmsg( "item_location lost its target item during a save/load cycle" );
(gdb) bt
#0 item_location::impl::ensure_unpacked (this=0x5555594f3460) at src/item_location.cpp:114
#1 0x0000555556468dcb in item_location::impl::target (this=0x5555594f3460) at src/item_location.cpp:99
#2 item_location::impl::item_on_map::serialize (this=0x5555594f3460, js=...) at src/item_location.cpp:196
#3 0x0000555556463e6f in item_location::serialize (this=this@entry=0x5555594b1ac0, js=...) at src/item_location.cpp:744
#4 0x0000555556e02658 in JsonOut::write<item_location> (v=..., this=0x7fffffffcad0) at src/json.h:700
#5 JsonOut::write_as_array<std::vector<item_location, std::allocator<item_location> > > (container=std::vector of length 1, capacity 1 = {...}, this=0x7fffffffcad0) at src/json.h:773
#6 JsonOut::write<std::vector<item_location, std::allocator<item_location> >, (void*)0> (container=std::vector of length 1, capacity 1 = {...}, this=0x7fffffffcad0) at src/json.h:784
#7 JsonOut::member<std::vector<item_location, std::allocator<item_location> > > (value=std::vector of length 1, capacity 1 = {...}, name="targets", this=0x7fffffffcad0) at src/json.h:852
#8 player_activity::serialize (this=this@entry=0x5555594eddd8, json=...) at src/savegame_json.cpp:292
#9 0x0000555556e07b01 in JsonOut::write<player_activity> (v=..., this=0x7fffffffcad0) at src/json.h:700
#10 JsonOut::member<player_activity> (value=..., name="activity", this=0x7fffffffcad0) at src/json.h:852
#11 Character::store (this=this@entry=0x5555594ed940, json=...) at src/savegame_json.cpp:972
#12 0x0000555556e2fb95 in player::store (this=this@entry=0x5555594ed940, json=...) at src/savegame_json.cpp:1063
#13 0x0000555556e31873 in npc::store (this=this@entry=0x5555594ed940, json=...) at src/savegame_json.cpp:1928
#14 0x0000555556e32e08 in npc::serialize (this=0x5555594ed940, json=...) at src/savegame_json.cpp:1922
#15 0x0000555556ded67a in JsonOut::write<npc> (v=..., this=0x7fffffffcad0) at src/json.h:701
#16 overmap::serialize (this=0x55555871d480, fout=...) at src/savegame.cpp:1005
#17 0x0000555556b7f6f5 in operator() (stream=..., __closure=<optimized out>) at src/overmap.cpp:4499
#18 std::__invoke_impl<void, overmap::save() const::<lambda(std::ostream&)>&, std::basic_ostream<char, std::char_traits<char> >&> (__f=...) at /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/bits/invoke.h:60
#19 std::__invoke_r<void, overmap::save() const::<lambda(std::ostream&)>&, std::basic_ostream<char, std::char_traits<char> >&> (__fn=...) at /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/bits/invoke.h:153
#20 std::_Function_handler<void(std::basic_ostream<char, std::char_traits<char> >&), overmap::save() const::<lambda(std::ostream&)> >::_M_invoke(const std::_Any_data &, std::basic_ostream<char, std::char_traits<char> > &) (__functor=...,
__args#0=...) at /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/bits/std_function.h:291
#21 0x0000555555d3b6e2 in std::function<void (std::ostream&)>::operator()(std::ostream&) const (this=this@entry=0x7fffffffce30, __args#0=...) at /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/bits/std_function.h:622
#22 0x0000555555d3a052 in write_to_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void (std::ostream&)> const&) (path="/home/specing/.cataclysm-dda/save/Big Plain/o.0.0",
writer=...) at src/ofstream_wrapper.h:36
#23 0x0000555556b8124d in overmap::save (this=0x55555871d480) at src/overmap.cpp:4498
#24 0x0000555556c0c0c2 in overmapbuffer::save (this=<optimized out>) at src/overmapbuffer.cpp:200
#25 0x0000555556125d17 in game::save_maps (this=this@entry=0x55555902c910) at src/game.cpp:3136
--Type <RET> for more, q to quit, c to continue without paging--
#26 0x0000555556144230 in game::save (this=this@entry=0x55555902c910) at src/game.cpp:3210
#27 0x0000555556144ad3 in game::quicksave (this=this@entry=0x55555902c910) at src/game.cpp:12203
#28 0x0000555556231c5d in game::handle_action (this=this@entry=0x55555902c910) at src/handle_action.cpp:2353
#29 0x00005555561778b5 in game::do_turn (this=0x55555902c910) at src/game.cpp:1507
#30 0x000055555663621d in main (argc=<optimized out>, argv=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10/bits/unique_ptr.h:173
and then
p (('item_location::impl::item_on_map' *) this).cur
$4 = {<visitable> = {<read_only_visitable> = {_vptr.read_only_visitable = 0x5555575db858 <vtable for map_cursor+16>}, <No data fields>}, pos_ = {static dimension = 3, x = 1847, y = 1826, z = 0}}
However, it seems that these coordinates are deeper in an unexplored part of map. Not what I expected. Perhaps my gdb print command was wrong.
EDIT: no, the coordinate center is moving around… The map editor screen is not showing me the true coordinates?