Opened 8 years ago

Last modified 2 years ago

#7819 new enhancement

AGI: Better error handling for script bugs

Reported by: SF/sterv Owned by:
Priority: normal Component: Engine: AGI
Keywords: Cc:
Game:

Description

I was testing how ScummVM 1.30 64-bit responds to selfcaused crashes, such as attempting to drawing object that has not been initilialized, ScummVM didn't act anyway, nothing wrong with that, I've noticed ScummVM mostly just ignoring any errors, til I poked game too much and even ScummVM itself crashed. Though the game had properly set error handling with errorlog creation using AGI's log-cmd, ScummVM didn't leave anything to it, I assume it's due to ScummVM is meant to just ignore errors.

After that I tested with NAGI which reported crash occurring due to error v17:0x05 (invalid loop number).

Not that ScummVM's AgiEngine's priority should be following proper error handling, I was wondering perhaps this could be something more? I attached screenshot from ScummVM's crash report.

Ticket imported from: #3323544. Ticket imported from: feature-requests/635.

Attachments (1)

scummvm130x64-crash-110621.png (23.5 KB ) - added by SF/sterv 8 years ago.
AGI intentionally caused crash crashed ScummVM itself

Download all attachments as: .zip

Change History (5)

by SF/sterv, 8 years ago

AGI intentionally caused crash crashed ScummVM itself

comment:1 by wjp, 8 years ago

Component: Engine: AGI
Game: AGI Fanmade
Summary: AGI error handling ScummVM couldn't ignoreAGI: Better error handling for script bugs

comment:2 by wjp, 8 years ago

I'm moving this to the feature requests tracker.

comment:3 by sev-, 8 years ago

Can you please provide steps to trigger that error message.

comment:4 by csnover, 2 years ago

Component: Engine: AGI
Note: See TracTickets for help on using tickets.