Opened 2 weeks ago

Closed 11 days ago

#15517 closed defect (fixed)

BACKENDS: 3DS: Crashes when quitting ScummVM from the launcher menu.

Reported by: BallM4788 Owned by: ccawley2011
Priority: high Component: Port: 3DS
Version: Keywords: crash 3ds nintendo n3ds new3ds
Cc: Game:

Description (last modified by BallM4788)

This bug was introduced on 30 June 2024 with this commit. On a New 3DS system, when attempting to quit ScummVM from the launcher, the system will almost always crash. Quitting ScummVM from inside a game works as intended.

Interestingly, quitting from the launcher menu after adding a new game seems to work fine. EDIT: It's not adding a new game that allows for a successful quit from the launcher menu; it's starting a game for which the engine is not present.

All my testing was done with on a compilation made from the bug origin state linked above, with only the Riven engine enabled; the new engine-absent* game added that caused a successful quit from the launcher menu was Sam & Max.

I have included the parsed version of a dump file generated by the Luma3DS custom firmware. I do not know if any of this applies to a 3DS port running on an original 3DS. EDIT: ccawley2011 confirmed in the ScummVM discord server that the bug affects the Old 3DS as well

EDIT: Here is the exact process that causes the successful exit:

  1. Open ScummVM. The port only has the Riven engine compiled in, but both Riven and another game (for which the engine is not present) are listed in the launcher menu.
  1. Select the other game, and press the "Start" button (the one on the screen, not the Start button on the 3DS). The "Could not find any engine capable of running the selected game" message will appear.
  1. Press "OK" to return to the launcher screen, then press "Quit". The program will successfully unload and return to the 3DS home screen.

Attachments (3)

crash_dump_PARSED.txt (21.8 KB ) - added by BallM4788 2 weeks ago.
build-d16f08c_allengines_crash_dump_PARSED.txt (21.7 KB ) - added by BallM4788 2 weeks ago.
build-d16f08c_allengines_gdb_log.txt (6.7 KB ) - added by BallM4788 2 weeks ago.

Download all attachments as: .zip

Change History (8)

by BallM4788, 2 weeks ago

Attachment: crash_dump_PARSED.txt added

comment:1 by BallM4788, 2 weeks ago

I am in the process of compiling the 3DS port with all engines enabled (again from the bug origin state), and will update the ticket if any new behavior is displayed.

comment:2 by BallM4788, 2 weeks ago

Description: modified (diff)

comment:3 by BallM4788, 2 weeks ago

Description: modified (diff)
Summary: BACKENDS: 3DS: New 3DS systems crash when quitting ScummVM from the launcher menu.BACKENDS: 3DS: Crashes when quitting ScummVM from the launcher menu.

by BallM4788, 2 weeks ago

comment:4 by BallM4788, 2 weeks ago

Added crash dump and gdb log of build d16f08c with all engines enabled. Bug still present.

comment:5 by ccawley2011, 11 days ago

Owner: set to ccawley2011
Resolution: fixed
Status: newclosed

This was fixed in PR #6258.

Note: See TracTickets for help on using tickets.