Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Bug] New and existing tabs never load, only displaying a blank screen #17507

Closed
Ruin0x11 opened this issue Jan 18, 2021 · 22 comments
Closed

[Bug] New and existing tabs never load, only displaying a blank screen #17507

Ruin0x11 opened this issue Jan 18, 2021 · 22 comments
Labels
🐞 bug Crashes, Something isn't working, .. Feature:Browsing Issues related to browsing experience, browser navigation, not web issues Feature:Tabs needs:gv GeckoView bug required to fix the issue. See bugzilla.mozilla.org S2 Major Functionality/product severely impaired and a satisfactory workaround doesn't exist 🙅 waiting Issues that are blocked or has dependencies that are not ready wontfix

Comments

@Ruin0x11
Copy link

Ruin0x11 commented Jan 18, 2021

Steps to reproduce

  1. Open Firefox.
  2. Open a new tab and navigate to a website.

Expected behavior

The page starts loading with the progress bar at the bottom updating.

Actual behavior

Nothing happens and the page is stuck at a black screen. The progress indicator at the bottom never appears. Pulling to refresh causes the refresh indicator to be stuck forever. I waited five minutes and the page still did not load. This means I can't browse any pages with Firefox. This also occurs with the tabs from the last browsing session and on startup.

Screenshot_20210117-230410_Firefox_Nightly

Device information

  • Android device: OnePlus 7
  • Fenix version: Nightly 210116

┆Issue is synchronized with this Jira Task

@Ruin0x11 Ruin0x11 added the 🐞 bug Crashes, Something isn't working, .. label Jan 18, 2021
@github-actions github-actions bot added the needs:triage Issue needs triage label Jan 18, 2021
@lobontiumira
Copy link

I've reproduced this issue opening an article from wikipedia.org, on Beta 85.0.0-beta.9 with Sony Xperia Z5 Premium (Android 7.1.1).

@lobontiumira lobontiumira added Feature:Browsing Issues related to browsing experience, browser navigation, not web issues Feature:Tabs S2 Major Functionality/product severely impaired and a satisfactory workaround doesn't exist and removed needs:triage Issue needs triage labels Jan 18, 2021
@csadilek
Copy link
Contributor

csadilek commented Jan 18, 2021

@softvision-miralobontiu I can't reproduce this here. Would you mind attaching logs? That should help narrow this down.

/cc @agi This behaviour looks exactly what we had in https://bugzilla.mozilla.org/show_bug.cgi?id=1641715 (app responsive but page load not finishing) which is fixed in 86, but shouldn't affect 85 anyway. Any ideas?

@lobontiumira
Copy link

Christian, I was not able to reproduce the issue today. I'll investigate more and leave a logcat, if I encounter it again.
Thanks!

@Ruin0x11
Copy link
Author

I think this is a dupe of #16259

@mcarare mcarare self-assigned this Jan 20, 2021
@mcarare
Copy link
Contributor

mcarare commented Jan 22, 2021

@Ruin0x11 Does this still happen on the latest Nightly (210121)?

@Ruin0x11
Copy link
Author

I have this log from 210119:

Log

[01-22 05:25:22.599 32455:32615 W/FirefoxAccountStateMachine]
Got invalid event 'mozilla.components.service.fxa.manager.Event$Account$Start@95fa49b' for state Idle(accountState=Authenticated).

[01-22 05:25:22.631 32455:479 I/libglean_ffi]
glean_core::upload: New upload task with id 7f7bba46-026b-4b15-9ec0-3fb3697612ad (path: /submit/org-mozilla-fenix/baseline/1/7f7bba46-026b-4b15-9ec0-3fb3697612ad)

[01-22 05:25:22.631 32455:32491 I/FirefoxAccount]
Executing: get access token

[01-22 05:25:22.645 32455:32455 I/WebExtension]
releasePendingMessages: extension=fxa@mozac.org nativeApp=mozacWebchannel session=org.mozilla.geckoview.GeckoSession@c979a4b

[01-22 05:25:22.688 32455:32491 I/FirefoxAccount]
Successfully executed: get access token

[01-22 05:25:22.692 32455:32491 I/FirefoxAccount]
Executing: getTokenServerEndpointURL

[01-22 05:25:22.692 32455:32491 I/FirefoxAccount]
Successfully executed: getTokenServerEndpointURL

[01-22 05:25:22.741 32455:479 I/libglean_ffi]
glean_core::upload: Ping 7f7bba46-026b-4b15-9ec0-3fb3697612ad successfully sent 200.

[01-22 05:25:22.741 32455:479 I/libglean_ffi]
glean_core::upload::directory: File was deleted /data/user/0/org.mozilla.fenix/glean_data/pending_pings/7f7bba46-026b-4b15-9ec0-3fb3697612ad

[01-22 05:25:22.741 32455:479 I/libglean_ffi]
glean_core::upload: No more pings to upload! You are done.

[01-22 05:25:22.742 32455:32488 I/WM-WorkerWrapper]
Worker result SUCCESS for Work [ id=a66281a1-c700-496c-a292-878feefa7e33, tags={ mozilla.telemetry.glean.scheduler.PingUploadWorker, mozac_service_glean_ping_upload_worker } ]

[01-22 05:25:26.644 32455:32615 W/FirefoxAccountStateMachine]
Got invalid event 'mozilla.components.service.fxa.manager.Event$Account$Start@95fa49b' for state Idle(accountState=Authenticated).

[01-22 05:25:26.648 32455:32491 I/FirefoxAccount]
Executing: get access token

[01-22 05:25:26.689 32455:32491 I/FirefoxAccount]
Successfully executed: get access token

[01-22 05:25:26.692 32455:32491 I/FirefoxAccount]
Executing: getTokenServerEndpointURL

[01-22 05:25:26.692 32455:32491 I/FirefoxAccount]
Successfully executed: getTokenServerEndpointURL

[01-22 05:25:27.077 32455:32455 I/GeckoSession]
handleMessage GeckoView:PageStart uri=

[01-22 05:25:27.238 32455:32455 I/GeckoSession]
handleMessage GeckoView:PageStop uri=null

[01-22 05:25:27.291 32455:32465 I/g.mozilla.feni]
Background concurrent copying GC freed 565168(18MB) AllocSpace objects, 44(9MB) LOS objects, 24% free, 73MB/97MB, paused 94us total 108.477ms

[01-22 05:25:27.713 32455:32487 I/WM-WorkerWrapper]
Worker result SUCCESS for Work [ id=b82ebdd5-2558-430f-9566-5df5cc5ef850, tags={ mozilla.components.service.fxa.sync.WorkManagerSyncWorker, Debounce, Common } ]

[01-22 05:25:52.565 32455:32614 I/SessionStorage/AutoSave]
Save: Periodic

[01-22 05:25:54.935 32455:32615 W/FirefoxAccountStateMachine]
Got invalid event 'mozilla.components.service.fxa.manager.Event$Account$Start@95fa49b' for state Idle(accountState=Authenticated).

[01-22 05:25:54.939 32455:32499 I/FirefoxAccount]
Executing: get access token

[01-22 05:25:54.978 32455:32499 I/FirefoxAccount]
Successfully executed: get access token

[01-22 05:25:54.979 32455:32499 I/FirefoxAccount]
Executing: getTokenServerEndpointURL

[01-22 05:25:54.979 32455:32499 I/FirefoxAccount]
Successfully executed: getTokenServerEndpointURL

[01-22 05:25:57.867 32455:32470 I/g.mozilla.feni]
Waiting for a blocking GC ProfileSaver

[01-22 05:25:58.400 32455:32455 I/GeckoSession]
handleMessage GeckoView:PageStart uri=

[01-22 05:25:58.583 32455:32455 I/GeckoSession]
handleMessage GeckoView:PageStop uri=null

[01-22 05:26:00.014 32455:32488 I/WM-WorkerWrapper]
Worker result SUCCESS for Work [ id=db106cc0-2173-4bdd-9ad1-2302b776f0ac, tags={ mozilla.components.service.fxa.sync.WorkManagerSyncWorker, Debounce, Common } ]

[01-22 05:26:02.478 32455:32615 W/FirefoxAccountStateMachine]
Got invalid event 'mozilla.components.service.fxa.manager.Event$Account$Start@95fa49b' for state Idle(accountState=Authenticated).

