Opened 20 years ago

Closed 20 years ago

Last modified 5 years ago

#1551 closed defect (fixed)

BS1: Game crashes when savepath is invalid

Reported by: SF/ifo Owned by: fingolfin
Priority: normal Component: Engine: Sword1
Version: Keywords:
Cc: Game: Broken Sword 1

Description

If the path given in .scummvmrc for savegames doesn't exist or if the user doesn't have write permission for it, the game crashes with an "Fatal signal: Segmentation Fault (SDL Parachute Deployed)" when you click on the Save button in the menu. Tested under Linux.

Ticket imported from: #920491. Ticket imported from: bugs/1551.

Change History (5)

comment:1 by SF/ifo, 20 years ago

Summary: Game crashes when savepath is invalidBS1: Game crashes when savepath is invalid

comment:2 by eriktorbjorn, 20 years ago

Owner: set to lavosspawn

comment:3 by fingolfin, 20 years ago

Fixed; an error dialog is shown now, telling what's wrong, instead of crashing.

comment:4 by fingolfin, 20 years ago

Owner: changed from lavosspawn to fingolfin
Resolution: fixed
Status: newclosed

comment:5 by Filippos Karapetis <bluegr@…>, 5 years ago

In ce822732:

AmigaOS4: Exclude platform from a SDL1/2 keyboard fix that breaks numpad usage (#1551)

SDL1/2: Exclude AmigaOS4 from returning 0 for .ascii

*reset .ascii to 0, when Num-Lock is NOT enabled and keypad directional keys are pressed* (original description) is causing the numpad to play dead completely on AmigaOS4 (no matter if numlock is active or not). This is a workaround for the SCUMM engine, where keycodes are mixed with ASCII codes.

Check commit f5ed14e93d85b638c8e49468b2885c1278d56d20 for reference.

Fixes bug #10558. Tested with both SDL1 and 2 on AmigaOS4 and with both Indiana Jones games.

Note: See TracTickets for help on using tickets.