Closed Bug 360729 Opened 18 years ago Closed 15 years ago

corrupt sqlite database resulting in a crash during local list update

Categories

(Toolkit :: Safe Browsing, defect)

2.0 Branch
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: tony, Unassigned)

Details

(Keywords: crash, testcase)

Attachments

(1 file)

A user reported a crash after browser startup. After looking at the stack trace, it was due to trying to update a corrupt sqlite database. We should fail more gracefully if possible.
Attached file stack trace of crash
Severity: normal → critical
Keywords: crash
Shawn, is there enough here to work this?
Keywords: testcase
Version: Trunk → 2.0 Branch
(In reply to comment #3) > Shawn, is there enough here to work this? Maybe, but I'd need to see if this is still valid first. Chances are it doesn't crash anymore.
Should be easy to test. Given that sqlite is still used as the backend, I would just try corrupting your database and see what happens...
(In reply to comment #5) > Should be easy to test. Given that sqlite is still used as the backend, I would > just try corrupting your database and see what happens... That's assuming that any corruption would cause the crash, but it is more likely to be a specific type of corruption.
Do we have a more recent example database to test this with? I think the db referenced in comment 2 is too old to be valid any longer.
We've fixed several bugs of the form "specific type of sqlite corruption leads to crashes" since this bug was filed. There appears to be no easy way to tell whether we fixed "this" one, so I'm closing this bug report.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: