Opened 9 years ago

Closed 6 months ago

#7819 closed enhancement (outdated)

AGI: Better error handling for script bugs

Reported by: SF/sterv Owned by: sev-
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 9 years ago.
AGI intentionally caused crash crashed ScummVM itself

Download all attachments as: .zip

Change History (7)

by SF/sterv, 9 years ago

AGI intentionally caused crash crashed ScummVM itself

comment:1 by wjp, 9 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, 9 years ago

I'm moving this to the feature requests tracker.

comment:3 by sev-, 9 years ago

Can you please provide steps to trigger that error message.

comment:4 by csnover, 3 years ago

Component: Engine: AGI

comment:5 by ZvikaZ, 6 months ago

@sev, you asked a question 8 years ago, no one has answered, maybe it's better to close this?

comment:6 by sev-, 6 months ago

Owner: set to sev-
Resolution: outdated
Status: newclosed

Yeah, indeed. Closing this. I cannot understand what the original requestor is saying anyway.

Note: See TracTickets for help on using tickets.