Comment 4 for bug 1664052

Revision history for this message
GunChleoc (gunchleoc) wrote :

The first crash log happens when the shipwindow created a new goto button and then the box that it's in relayouts itself.

The line is in

Box::update_desired_size()

And it is

  set_desired_size(std::min(totaldepth, max_x_), // + get_lborder() + get_rborder(),
                   std::min(maxbreadth, max_y_)); // + get_tborder() + get_bborder());

for some reason, the breadth is huge.

Both crashes originate when the ship's window processes Widelands::NoteShipWindow, so I guess some state goes wrong there.