Closed
Bug 1435981
Opened 7 years ago
Closed 7 years ago
After returning from sleep mode with /home being a NFS mount there are various issues
Categories
(Firefox :: Address Bar, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 433129
People
(Reporter: github, Unassigned)
Details
Attachments
(1 file)
9.54 MB,
text/plain
|
Details |
I'm running Firefox 52.6.0 on Debian 9.3 (stretch) in a setting where the home folder is mounted as an nfs mount. After putting the machine to sleep (and recovering it from sleep) there are various things that happen unexpectedly.
1.
Happens: In my bookmark bar everything looks fine in the first place but the second level bookmarks are all gone, i.e., folders in the bookmark bar with only bookmarks in it are shown as empty, subfolders however are shown and contain bookmarks.
Expected: Second level bookmarks should be visible.
2.
Happens: If I enter a full address into the address bar, e.g. "mozilla.org", and press Enter nothing happens. I am however able to enter "mozilla" and then my standard search page will be opened with the search term "mozilla".
Expected: It should open the website "mozilla.org".
I will investigate further if this might have anything to do with addons and I will try to add some debug log or similar.
I did another test with two empty profiles (and my normal working profile). One profile was regularly created in my home directory (and thus on the NFS besides my normal profile) and one was positioned in the temporary file system (local ext4 file system).
After a good hour of sleep both profiles on NFS exhibit the second behavior I stated initially (unable go to enter address entered into address bar). Additionally both log the following error to the terminal on every key press in the address bar (except for the enter): "Query failed: Error: Error(s) encountered during statement execution: disk I/O error".
The profile on the ext4 fs does not exhibit any problems.
I have some more information:
- In the case when nothing happens on pressing enter after entering a website, when I add an additional space before or after the website it loads just fine without any problem.
- There is definitely some problem with the bookmarks as well. When I open the bookmark manager on both instances with their profiles on the NFS share I just get an empty window without any folders / bookmarks to be seen. Additionally, trying to add a new folder or bookmark to the bookmark bar gives me an empty window with just two buttons "cancel" and "add", no text inputs or labels.
So all in all I guess that the problem is that there are problems with Firefox profiles and NFS shares after waking up from sleep mode.
This is a strace log of starting Firefox and then putting the machine to sleep at 14:41:21 and waking it up again at 15:33:16. I then enter a domain into the address bar (each key stroke can gives a line with 'write(1, "Query failed: Error: Error(s)'). I do this until 15:34:00 where pressing the enter key does nothing.
I start again at 15:34:08 but in the end (15:34:10) I add a space to the address and press enter which starts loading the page.
(I have replace my user name with $USER and removed all duplicate lines (repeated calls with same strace line) and calls to mprotect, madvice, futex to shrink the size of the log file.)
Comment 4•7 years ago
|
||
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20180206200532
Hello Jonas,
I have tested this issue on latest Firefox release 58.0.2 and latest Nightly build 60.0a1 (2018-02-09)and could not reproduce it. I have opened the browser, navigated to several websites in different tabs and populated my Bookmark toolbar. I've put the testing machine on sleep (Suspend) and let it in this mode for about 30 minutes. After coming back, everything worked as expected: I had no missing bookmarks and I could navigate to other websites without encountering any issue.
Can you please retest this using latest Firefox release and latest Nightly build (https://nightly.mozilla.org/) and report back the results ? When doing this, please use a new clean Firefox profile (https://goo.gl/AWo6h8), maybe even safe mode (https://goo.gl/AR5o9d), to eliminate custom settings as a possible cause.
Flags: needinfo?(github)
I was able to test this with both
58.0.2 (Build ID: 20180206200532, UA: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0)
and
60.0a1 (Build ID: 20180219220041, UA: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0).
Both were just downloaded and run and not installed but I guess it should not make a difference. I created a new profile for each instance.
After a good hour of sleep both exhibit the same behaviour with the address bar.
Interestingly, when trying directly after waking up everything worked ok, but after playing around (opening new tabs, closing tabs) for about a minute the behaviour appeared.
I found some additional hints regarding after which input pressing the enter key does something and after which input it does nothing.
When entering anything that can be interpreted as a domain name or URL Enter does nothing (e.g. "mozilla.org"). When entering anything which contains spaces (I did not try to test "some.domain/some path" it just occurred to me after restarting the browsers) it loads the standard search page with the search terms (e.g. "mozilla org").
There is one very interesting behaviour:
1. I enter "mozilla.org" (without quotes) and press Enter; nothing happens.
2. I press backspace to delete the "g" and press Enter; suddenly it tries to load the webpage "mozilla.or" which fails.
In general, entering something, pressing Enter, pressing backspace at least once, and pressing Enter again loads the entered page, as expected. With this one is able to load e.g. "mozilla.org" by just trying "mozilla.org/" first and then removing the slash.
I hope this additional information might help in finding out where this behaviour comes from. If I can be of more assistance, please let me know.
Flags: needinfo?(github)
Just a quick addition: As opposed to my system-wide installed Firefox 52 ESR there is no output to the terminal (c.f. Comment 1).
Comment 7•7 years ago
|
||
Based on the information provided in comment 5, I'm going to move this to Firefox:: Address Bar.
Status: UNCONFIRMED → NEW
Component: Untriaged → Address Bar
Ever confirmed: true
Updated•7 years ago
|
Status: NEW → UNCONFIRMED
Ever confirmed: false
Comment 8•7 years ago
|
||
nfs is a mess, it just lies to us. there's the storage.nfs_filesystem pref you can try to see if it fixes your troubles, but don't hold your breath.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•