News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

"pure virtual function call"/segfault when dragging the main toolbar

Started by Nazalassa, September 01, 2024, 10:14:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nazalassa

This bug was found in Simutrans 124.2.2 Linux with the download from the official forum thread for version 124.2.2.

How to reproduce:

  • Use any pakset
  • Widen the Simutrans window so the toolbar comfortably fits (i.e the screen is much wider than the toolbar)
  • Try dragging the toolbar, starting anywhere, and ending with the mouse cursor on a simple tool which button does not darken when active (e.g rotate map) the "rotate map" tool (which is the only one with which I found the bug to happen, maybe because it is the only one that alters the map?).

Expected result: the tool on which the cursor ends should be selected since the toolbar can't move.

Observed result: if the cursor ends on the "rotate map" tool (regardless of whether it is the last tool or not), Simutrans terminates with either (a) a segfault or (b) a "FATAL ERROR: unknown - pure virtual function call" accompanied with the following window:

pvfc.gif
Making paksets since October 2023  |  pak48.bitlit | pak32.box | MLM for pak64 | Empire F7 cars

Life is like a multi-tasking OS: you know you'll eventually get back to everything, but you don't know when.

prissi

THe rotation function seems broken, rereleasing 124.2.2