[01-22 05:26:02.483 32455:32490 I/FirefoxAccount]
Executing: get access token

[01-22 05:26:02.534 32455:32490 I/FirefoxAccount]
Successfully executed: get access token

[01-22 05:26:02.535 32455:32490 I/FirefoxAccount]
Executing: getTokenServerEndpointURL

[01-22 05:26:02.535 32455:32490 I/FirefoxAccount]
Successfully executed: getTokenServerEndpointURL

[01-22 05:26:02.727 32455:32455 I/GeckoSession]
handleMessage GeckoView:PageStart uri=

[01-22 05:26:02.848 32455:32455 I/GeckoSession]
handleMessage GeckoView:PageStop uri=null

[01-22 05:26:07.572 32455:32485 I/WM-WorkerWrapper]
Worker result SUCCESS for Work [ id=41e3f428-b9d2-44d4-aeb7-409137209f63, tags={ mozilla.components.service.fxa.sync.WorkManagerSyncWorker, Debounce, Common } ]

[01-22 05:26:09.587 32455:32615 W/FirefoxAccountStateMachine]
Got invalid event 'mozilla.components.service.fxa.manager.Event$Account$Start@95fa49b' for state Idle(accountState=Authenticated).

[01-22 05:26:09.591 32455:32491 I/FirefoxAccount]
Executing: get access token

[01-22 05:26:09.641 32455:32491 I/FirefoxAccount]
Successfully executed: get access token

[01-22 05:26:09.641 32455:32491 I/FirefoxAccount]
Executing: getTokenServerEndpointURL

[01-22 05:26:09.642 32455:32491 I/FirefoxAccount]
Successfully executed: getTokenServerEndpointURL

[01-22 05:26:09.836 32455:32455 I/GeckoSession]
handleMessage GeckoView:PageStart uri=

[01-22 05:26:09.943 32455:32455 I/GeckoSession]
handleMessage GeckoView:PageStop uri=null

[01-22 05:26:14.673 32455:32482 I/WM-WorkerWrapper]
Worker result SUCCESS for Work [ id=4e2bed0e-1de3-4257-8527-3b158e838404, tags={ mozilla.components.service.fxa.sync.WorkManagerSyncWorker, Debounce, Common } ]

[01-22 05:26:22.565 32455:32614 I/SessionStorage/AutoSave]
Save: Periodic

[01-22 05:26:52.565 32455:32614 I/SessionStorage/AutoSave]
Save: Periodic

[01-22 05:26:52.580 32455:32615 W/FirefoxAccountStateMachine]
Got invalid event 'mozilla.components.service.fxa.manager.Event$Account$Start@95fa49b' for state Idle(accountState=Authenticated).

[01-22 05:26:52.581 32455:32491 I/FirefoxAccount]
Executing: get access token

[01-22 05:26:52.622 32455:32491 I/FirefoxAccount]
Successfully executed: get access token

[01-22 05:26:52.623 32455:32491 I/FirefoxAccount]
Executing: getTokenServerEndpointURL

[01-22 05:26:52.623 32455:32491 I/FirefoxAccount]
Successfully executed: getTokenServerEndpointURL

[01-22 05:26:53.558 32455:32455 I/GeckoSession]
handleMessage GeckoView:PageStart uri=

[01-22 05:26:53.725 32455:32455 I/GeckoSession]
handleMessage GeckoView:PageStop uri=null

[01-22 05:26:57.649 32455:32482 I/WM-WorkerWrapper]
Worker result SUCCESS for Work [ id=db2bfba1-4b8e-4c4d-b9b4-14ee32fab6d7, tags={ mozilla.components.service.fxa.sync.WorkManagerSyncWorker, Debounce, Common } ]

[01-22 05:27:04.089 32455:32615 W/FirefoxAccountStateMachine]
Got invalid event 'mozilla.components.service.fxa.manager.Event$Account$Start@95fa49b' for state Idle(accountState=Authenticated).

[01-22 05:27:04.093 32455:32523 I/FirefoxAccount]
Executing: get access token

[01-22 05:27:04.158 32455:32523 I/FirefoxAccount]
Successfully executed: get access token

