The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: THLeaderH on October 03, 2019, 10:11:17 AM

Title: [r8820] A crash when opening station info window with separate_halt_capacities=1
Post by: THLeaderH on October 03, 2019, 10:11:17 AM
Sorry for a bug report with a little bit older version.

Simutrans crashes when a player opens a station info window. This phenomenon occurs when separate_station_capacities=1.

Thank you.
Title: Re: [r8820] A crash when opening station info window with separate_halt_capacities=1
Post by: DrSuperGood on October 03, 2019, 07:42:21 PM
Possibly related to the numeric overflow with some sorting modes fixes I made many months ago. I do not recall testing with separate capacities enabled.

I will try to recreate later.
Title: Re: [r8820] A crash when opening station info window with separate_halt_capacities=1
Post by: ceeac on October 04, 2019, 06:51:54 AM
In debug mode, the code hits the assert in gui_image_t::get_min_size(). Removing the assert does not cause any visible ill effects, however I'm not sure whether this is what was originally intended.
Title: Re: [r8820] A crash when opening station info window with separate_halt_capacities=1
Post by: Dwachs on October 09, 2019, 04:08:54 PM
thanks for the report, should be fixed in r8840