Malformed sqlite database breaks web storage
Categories
(Core :: Storage: localStorage & sessionStorage, enhancement, P3)
Tracking
()
People
(Reporter: mossop, Unassigned)
Details
Attachments
(1 file)
2.82 KB,
text/plain
|
Details |
My wife was having problems with Firefox. Netflix would just display an error when attempting to watch a show and when attempting to upvote or post to reddit nothing would happen.
I eventually narrowed it down to the webappsstore.sqlite file. Removing this fixed all her issues. In testing attempting to use localstorage on Netflix (localStorage.test = "foo") resulted in the exception "File error: Corrupted" nsresult: "0x8052000b (NS_ERROR_FILE_CORRUPTED)".
The sqlite file seems to be broken in an interesting way. Opening it with sqlite3 works. Listing everything in the database shows a whole lot of data, but then ends with "Error: database disk image is malformed".
I've attached the results of "PRAGMA integrity_check;"
It would be really great if we could recover from this, presumably at the least just throwing away the corrupt database and starting fresh.
Updated•6 years ago
|
Updated•2 years ago
|
Description
•