Improve the “The bookmarks and history system will not be functional because one of Firefox's files is in use by another application.” message
Categories
(Firefox :: Bookmarks & History, enhancement, P5)
Tracking
()
People
(Reporter: 21Naown, Unassigned)
References
Details
Attachments
(1 file)
|
312.29 KB,
image/png
|
Details |
Steps to reproduce:
- Set the size of “favicons.sqlite” to 0 or 1 byte;
- Execute Firefox displays “The bookmarks and history system will not be functional because one of Firefox's files is in use by another application.”.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
You are corrupting the database, the system is not functional. Surely the message could be improved but I don't see this as a huge problem
Updated•5 years ago
|
Updated•5 years ago
|
(In reply to Marco Bonardo [:mak] from comment #2)
You are corrupting the database, the system is not functional. Surely the message could be improved but I don't see this as a huge problem
If the size is set to 2 bytes for example, the file seems reinitialized. It is not the case for 0 and 1 byte.
Comment 4•5 years ago
|
||
it doesn't really matter, the database must be sane (openable by Sqlite)
The database is not sane after “truncate --size 2 favicons.sqlite”, but Firefox reinitializes it. Firefox does not reinitialize the database if the size is set to 0 or 1 byte.
Comment 8•4 years ago
|
||
This is an error notification bar we show to users on startup if the history/bookmarks system cannot be initialized
The current text reads:
"The bookmarks and history system will not be functional because one of Firefox’s files is in use by another application. Some security software can cause this problem."
This is misleading because it can also happen if the files are corrupt rather than being in-use. I'd suggest to change the text to:
"The bookmarks and history system is not functional because some of Firefox's profile files may be corrupt, or locked by a third party security application."
The notification bar then provides a button pointing to https://support.mozilla.org/en-US/kb/fix-bookmarks-and-history-will-not-be-functional
Meridel, wdyt?
Comment 9•4 years ago
|
||
Marco, can you confirm the context in which this is displayed, and share a screenshot of the current notification?
Comment 10•4 years ago
|
||
This is a screenshot of the notification.
This is shown when we detect unfixable corruption to the bookmarks and history database, and we have no way to initialize it. Usually that has 2 main causes:
- the database is corrupt in some special way that doesn't allow us to detect/fix it easily
- the database is kept locked by some third party application
Comment 11•4 years ago
|
||
Thanks, Marco! Romain, can you advise if changes to strings here are in scope and, if so, when?
Comment 12•4 years ago
|
||
If adjusting the string could better help users understand the source of the issue I agree that we should.
Priority-wise I'd make this a low priority given how rarely we see it.
Comment 13•4 years ago
|
||
You may only see it rarely. I see it quite a lot, because Firefox's locking on NFS is so abysmal.
Comment 14•4 years ago
|
||
(In reply to Tethys from comment #13)
You may only see it rarely. I see it quite a lot, because Firefox's locking on NFS is so abysmal.
Actually, the problem is NFS lies to Sqlite, we can't do much if the filesystem is lying about data being synced to disk, we did all we could so far.
Description
•