[01-22 05:27:04.159 32455:32523 I/FirefoxAccount]
Executing: getTokenServerEndpointURL

[01-22 05:27:04.160 32455:32523 I/FirefoxAccount]
Successfully executed: getTokenServerEndpointURL

[01-22 05:27:09.196 32455:32487 I/WM-WorkerWrapper]
Worker result SUCCESS for Work [ id=8fdd4a9e-a2ba-4698-9156-24fa26c07cf7, tags={ mozilla.components.service.fxa.sync.WorkManagerSyncWorker, Debounce, Common } ]

[01-22 05:27:12.393 32455:32615 W/FirefoxAccountStateMachine]
Got invalid event 'mozilla.components.service.fxa.manager.Event$Account$Start@95fa49b' for state Idle(accountState=Authenticated).

[01-22 05:27:12.395 32455:32490 I/FirefoxAccount]
Executing: get access token

[01-22 05:27:12.439 32455:32490 I/FirefoxAccount]
Successfully executed: get access token

[01-22 05:27:12.440 32455:32490 I/FirefoxAccount]
Executing: getTokenServerEndpointURL

[01-22 05:27:12.441 32455:32490 I/FirefoxAccount]
Successfully executed: getTokenServerEndpointURL

[01-22 05:27:14.302 32455:32615 W/FirefoxAccountStateMachine]
Got invalid event 'mozilla.components.service.fxa.manager.Event$Account$Start@95fa49b' for state Idle(accountState=Authenticated).

[01-22 05:27:14.305 32455:32490 I/FirefoxAccount]
Executing: get access token

[01-22 05:27:14.365 32455:32490 I/FirefoxAccount]
Successfully executed: get access token

[01-22 05:27:14.366 32455:32490 I/FirefoxAccount]
Executing: getTokenServerEndpointURL

[01-22 05:27:14.366 32455:32490 I/FirefoxAccount]
Successfully executed: getTokenServerEndpointURL

[01-22 05:27:17.458 32455:32487 I/WM-WorkerWrapper]
Worker result SUCCESS for Work [ id=27bbf965-189d-4ec3-aa89-1e2c77ecde5f, tags={ mozilla.components.service.fxa.sync.WorkManagerSyncWorker, Debounce, Common } ]

[01-22 05:27:21.559 32455:32480 I/libglean_ffi]
glean_core::ping: Collecting startup-timeline

[01-22 05:27:21.559 32455:32455 I/SessionStorage/AutoSave]
Save: Background

[01-22 05:27:21.565 32455:32480 I/libglean_ffi]
glean_core::ping: Storage for startup-timeline empty. Bailing out.

[01-22 05:27:21.565 32455:32480 I/libglean_ffi]
glean_core: No content for ping 'startup-timeline', therefore no ping queued.

[01-22 05:27:21.572 32455:32480 I/libglean_ffi]
glean_core::ping: Collecting baseline

[01-22 05:27:21.576 32455:32455 I/WebAuthnFeature]
Feature stopped.

[01-22 05:27:21.585 32455:32480 I/libglean_ffi]
glean_core::upload::directory: Processing ping at: /data/user/0/org.mozilla.fenix/glean_data/pending_pings/8dac355a-8a5b-46fb-ae98-494091fe3262

[01-22 05:27:21.585 32455:32480 I/libglean_ffi]
glean_core: The ping 'baseline' was submitted and will be sent as soon as possible

[01-22 05:27:21.586 32455:32480 I/libglean_ffi]
glean_core::ping: Collecting events

[01-22 05:27:21.597 32455:32480 I/libglean_ffi]
glean_core::upload::directory: Processing ping at: /data/user/0/org.mozilla.fenix/glean_data/pending_pings/abd5b425-c0c9-40c8-9f67-227b0081cdc4

[01-22 05:27:21.598 32455:32480 I/libglean_ffi]
glean_core: The ping 'events' was submitted and will be sent as soon as possible

[01-22 05:27:21.609 32455:32455 I/FenixApplication]
onTrimMemory(), level=80, main=true

[01-22 05:27:21.627 32455:32494 I/TrimMemoryMiddleware]
Trim memory (tabs=1899, suspending=0)

