Opened 13 years ago

Closed 4 years ago

#7819 closed feature request (outdated)

AGI: Better error handling for script bugs

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


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 13 years ago.
AGI intentionally caused crash crashed ScummVM itself

Download all attachments as: .zip

Change History (7)

by SF/sterv, 13 years ago

AGI intentionally caused crash crashed ScummVM itself

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

I'm moving this to the feature requests tracker.

comment:3 by sev-, 12 years ago

Can you please provide steps to trigger that error message.

comment:4 by csnover, 7 years ago

Component: Engine: AGI

comment:5 by ZvikaZ, 4 years ago

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

comment:6 by sev-, 4 years 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.