Firefox interface/tabs hang/become unreponsive when connections are interrupted
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: tftylerfoo, Unassigned, NeedInfo)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
Steps to reproduce:
- Firefox configured to use manual proxy.
- With a couple of tabs open, preferably Gmail.
- Exit my proxy program, so all connections would fail, and then we can see Gmail is trying to reestablishing connections.
- Restart my proxy program, so Firefox would start reestablishing connections for Gmail.
- Try switching to the other tabs and you will see there are huge delays and the interface is very slow to respond.
Actual results:
Bad responsiveness of Firefox interface probably caused by reestablishing connections/bad connections. I've included a video below.
Expected results:
Firefox's interface should've been very responsive even when it's trying to reestablish connections or encounter a bad connection.
Comment 2•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Responsive Design Mode' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Hi tftylerfoo,
I was unable to reproduce this issue in my end due to technical skills to perform the respective settings.
Please, can you confirm if this issue occur in the latest nightly version of firefox? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
I've assigned a component in order to get the dev team involved.
'Core - Networking' team: if the component is not relevant, please change it to a more appropriate one.
Regards,
Jerónimo.
Tried the latest nightly on my laptop which is intel only. I can reproduce the bug with the exactly steps I posted above. From my observation, as long as some tabs are reconnecting or when situations like internet hiccups happen, Firefox would become very unresponsive and semi-freeze. Also firefox (the main process) consumes a lot of memory and cpu usage is also very high when this happens.
Comment 5•3 years ago
|
||
Can you please create a http log? he instruction to create a log are here.
The log may contain cookies and all url you are visiting, therefore I recommend to use a new profile and not to log into sites if possible. You can also send the log to me via email instead of attaching it to the bug.
Is it normal that I can't reproduce the issue with logging turned on?
Comment 7•3 years ago
|
||
(In reply to Tyler from comment #6)
Is it normal that I can't reproduce the issue with logging turned on?
The logging changes timing of internal events a bit and it makes browser slower.
It may change timing of event and cause the issue to go away.
I will try to think how to debug the issue in a different way.
Can you switch tabs? Does the user interface work, e.g. can you switch tabs, open a new tab, etc.?
(In reply to Dragana Damjanovic [:dragana] from comment #7)
Can you switch tabs? Does the user interface work, e.g. can you switch tabs, open a new tab, etc.?
You meant to ask if the user interface work when the issue happens, right? I don't consider it a hard freeze. I can still click on tabs, but there is a huge delay/lag. If you watch the video I attached above, you can see when I switch tabs, the domain address in the address bar changes, but it doesn't actually switch to that tab and show the me the actually page. also I can open a new tab, it's just very slow. And suggestions on the address bar takes a while to pop up.
Comment 9•3 years ago
|
||
maybe a profiler would help diagnose this.
Reporter | ||
Comment 10•3 years ago
|
||
(In reply to Dragana Damjanovic [:dragana] from comment #9)
maybe a profiler would help diagnose this.
Don't know if I've done it right, but I've sent the profile share link to your email. Pls check and let me know. Thanks.
Comment 11•3 years ago
•
|
||
(In reply to Tyler from comment #10)
(In reply to Dragana Damjanovic [:dragana] from comment #9)
maybe a profiler would help diagnose this.
Don't know if I've done it right, but I've sent the profile share link to your email. Pls check and let me know. Thanks.
I can't find any networking problem from the profiler, since the activities on socket thread was not recorded.
Could you try to get a profiler again? This time please go to about:profiling
and endble Socket Thread
.
Thanks.
Reporter | ||
Comment 12•3 years ago
|
||
That sounds exactly like the issue I'm having.
Updated•3 years ago
|
Comment 14•3 years ago
|
||
Patch for bug 1382886 landed. Can you try to reproduce the issue? If you can reproduce the issue please make a http log.
Thanks!
Description
•