Open
Bug 1706013
Opened 3 years ago
Updated 2 years ago
[QM_TRY] Failures in dom/quota/ActorsParent.cpp:CreateDirectoryMetadata
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 |
---|---|---|---|---|
1 | 1 | 1 | dom/quota/ActorsParent.cpp:CreateDirectoryMetadata | dom/quota/ActorsParent.cpp#2510:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#10733:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#9841:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#10411:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#5133:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#5157:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#5787:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#6013:NS_ERROR_FAILURE |
Reporter | ||
Updated•3 years ago
|
Severity: -- → S4
Priority: -- → P3
Reporter | ||
Comment 1•3 years ago
|
||
Clients | Sessions | Hits | Anchor | Stack |
---|---|---|---|---|
1 | 1 | 1 | dom/quota/ActorsParent.cpp:CreateDirectoryMetadata | dom/quota/ActorsParent.cpp#2512:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#10737:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#9845:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#10415:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#5137:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#5161:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#5791:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#6017:NS_ERROR_FAILURE |
Reporter | ||
Comment 2•3 years ago
•
|
||
So we are able to open a new file for write, but the first write fails here (which btw is a generally untested case as of coverage data).
We fail because we did not write as much bytes as we wanted. Assuming that we use the write from nsFileStreamBase::Write
, this situation seems not to be considered to be an error in the sense of NS_ErrorAccordingToNSPR()
.
But what can be the cause of not being able to write 8 bytes after successfully opening the file for write (so access should have been checked) but not having an error? The only thing that comes to my mind is NS_ERROR_FILE_NO_DEVICE_SPACE
, but I really would have expected to see it then on the PR_Write
call already.
Comment 3•2 years ago
|
||
Taken from Attachment 9295797 [details].
Clients | Sessions | Hits | Anchor (Context) | Stack |
---|---|---|---|---|
1 | 1 | 1 | dom/quota/ActorsParent.cpp:CreateDirectoryMetadata (dom::quota::FirstInitializationAttempt::Storage) | dom/quota/ActorsParent.cpp#2602:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#11292:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#10383:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#10954:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#5442:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#5466:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#6098:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#6325:NS_ERROR_FAILURE |
You need to log in
before you can comment on or make changes to this bug.
Description
•