Open Bug 1274865 Opened 10 years ago Updated 3 years ago

[e10s] Firefox can't display page already loaded without network connection

Categories

(Firefox :: Tabbed Browser, defect, P3)

49 Branch
defect

Tracking

()

Tracking Status
e10s + ---
firefox49 --- affected

People

(Reporter: jya, Unassigned)

Details

This happened as I was flying back from Taipei and was of great inconvenience. I had loaded a few pages while still having network connectivity (pages I intended to look at while flying). I had made sure all 4 pages were loaded and cached. Unfortunately, when tabbing out of a loaded page and back, all I could see was now a blank page and the little spinner showing that the page was being loaded. The content was no longer available. After tabbing to all the various pages, they soon were all white with only the loading spinner showing. Worse, you could see that pages that were still loaded and hadn't been tabbed out would simply move up and down repetitively. A page pre-loaded was: https://treeherder.mozilla.org/logviewer.html#?job_id=28337245&repo=mozilla-inbound#L1604 Video capture of the problem: https://youtu.be/US0rggOMDa4 You can clearly see on that video that one of the page still pre-loaded (in the background) was jumping up and down repetitively, the page at the front was just blank (you can still see it jumping up and down, though it's harder to tell being just various shades of white)
Bill/Mike, I think you're most on top of our tab-switching story in e10s. Any idea what's causing this?
tracking-e10s: --- → ?
Component: General → Tabbed Browser
Flags: needinfo?(wmccloskey)
Flags: needinfo?(mconley)
Would you mind pasting your about:support?
Flags: needinfo?(mconley) → needinfo?(jyavenard)
Sorry for the delay. Here is it: { "application": { "name": "Firefox", "osVersion": "Darwin 15.4.0", "version": "49.0a1", "buildID": "20160522030240", "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:49.0) Gecko/20100101 Firefox/49.0", "safeMode": false, "updateChannel": "nightly", "supportURL": "https://support.mozilla.org/1/firefox/49.0a1/Darwin/en-US/", "numTotalWindows": 4, "numRemoteWindows": 4, "remoteAutoStart": true, "autoStartStatus": 1 }, "modifiedPreferences": { "accessibility.typeaheadfind.flashBar": 0, "browser.cache.disk.hashstats_reported": 1, "browser.cache.frecency_experiment": 1, "browser.cache.disk.smart_size.first_run": false, "browser.cache.disk.smart_size.use_old_max": false, "browser.cache.disk.capacity": 358400, "browser.cache.disk.filesystem_reported": 1, "browser.download.importedFromSqlite": true, "browser.places.smartBookmarksVersion": 8, "browser.sessionstore.upgradeBackup.latestBuildID": "20160522030240", "browser.startup.homepage_override.buildID": "20160522030240", "browser.startup.homepage_override.mstone": "49.0a1", "browser.tabs.warnOnClose": false, "browser.urlbar.maxRichResults": 12, "dom.push.userAgentID": "f335e42f66ba421d8d8b02a22729608c", "dom.apps.reset-permissions": true, "dom.mozApps.used": true, "extensions.lastAppVersion": "49.0a1", "gfx.blacklist.direct2d.failureid": "FEATURE_FAILURE_DL_BLACKLIST_g984", "gfx.blacklist.direct2d": 3, "gfx.blacklist.hardwarevideodecoding.failureid": "FEATURE_FAILURE_DL_BLACKLIST_g1208", "media.gmp.storage.version.observed": 1, "media.gmp-gmpopenh264.version": "1.5.3", "media.gmp-manager.buildID": "20160522030240", "media.benchmark.vp9.versioncheck": 1, "media.gmp-widevinecdm.lastUpdate": 1463013350, "media.gmp-gmpopenh264.lastUpdate": 1463013349, "media.benchmark.vp9.fps": 39, "media.gmp-gmpopenh264.abi": "x86_64-gcc3-u-i386-x86_64", "media.gmp-manager.lastCheck": 1463959272, "media.gmp-widevinecdm.abi": "x86_64-gcc3-u-i386-x86_64", "media.gmp-widevinecdm.version": "1.4.8.866", "network.cookie.prefsMigrated": true, "network.predictor.cleaned-up": true, "places.database.lastMaintenance": 1463634426, "places.history.expiration.transient_current_max_pages": 104858, "plugin.importedState": true, "plugin.disable_full_page_plugin_for_types": "application/pdf", "print.printer_Brother_MFC-J6910DW.print_duplex": -437918235, "print.printer_Brother_MFC-J6910DW.print_footerleft": "&PT", "print.printer_Brother_MFC-J6910DW.print_unwriteable_margin_top": 25, "print.printer_Brother_MFC-J6910DW.print_margin_bottom": "0.5", "print.printer_Brother_MFC-J6910DW.print_margin_left": "0.5", "print.printer_Brother_MFC-J6910DW.print_edge_right": 0, "print.printer_Brother_MFC-J6910DW.print_unwriteable_margin_bottom": 57, "print.printer_Brother_MFC-J6910DW.print_paper_data": 0, "print.printer_Brother_MFC-J6910DW.print_page_delay": 50, "print.printer_Brother_MFC-J6910DW.print_orientation": 0, "print.printer_Brother_MFC-J6910DW.print_paper_height": " 11.00", "print.printer_Brother_MFC-J6910DW.print_footercenter": "", "print.printer_Brother_MFC-J6910DW.print_margin_right": "0.5", "print.printer_Brother_MFC-J6910DW.print_paper_size_unit": 0, "print.printer_Brother_MFC-J6910DW.print_unwriteable_margin_right": 25, "print.printer_Brother_MFC-J6910DW.print_in_color": true, "print.printer_Brother_MFC-J6910DW.print_oddpages": true, "print.printer_Brother_MFC-J6910DW.print_evenpages": true, "print.printer_Brother_MFC-J6910DW.print_shrink_to_fit": true, "print.printer_Brother_MFC-J6910DW.print_bgcolor": false, "print.printer_Brother_MFC-J6910DW.print_unwriteable_margin_left": 25, "print.printer_Brother_MFC-J6910DW.print_to_file": false, "print.printer_Brother_MFC-J6910DW.print_headerleft": "&T", "print.printer_Brother_MFC-J6910DW.print_resolution": -437918235, "print.printer_Brother_MFC-J6910DW.print_paper_width": " 8.50", "print.printer_Brother_MFC-J6910DW.print_headercenter": "", "print.printer_Brother_MFC-J6910DW.print_edge_left": 0, "print.printer_Brother_MFC-J6910DW.print_edge_bottom": 0, "print.printer_Brother_MFC-J6910DW.print_paper_name": "", "print.printer_Brother_MFC-J6910DW.print_headerright": "&U", "print.printer_Brother_MFC-J6910DW.print_edge_top": 0, "print.printer_Brother_MFC-J6910DW.print_margin_top": "0.5", "print.printer_Brother_MFC-J6910DW.print_footerright": "&D", "print.printer_Brother_MFC-J6910DW.print_scaling": " 1.00", "print.printer_Brother_MFC-J6910DW.print_reversed": false, "print.printer_Brother_MFC-J6910DW.print_bgimages": false, "privacy.donottrackheader.enabled": true, "privacy.sanitize.migrateClearSavedPwdsOnExit": true, "security.sandbox.content.tempDirSuffix": "{b680170d-f625-0441-b277-c0fc37a8c6e1}", "security.tls.version.min": 0, "services.sync.declinedEngines": "greasemonkey", "services.sync.lastPing": 1464003680, "services.sync.lastSync": "Sun May 29 2016 11:32:33 GMT+1000 (AEST)", "services.sync.numClients": 6, "services.sync.engine.greasemonkey": true, "services.sync.engine.prefs.modified": false, "storage.vacuum.last.places.sqlite": 1463018808, "storage.vacuum.last.index": 1 }, "lockedPreferences": {}, "javaScript": { "incrementalGCEnabled": true }, "accessibility": { "isActive": false, "forceDisabled": 0 }, "libraryVersions": { "NSPR": { "minVersion": "4.12", "version": "4.12" }, "NSS": { "minVersion": "3.24 Basic ECC", "version": "3.24 Basic ECC" }, "NSSUTIL": { "minVersion": "3.24", "version": "3.24" }, "NSSSSL": { "minVersion": "3.24 Basic ECC", "version": "3.24 Basic ECC" }, "NSSSMIME": { "minVersion": "3.24 Basic ECC", "version": "3.24 Basic ECC" } }, "userJS": { "exists": false }, "crashes": { "submitted": [], "pending": 0 }, "extensions": [ { "name": "about:media", "version": "2.3", "isActive": true, "id": "aboutmedia@gavinsharp.com" }, { "name": "Firefox Hello", "version": "1.4.0", "isActive": true, "id": "loop@mozilla.org" }, { "name": "Garmin Communicator", "version": "4.1.0.1-signed.1-signed", "isActive": true, "id": "{195A3098-0BD5-4e90-AE22-BA1C540AFD1E}" }, { "name": "Greasemonkey", "version": "3.8", "isActive": true, "id": "{e4a8a97b-f2ed-450b-b12d-ee082ba24781}" }, { "name": "JavaScript Debugger", "version": "0.9.89.1-signed.1-signed", "isActive": true, "id": "{f13b157f-b174-47e7-a34d-4815ddfdfeb8}" }, { "name": "LastPass", "version": "3.3.1", "isActive": true, "id": "support@lastpass.com" }, { "name": "Live HTTP headers", "version": "0.17.1-signed.1-signed", "isActive": true, "id": "{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}" }, { "name": "Multi-process staged rollout", "version": "1.0", "isActive": true, "id": "e10srollout@mozilla.org" }, { "name": "Pocket", "version": "1.0.3b1", "isActive": true, "id": "firefox@getpocket.com" }, { "name": "Poster", "version": "3.1.0.1-signed.1-signed", "isActive": true, "id": "{d48a39ba-8f80-4fce-8ee1-bc710561c55d}" }, { "name": "SQLite Manager", "version": "0.8.3.1-signed.1-signed", "isActive": true, "id": "SQLiteManager@mrinalkant.blogspot.com" }, { "name": "User Agent Switcher", "version": "0.7.3.1-signed.1-signed", "isActive": true, "id": "{e968fc70-8f95-4ab9-9e79-304de2a71ee1}" }, { "name": "Web Compat", "version": "1.0", "isActive": true, "id": "webcompat@mozilla.org" } ], "experiments": [], "graphics": { "numTotalWindows": 4, "numAcceleratedWindows": 4, "windowLayerManagerType": "OpenGL", "windowLayerManagerRemote": true, "supportsHardwareH264": "Yes", "adapterDescription": "", "adapterVendorID": "0x8086", "adapterDeviceID": "0x162b", "adapterRAM": "", "adapterDrivers": "", "driverVersion": "", "driverDate": "", "webglRenderer": "Intel Inc. -- Intel(R) Iris(TM) Graphics 6100", "info": { "AzureCanvasBackend": "skia", "AzureCanvasAccelerated": 1, "AzureFallbackCanvasBackend": "none", "AzureContentBackend": "skia", "ApzWheelInput": 1 }, "featureLog": { "features": [ { "name": "HW_COMPOSITING", "description": "Compositing", "status": "available", "log": [ { "type": "default", "status": "available" } ] } ], "fallbacks": [] }, "crashGuards": [] } }
Flags: needinfo?(jyavenard)
Thanks, jya. Out of curiosity, if you follow your own STR, are you able to reproduce the behaviour at all?
Flags: needinfo?(jyavenard)
Actually, I can't reproduce it consistently no. I did reproduce it once more after a few run just disconnecting wifi. I should add that from time to time, moving back between tabs (already loaded ones), with network on, I do see that the same grey spinner on a blank page for a few seconds before the page is being redisplayed. Looks like when this happen and the machine is offline, you see the problem I described above. It feels that from time to time, something got optimised out, either something got suspended, memory flushed (just making wild guesses) that cause the tab not to be immediately available when being on top again.
Flags: needinfo?(jyavenard)
Alright, we'll aim to get this triaged today. Thanks for the info, jya.
I guess I need to cancel my needinfo in order for this to get into triage. Sorry.
Flags: needinfo?(wmccloskey)
Flags: needinfo?(twalker)
I've been trying to reproduce this bug for the better part of the past two hours with no success. I installed the add-ons in jya's about:support, loaded pages which are relatively hard on content process; web gl demos, treeheader pages, large ad filled pages, etc. Built Nightly in the background to consume CPU. Disconnected from the network both after selecting "File > Work Offline" and not. I can detach tabs and re-attach them. During all this, Nightly Web Content CPU will rise up and settle back down, but never goes than higher ~25%. In every attempt to reproduce this bug, I get viewable pages, never a content spinner. Jean-Yves, are you able to reproduce at all in Safe-Mode (Help > Restart with Add-ons Disabled...)? Also when you are experiencing this, what are the CPU numbers for Nightly, Nightly Web Content and any other process that appears to be consuming unusually high CPU?
Flags: needinfo?(twalker) → needinfo?(jyavenard)
Stealing jya's needinfo due to lack of response. I have seen this but when I do the content process is around the 3.5GB mark, this is with Firefox 32-bit on Windows 10. After switching to a 64-bit build about two months ago I haven't seen it since.
Flags: needinfo?(jyavenard)
Priority: -- → P2
Sorry, was on PTO for this last month. I can't reliably reproduce it. But I do still see it from time to time: when I switch to an existing, already loaded tab: a blank page with a little grey spinner appears briefly and the page reappear shortly after that. It's under those circumstances that if there's no network connection the re-displaying of the page will not complete. I'm on a Mac (so 64 bits)
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.