[01-22 05:27:21.636 32455:553 I/libglean_ffi]
glean_core::upload: New upload task with id 8dac355a-8a5b-46fb-ae98-494091fe3262 (path: /submit/org-mozilla-fenix/baseline/1/8dac355a-8a5b-46fb-ae98-494091fe3262)

[01-22 05:27:21.965 32455:553 I/libglean_ffi]
glean_core::upload: Ping 8dac355a-8a5b-46fb-ae98-494091fe3262 successfully sent 200.

[01-22 05:27:21.966 32455:553 I/libglean_ffi]
glean_core::upload::directory: File was deleted /data/user/0/org.mozilla.fenix/glean_data/pending_pings/8dac355a-8a5b-46fb-ae98-494091fe3262

[01-22 05:27:21.968 32455:553 I/libglean_ffi]
glean_core::upload: New upload task with id abd5b425-c0c9-40c8-9f67-227b0081cdc4 (path: /submit/org-mozilla-fenix/events/1/abd5b425-c0c9-40c8-9f67-227b0081cdc4)

[01-22 05:27:22.109 32455:553 I/libglean_ffi]
glean_core::upload: Ping abd5b425-c0c9-40c8-9f67-227b0081cdc4 successfully sent 200.

[01-22 05:27:22.109 32455:553 I/libglean_ffi]
glean_core::upload::directory: File was deleted /data/user/0/org.mozilla.fenix/glean_data/pending_pings/abd5b425-c0c9-40c8-9f67-227b0081cdc4

[01-22 05:27:22.111 32455:553 I/libglean_ffi]
glean_core::upload: No more pings to upload! You are done.

[01-22 05:27:22.113 32455:32488 I/WM-WorkerWrapper]
Worker result SUCCESS for Work [ id=1df850d6-2138-42fd-8381-f505e031a1c3, tags={ mozilla.telemetry.glean.scheduler.PingUploadWorker, mozac_service_glean_ping_upload_worker } ]

[01-22 05:27:22.506 32455:32455 I/FenixApplication]
onTrimMemory(), level=80, main=true

[01-22 05:27:22.517 32455:32494 I/TrimMemoryMiddleware]
Trim memory (tabs=1899, suspending=0)

[01-22 05:27:48.320 32455:32455 I/FenixApplication]
onTrimMemory(), level=80, main=true

[01-22 05:27:48.335 32455:32494 I/TrimMemoryMiddleware]
Trim memory (tabs=1899, suspending=0)

[01-22 05:28:54.130 32455:32455 I/FenixApplication]
onTrimMemory(), level=80, main=true

[01-22 05:28:54.161 32455:32494 I/TrimMemoryMiddleware]
Trim memory (tabs=1899, suspending=0)

@mcarare
Copy link
Contributor

mcarare commented Jan 26, 2021

@Ruin0x11 As far as I can see there is no hint in the log you provided. Can you please check the latest Nighty to see if you can reproduce the issue?

@mcarare mcarare added the eng:qa:needed QA Needed label Feb 1, 2021
@mcarare
Copy link
Contributor

mcarare commented Feb 1, 2021

For QA: Please try to reproduce this issue on Nightly. If it does not reproduce please close this. Thank you!

@GottemHams
Copy link

Just dropping a couple of cents here:

I always check some tech sites during lunch breaks at work, I usually open like 10 tabs every time but sometimes I don't get through them all. Then the next day I want to resume from the last article I've read and Firefox will sometimes briefly show a loading bar but it will quickly disappear and the page won't actually load. If I refresh (up to) a couple of times by tapping the address bar so it goes into typing mode, followed by simply hitting enter it will usually start loading again. Using the actual refresh button doesn't seem to help.

Much less often (at least for me) the exact same thing happens for new tabs.

I had updated Firefox to the latest stable version just yesterday, so unfortunately I don't know if it applies to the nightly build, but I think it's recent enough that the problem should still be there in nightly. I do know this happened over multiple stable versions, however.

@ebalazs-sv
Copy link

For QA: Please try to reproduce this issue on Nightly. If it does not reproduce please close this. Thank you!

I tested this issue on the latest Nightly 2/3 with Samsung Galaxy Tab S3 (Android 8) and was not able to reproduce it.
Also, softvision-miralobontiu confirmed today, that this issue was not reproducible anymore on the latest builds.

