JGRennison / OpenTTD-patches

OpenTTD - http://www.openttd.org/ - with additional patches
Other
572 stars 130 forks source link

[Crash]: on exit when clicking the X in OpenTTD's terminal window #649

Closed James103 closed 7 months ago

James103 commented 7 months ago

Version of OpenTTD

jgrpp-0.58.0 on Windows 10, 64-bit

Steps to reproduce

  1. Start the game with openttd -d.
  2. Use the X in OpenTTD's terminal window (showing the logs) to close the game.
  3. The game crashes.

Upload crash files

crash-20240210T214123Z.log The crash save had a file size of 0 bytes.

JGRennison commented 7 months ago

I cannot seem to reproduce this, does it still happen on 0.57.1?

James103 commented 7 months ago

I can consistently reproduce this on my system in 0.57.1. crash-20240211T002640Z.log

openttd -Z does not output anything on my machine.

In step 2, the terminal window I'm referring to is this one created by the OpenTTD process on Windows: image

JGRennison commented 7 months ago

I can reproduce the issue when music is enabled. I've applied a change which should prevent this.

JGRennison commented 7 months ago

Fixed in the most recent release