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)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: tony, Unassigned)
Details
(Keywords: crash, testcase)
Attachments
(1 file)
10.93 KB,
text/plain
|
Details |
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.
Reporter | ||
Comment 1•18 years ago
|
||
Reporter | ||
Comment 2•18 years ago
|
||
Corrupt sqlite file is here:
http://ponderer.org/tests/BADBAD-urlclassifier2.sqlite
Comment 3•15 years ago
|
||
Shawn, is there enough here to work this?
Keywords: testcase
Version: Trunk → 2.0 Branch
Comment 4•15 years ago
|
||
(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.
Comment 5•15 years ago
|
||
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...
Comment 6•15 years ago
|
||
(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.
Comment 7•15 years ago
|
||
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.
Comment 8•15 years ago
|
||
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
Assignee | ||
Updated•11 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•