Bugs item #795037, was opened at 2003-08-26 02:58 Message generated for change (Comment added) made by cito You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=795037&group_id=4866
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: WebKit Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Ben Parker (benparker) Assigned to: Nobody/Anonymous (nobody) Summary: SessionFileStore raises KeyError on corrupt session data Initial Comment: In SessionFileStore.__getitem__(), the store raises a KeyError on corrupted session data, and leaves the corrupted data on the filesystem. If corrupted data is written during a bad appserver shutdown, the SessionStore continually throws those KeyErrors for any attempt to iterate over active sessions. The SessionFileStore should at least raise a different type of error indicating the problem is not KeyError but corrupted data. But then shouldn't it clean up the session? or maybe move it to a "corrupted" directory for review? ---------------------------------------------------------------------- >Comment By: Christoph Zwerschke (cito) Date: 2008-11-08 01:02 Message: This is similar to #678129 and has been fixed in r1758. The corrupt file is now removed and the error message is reported via app.handleException(). However, we still raise a KeyError, so that the application behaves like when the session is expired and does not break with unexpected errors. (Should have been closed already 5 years ago ;-) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=795037&group_id=4866 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Webware-devel mailing list Webware-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-devel