I will close this issue for now and if we encounter it, this will be reopened together with the logs.

@ebalazs-sv ebalazs-sv removed the eng:qa:needed QA Needed label Feb 3, 2021
@lobontiumira
Copy link

lobontiumira commented Feb 3, 2021

I will re-open this issue, since I've just encountered it on the aliexpres.com page trying to choose a product category.
Also on pinterest.com
Environment: 2/3 Nightly build, Samsung Galaxy Note 8 (Android 9) device

logcat.txt

@lobontiumira lobontiumira reopened this Feb 3, 2021
@mcarare mcarare removed their assignment Feb 3, 2021
@kglazko kglazko self-assigned this Feb 3, 2021
@Mikaka27
Copy link

Mikaka27 commented Feb 26, 2021

Hi, user here. I saw similar thing when no website can be loaded. If some website is loaded I cannot interact with it.

I didn't managed to catch it with a performance profile yet.
However when it happened before I ran a "top" command in terminal emulator and saw that main process of fenix was using 100% cpu (meaning one thread was stuck with something). It was the "main" process not the "content" process.

When testing on fennec f-droid (where I get about:config), I found it to only happen when "webrender" is disabled. Maybe it's related to that, but I'm not sure. I'll try to catch it with a performance profile when it happens.

@lobontiumira
Copy link

lobontiumira commented Apr 13, 2021

I reproduced this issue on the 4/13 Nightly on aliexpress.com, and on pinterest.com with Samsung Galaxy Note 8 (Android 9).

@gabrielluong
Copy link
Member

Clearing assignee since I don't believe this is being worked on.

@mcarare
Copy link
Contributor

mcarare commented Apr 26, 2021

@lobontiumira Is this still reproducing? I tried on a Huawei P10 with Android 9 and it works as expected on both aliexpress and pintrest. Thank you!

@mcarare mcarare added the eng:qa:needed QA Needed label Apr 26, 2021
@lobontiumira
Copy link

Hi, Mihai!
Yes, I was able to reproduce it again on the Samsung Galaxy Note 8 (Android 9) device on 4/26 Nightly build, on both aliexpress.com, and pinterest.com. Only if the user long-taps the "refresh" button from the menu, the page seems to load, but not all of them. Please see the short video below:

aliexpress.mp4

@lobontiumira lobontiumira removed the eng:qa:needed QA Needed label Apr 26, 2021
@mcarare
Copy link
Contributor

mcarare commented Apr 27, 2021

QA also tested this on Gecko View Example and the issue also reproduces there. So this might be a Geckoview issue related or not to the web content of those pages.

@mcarare mcarare added the needs:gv GeckoView bug required to fix the issue. See bugzilla.mozilla.org label Apr 27, 2021
@mcarare
Copy link
Contributor

mcarare commented Apr 27, 2021

Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1707871

Change performed by the Move to Bugzilla add-on.

@mcarare mcarare closed this as completed Apr 27, 2021
@mcarare
Copy link
Contributor

mcarare commented Apr 27, 2021

Reopened for tracking fixes.

@mcarare mcarare reopened this Apr 27, 2021
@jonalmeida jonalmeida added the 🙅 waiting Issues that are blocked or has dependencies that are not ready label Jun 16, 2021
@amedyne
Copy link
Contributor

amedyne commented Jul 19, 2021

Removing from Kanban board until we hear from the bugzilla dependency.

@stale
Copy link

stale bot commented Jan 16, 2022

See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 16, 2022
@stale stale bot closed this as completed Jan 23, 2022
@stuaxo
Copy link

stuaxo commented Oct 20, 2022

This is happening to me now, can this be reopened ?

It always used to happen once the amount of open tabs hit some amount but now I can't get any tabs to show anything but black.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Crashes, Something isn't working, .. Feature:Browsing Issues related to browsing experience, browser navigation, not web issues Feature:Tabs needs:gv GeckoView bug required to fix the issue. See bugzilla.mozilla.org S2 Major Functionality/product severely impaired and a satisfactory workaround doesn't exist 🙅 waiting Issues that are blocked or has dependencies that are not ready wontfix
Projects
None yet
Development

No branches or pull requests