Opened 16 years ago

Closed 15 years ago

Last modified 5 months ago

#1551 closed defect (fixed)

BS1: Game crashes when savepath is invalid

Reported by: SF/ifo Owned by: fingolfin
Priority: normal Component: Engine: Sword1
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, 16 years ago

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

comment:2 by eriktorbjorn, 15 years ago

Owner: set to lavosspawn

comment:3 by fingolfin, 15 years ago

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

comment:4 by fingolfin, 15 years ago

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

comment:5 by Filippos Karapetis <bluegr@…>, 5 months 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.