WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
16430
Repeated file database access seems to lock database
https://bugs.webkit.org/show_bug.cgi?id=16430
Summary
Repeated file database access seems to lock database
Brent Fulgham
Reported
2007-12-13 21:03:15 PST
Playing with the HTML5 database implementation (
http://webkit.org/misc/DatabaseExample.html
) using a nightly build (sources from 10 am on 12/13/2007) under Windows XP: 1. Start Safari (run-safari). Open the example and create a few notes. 2. Close Safari. Reopen Safari. 3. View notes, move them around, etc. 4. Close Safari. Reopen Safari. 5. Error message: "Failed to open the database on disk". Note: I observed this after implementing changes to the threading primatives (see bug
http://bugs.webkit.org/show_bug.cgi?id=16428
) which may be the cause.
Attachments
Sample file database from the HTML5 database example (C:\Documents and Settings\bfulgham\Local Settings\Application Data\Apple Computer\Safari\Databases\http_webkit.org_0) after the lock out error.
(7.00 KB, application/octet-stream)
2007-12-13 21:04 PST
,
Brent Fulgham
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2007-12-13 21:04:40 PST
Created
attachment 17886
[details]
Sample file database from the HTML5 database example (C:\Documents and Settings\bfulgham\Local Settings\Application Data\Apple Computer\Safari\Databases\http_webkit.org_0) after the lock out error. This is the result of the test case mentioned in the bug description. I can't open this file to access the data.
Brent Fulgham
Comment 2
2007-12-13 23:55:43 PST
This is due to my thread changes. After backing them out, it seems to work properly.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug