#635 AGI: Better error handling for script bugs

open
nobody
None
5
2011-06-21
2011-06-21
sterv
No

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.

Discussion

  • sterv

    sterv - 2011-06-21

    AGI intentionally caused crash crashed ScummVM itself

     
  • Willem Jan Palenstijn

    • labels: 415217 -->
    • milestone: 497657 -->
    • summary: AGI error handling ScummVM couldn't ignore --> AGI: Better error handling for script bugs
     
  • Willem Jan Palenstijn

    I'm moving this to the feature requests tracker.

     
  • Eugene Sandulenko

    Can you please provide steps to trigger that error message.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks