Comment 6 for bug 1818494

Revision history for this message
HH King (havelock) wrote :
  • Map Edit (178.9 KiB, application/octet-stream)

OK in the editor was zoomed out, hit the Reset zoom button and got a crash. I have had it crash ingame as well but with the same uninteresting bt as above. This is from the editor crash:

$ gdb -batch -ex "run" -ex "bt" ./widelands >> gdb.log 2>&1

This is Widelands Version bzr9006[widelands] (Debug)
...
 MapSaver::save() for 'After the Wood Gnomes' took 659ms
atlanteans trainingsites: We have used up 100% on 2 sites, there are 0 without
barbarians trainingsites: We have used up 100% on 2 sites, there are 0 without
empire trainingsites: We have used up 100% on 3 sites, there are 0 without
frisians trainingsites: We have used up 100% on 2 sites, there are 0 without
terminate called after throwing an instance of 'std::length_error'
  what(): vector::_M_default_append

Thread 1 "widelands" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff5309801 in __GI_abort () at abort.c:79
#2 0x00007ffff5cfc8b7 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff5d02a06 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff5d02a41 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff5d02c74 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff5cfe769 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00005555565ea469 in std::vector<FieldsToDraw::Field, std::allocator<FieldsToDraw::Field> >::_M_check_len (this=0x55556b1b6148, __n=18446744072217781287, __s=0x5555568bbaf6 "vector::_M_default_append") at /usr/include/c++/7/bits/stl_vector.h:1500
#8 0x00005555565ea194 in std::vector<FieldsToDraw::Field, std::allocator<FieldsToDraw::Field> >::_M_default_append (this=0x55556b1b6148, __n=18446744072217781287) at /usr/include/c++/7/bits/vector.tcc:568
#9 0x00005555565ea0ad in std::vector<FieldsToDraw::Field, std::allocator<FieldsToDraw::Field> >::resize (this=0x55556b1b6148, __new_size=18446744072217791297) at /usr/include/c++/7/bits/stl_vector.h:692
#10 0x00005555565e96f0 in FieldsToDraw::reset (this=0x55556b1b6130, egbase=..., viewpoint=..., zoom=-922624, dst=0x555560e67d90) at /home/worm/src/widelands/src/graphic/gl/fields_to_draw.cc:111
#11 0x00005555565d1dc8 in MapView::draw_terrain (this=0x55556b1b6018, egbase=..., dst=0x555560e67d90) at /home/worm/src/widelands/src/wui/mapview.cc:380
#12 0x0000555555f30204 in EditorInteractive::draw (this=0x55556b1b5f10, dst=...) at /home/worm/src/widelands/src/editor/editorinteractive.cc:265
#13 0x0000555556269910 in UI::Panel::do_draw_inner (this=0x55556b1b5f10, dst=...) at /home/worm/src/widelands/src/ui_basic/panel.cc:751
#14 0x0000555556269aea in UI::Panel::do_draw (this=0x55556b1b5f10, dst=...) at /home/worm/src/widelands/src/ui_basic/panel.cc:784
#15 0x0000555556268346 in UI::Panel::do_run (this=0x55556b1b5f10) at /home/worm/src/widelands/src/ui_basic/panel.cc:194
#16 0x0000555555f163c8 in UI::Panel::run<UI::Panel::Returncodes> (this=0x55556b1b5f10) at /home/worm/src/widelands/src/ui_basic/panel.h:103
#17 0x0000555555f32133 in EditorInteractive::run_editor (filename="", script_to_run="") at /home/worm/src/widelands/src/editor/editorinteractive.cc:643
#18 0x0000555555f0c227 in WLApplication::mainmenu (this=0x555556e3ceb0) at /home/worm/src/widelands/src/wlapplication.cc:1101
#19 0x0000555555f08575 in WLApplication::run (this=0x555556e3ceb0) at /home/worm/src/widelands/src/wlapplication.cc:454
#20 0x0000555555f06adf in main (argc=1, argv=0x7fffffffdfb8) at /home/worm/src/widelands/src/main.cc:44