OpenRCT2 / OpenRCT2/OpenRCT2

Game crashes when closing immediately after starting the game

Open
#24,792 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
16.2k
Forks
1.9k
Avg merge
1d 20h
Merged PRs (30d)
80

Description

Operating System

Windows 10 64 bit

OpenRCT2 build

OpenRCT2, v0.4.24 (8592e6b877) provided by GitHub

Base game

RollerCoaster Tycoon 2

Area(s) with this issue?

No response

Describe the issue

When exiting the game, I get the error "An assertion failed, please report this to the OpenRCT2 developers, 2 images were not freed"
I can retry or ignore and the error will go away and the game will close.
If I choose to Abort, the game crashes.

This error doesn't appear to happen when I select a level. (I only chose one level to check, however)

I was asked by a plugin developer to report this issue here. The dump fails to upload for some reason.

Steps to reproduce
  1. Install rctrando.js (0.1.19) into the plugin folder
  2. Open OpenRCT2
  3. Immediately either press the x on the window or attempt to exit the game
Attachments
Image Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the shutdown assertion on Windows with rctrando.js 0.1.19 installed, following the issue's immediate-exit steps. Trace the startup and shutdown path that reports “2 images were not freed”; done means the game closes without the assertion or crash in this reproduction case.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.