Closed Bug 1729545 Opened 1 month ago Closed 3 days ago

Sometimes back/forward navigation get stuck until page reload (F5)

Categories

(Core :: DOM: Navigation, defect, P2)

Desktop
Windows 10
defect

Tracking

()

RESOLVED INCOMPLETE
Fission Milestone MVP
Tracking Status
firefox-esr78 --- disabled
firefox-esr91 --- disabled
firefox92 --- disabled

People

(Reporter: alice0775, Assigned: smaug, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: nightly-community, Whiteboard: fission-soft-blocker)

Attachments

(2 files)

The problem appear if Fission is enabled.

Steps to reproduce:

  1. Enable Fission
  2. Open https://ftp.mozilla.org/pub/firefox/nightly/
  3. Open https://www.getginger.jp/ in the same tab
  4. Open https://ftp.mozilla.org/pub/firefox/nightly/ in the same tab
  5. Click the back button quickly and repeatedly until the first page is displayed.
    OR
    Press and hold Alt+← key until the first page is displayed.
  6. Click the forward button quickly and repeatedly until the last page is displayed.
    OR
    Press and hold Alt+→ key until the first page is displayed.
  7. Repeat step 5 and step 6

Actual Results:
Sometimes, Page is blank and back/forward navigation get stuck.
Pressing F5 will load the page and display it correctly, then subsequent back/forward clicks will work.

Expected Results:
back/forward navigation should not get stuck.

This is not a recent regression. I can reproduce the issue Nightly87.0a1 if Fission is enabled.
However, when Fission is disabled, this problem does not seem to occur.

Keywords: regression

Olli, here is another back/forward navigation that is only reproducible in Fission.

Fission Milestone: --- → ?
Flags: needinfo?(bugs)
Summary: Sometimes back/forward navigation get stuck until page reload(F5) → Sometimes back/forward navigation get stuck until page reload (F5)
Whiteboard: fission-soft-blocker
See Also: → 1728842
Duplicate of this bug: 1729532

I think I've run into basically the same bug, I also have fission enabled in Nightly.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED

Closed accidentally it seems.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Assigning to Olli.

Tracking for Fission MVP. This bug sounds pretty bad.

@ Alice0775: thanks for the excellent bug report, as always! :)

Assignee: nobody → bugs
Severity: -- → S3
Fission Milestone: ? → MVP
Priority: -- → P2

(In reply to Alice0775 White from comment #7)

Regression window where the back/forward problem is first seen:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f9eaabcf04e04f2b92ff6aa692599c2eabe92bf0&tochange=573659457e9c755806b3503803c05f45871fbab7

Alice0775, thank you for the regression window!

In that case, this bug is a regression from bug 1668577.

Regressions: 1668577

Alice or Tom, do you have more hints how to reproduce this?
Like, should I open first a new tab (so that it loads about:newtab) before loading the first page, or should I ctrl+click that link so that
first page is https://ftp.mozilla.org/pub/firefox/nightly/?

I have tried to reproduce, in both ways, but not luck yet.
And I have waited for the page to load, and I have just triggered next load asap.

Flags: needinfo?(evilpies)
Flags: needinfo?(bugs)
Flags: needinfo?(alice0775)

Sorry for the lack of information.

1st page is https://www.mozilla.org/en-US/firefox/nightly/firstrun/
2nd https://ftp.mozilla.org/pub/firefox/nightly/
3rd https://www.getginger.jp/ in the same tab
4th https://ftp.mozilla.org/pub/firefox/nightly/

Screencast: https://youtu.be/8oX96Jn_d2g
00:10 the bug appears, forward button stops working
00:22 reload
00:25 forward button is working again

Flags: needinfo?(alice0775)
Depends on: 1730977

This bug still happens to me, but I don't have a good way of reproducing it.

Flags: needinfo?(evilpies)

Can you still reproduce this?
(I can't, but even after some fixes it was difficult to reproduce.)

Flags: needinfo?(alice0775)

Yes, I can reproduce the issue in Nightly95.0a1(20211004215121) Windows10 With STR comment #0 and comment #10.
Clicking back/forward button stops responding until reload.

Flags: needinfo?(alice0775)

I've actually never managed to reproduce that issue. I've seen the blank page issue, but bug 1730977 fixed that (at least for me) and then there was another issue which bug 1725680 fixed.

But ok, thanks, I'll keep trying to reproduce this.

Depends on: 1734858

No luck reproducing, but bug 1734858 might help here

Could you try tomorrow's Nightly?

Flags: needinfo?(alice0775)

In Nightly95.0a1(20211013212517),
I can still reproduce the issue if fission is enabled.

Flags: needinfo?(alice0775)

thanks for testing. I'll keep trying out to reproduce the issue.

I've also been trying to reproduce, but haven't managed to either.

I can still reproduce the issue in latest Nightly.

However,
That so far I have only been able to reproduce the problem with the combination on this site.
No other site combinations or similar reports by other users have been found.
Also, when this problem occurs, it is easy to recover by pressing F5.

Based on these, Mark this as WONTFIX.

Status: REOPENED → RESOLVED
Closed: 1 month ago3 days ago
Resolution: --- → WONTFIX

Maybe lets mark as incomplete instead given that it's not possible to reproduce for us. We could reopen if needed.

Resolution: WONTFIX → INCOMPLETE
Attached video 4yK1ELSVC7.mp4

I can easily reproduce this bug also with these sites (and maybe more):
https://www.t-online.de/
https://us.yahoo.com/

STR:

  1. Open a new tab
  2. Load https://www.t-online.de/ in the new tab
  3. Load https://us.yahoo.com/ in the same tab
  4. Load https://www.t-online.de/ again in the same tab
  5. Press and hold Alt+→ or Alt+← to get back or forward

Maybe the video will help?

Flags: needinfo?(peterv)

(In reply to kernp25 from comment #23)

I can also reproduce this in Nightly95.0a1 windows10.

:smaug, Could you please test if you can reproduce this with str in comment #23?

Flags: needinfo?(bugs)

Still can't reproduce this.

(In reply to kernp25 from comment #23)

  1. Press and hold Alt+→ or Alt+← to get back or forward

The video seems to start after navigating in history to the first load of https://www.t-online.de/ and then goes forward one step. Is that done holding Alt+→?

Flags: needinfo?(peterv)
Attached file Log

I did manage to reproduce it once, by furiously going back and forward. Olly: here's some logging, I removed some irrelevant things from it, but still have the full log. I was going back, ended up on www.t-online.de but the page was blank.

Comment on attachment 9246811 [details]
Log

This seems part of the problem:

[Child 278575: Main Thread]: D/SessionHistory ChildSHistory::Go(-1), current index = 1
[Child 278575: Main Thread]: D/SessionHistory ChildSHistory::GotoIndex(0, -1), epoch 1
[Parent 276848: Main Thread]: D/SessionHistory HistoryGo(-1->0) epoch 1/id 44
[Parent 276848: Main Thread]: D/nsSHistory LoadEntry(0, 0x4, 0)

[Child 278575: Main Thread]: D/SessionHistory ChildSHistory::Go(-1), current index = 1
[Child 278575: Main Thread]: D/SessionHistory ChildSHistory::GotoIndex(0, -1), epoch 2

[Parent 276848: Main Thread]: D/SessionHistory HistoryGo(-1->-1) epoch 2/id 44
[Parent 276848: Main Thread]: D/nsSHistory LoadEntry(-1, 0x4, 0)
[Parent 276848: Main Thread]: D/nsSHistory Index out of range
[Parent 276848: Main Thread]: D/SessionHistory Dropping HistoryGo - bad index or same epoch (not in same doc)

(In reply to Peter Van der Beken [:peterv] from comment #26)

Is that done holding Alt+→?

Yes! You need to press and hold the keys (and not release them), until you get to the last or first history entry (or when the bug happens).

You need to log in before you can comment on or make changes to this bug.