Open
Bug 1708134
Opened 3 years ago
Updated 2 years ago
[QM_TRY] Failures in dom/quota/ActorsParent.cpp:InitializeLocalStorageArchive
Categories
(Core :: Storage: Quota Manager, defect, P3)
Core
Storage: Quota Manager
Tracking
()
NEW
People
(Reporter: jstutte, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Clients | Sessions | Hits | Anchor | Stack |
---|---|---|---|---|
2 | 2 | 2 | dom/quota/ActorsParent.cpp:InitializeLocalStorageArchive | dom/quota/ActorsParent.cpp#642:NS_ERROR_FILE_READ_ONLY <- dom/quota/ActorsParent.cpp#5861:NS_ERROR_FILE_READ_ONLY |
Clients | Sessions | Hits | Anchor | Stack |
---|---|---|---|---|
1 | 1 | 1 | dom/quota/ActorsParent.cpp:InitializeLocalStorageArchive | dom/quota/ActorsParent.cpp#651:NS_ERROR_STORAGE_IOERR <- dom/quota/ActorsParent.cpp#5961:NS_ERROR_STORAGE_IOERR <- dom/quota/ActorsParent.cpp#6029:NS_ERROR_STORAGE_IOERR <- dom/quota/ActorsParent.cpp#6032:NS_ERROR_STORAGE_IOERR |
Reporter | ||
Comment 1•3 years ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #0)
Clients Sessions Hits Anchor Stack 2 2 2 dom/quota/ActorsParent.cpp:InitializeLocalStorageArchive dom/quota/ActorsParent.cpp#642:NS_ERROR_FILE_READ_ONLY <- dom/quota/ActorsParent.cpp#5861:NS_ERROR_FILE_READ_ONLY
This is weird: We open the DB apparently with SQLITE_OPEN_READWRITE
but only when trying to access the file for write we get an NS_ERROR_FILE_READ_ONLY ?
Flags: needinfo?(jvarga)
Comment 2•3 years ago
|
||
Well, the database opening usually only needs to read from the file, so in theory it can pass even if the file is read-only (or the media is read-only, we don't know). However, once we want to create a new table, the operation fails.
Currently we have a fallback for database corruption detected during MaybeCreateOrUpgradeLocalStorageArchive
Maybe we could add another case which would rename the existing read-only file and then create an empty database.
Flags: needinfo?(jvarga)
Reporter | ||
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P3
Reporter | ||
Comment 3•3 years ago
|
||
Clients | Sessions | Hits | Anchor | Stack |
---|---|---|---|---|
3 | 3 | 3 | dom/quota/ActorsParent.cpp:InitializeLocalStorageArchive | dom/quota/ActorsParent.cpp#637:NS_ERROR_FILE_READ_ONLY <- dom/quota/ActorsParent.cpp#5858:NS_ERROR_FILE_READ_ONLY <- dom/quota/ActorsParent.cpp#6027:NS_ERROR_FILE_READ_ONLY <- dom/quota/ActorsParent.cpp#6027:NS_ERROR_FILE_READ_ONLY |
1 | 1 | 1 | dom/quota/ActorsParent.cpp:InitializeLocalStorageArchive | dom/quota/ActorsParent.cpp#637:NS_ERROR_STORAGE_IOERR <- dom/quota/ActorsParent.cpp#5958:NS_ERROR_STORAGE_IOERR <- dom/quota/ActorsParent.cpp#6026:NS_ERROR_STORAGE_IOERR <- dom/quota/ActorsParent.cpp#6027:NS_ERROR_STORAGE_IOERR |
Clients | Sessions | Hits | Anchor | Stack |
---|---|---|---|---|
1 | 1 | 1 | dom/quota/ActorsParent.cpp:InitializeLocalStorageArchive | dom/quota/ActorsParent.cpp#637:NS_ERROR_STORAGE_IOERR <- dom/quota/ActorsParent.cpp#5958:NS_ERROR_STORAGE_IOERR <- dom/quota/ActorsParent.cpp#6026:NS_ERROR_STORAGE_IOERR <- dom/quota/ActorsParent.cpp#6027:NS_ERROR_STORAGE_IOERR |
Comment 4•2 years ago
|
||
Taken from Attachment 9255717 [details].
Clients | Sessions | Hits | Anchor | Stack |
---|---|---|---|---|
1 | 1 | 2 | dom/quota/ActorsParent.cpp:InitializeLocalStorageArchive | dom/quota/ActorsParent.cpp#649:NS_ERROR_FILE_ACCESS_DENIED <- dom/quota/ActorsParent.cpp#6041:NS_ERROR_FILE_ACCESS_DENIED <- dom/quota/ActorsParent.cpp#6211:NS_ERROR_FILE_ACCESS_DENIED <- dom/quota/ActorsParent.cpp#6211:NS_ERROR_FILE_ACCESS_DENIED <- dom/localstorage/ActorsParent.cpp#6782:NS_ERROR_FILE_ACCESS_DENIED |
You need to log in
before you can comment on or make changes to this bug.
Description
•