T-Engine

Welcome to the t-engine Bug Tracker

Please note that this is a tracker for ToME 3 issues. Please list any ToME 2 issues on the ToME wiki.

For information on the wiki format used for the tickets and comments, see the Dokuwiki Syntax Reference.

Thanks,
Eric (sdltome-at-gmail:dot:com)

| Tasklist |

FS#203 - Module savefile descriptors can permacrash and lock the engine

Attached to Project: T-Engine
Opened by Lord Bucket (LordBucket) - Monday, 22 March 2010, 01:24 GMT-7
Task Type Bug Report
Category T-Engine
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version alpha19
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

This code:

function player.make_savefile_descriptor()
   return anything_undefined
end

Results in T-Engine loading to a blackscreen and locked condition, requiring a forced close and deletion of the relevant savefile to correct. Presumably babyface is grabbing all savefile descriptors for all modules before it displays the menu, and is failing to confirm that function returns are valid. So if one savefile in a single module has a bug...the entire engine dies.

Proposed solution: Add some error checking to babyface. T-Engine should not depend on every single module savefile to be error free to load its menu.

This task depends upon

Loading...