Closed Bug 1683776 Opened 3 years ago Closed 5 months ago

Assertion failure: mLastContentProcessedEvent <= mLastAPZProcessedEvent, at FocusState.cpp:38

Categories

(Core :: Panning and Zooming, defect, P3)

defect

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: hiro, Assigned: ajakobi)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I do quite often see this assertion while I am trying to do something with extension's popup window such as bug 1683612. But I haven't found reliable STRs yet.

See Also: → 1635512, 1659439
See Also: → 1708137

I caught it in rr and uploaded a trace to pernosco. I'll post the pernosco link here when I get it.

Pernosco link: https://pernos.co/debug/vvw1wCg80bm-silqlnSeQA/index.html

(this was when testing a Temporary Add-On with just a toolbar button that opens a popup, similar to Hiro in comment 0. I don't recall what had precisely happened when I hit the assertion here, but I was mostly just clicking around to open/dismiss the popup notification.)

In my pernosco session, mLastContentProcessedEvent is 2274 whereas mLastAPZProcessedEvent is 2226 (so, a difference of 48, with the "wrong one" being larger from the perspective of the assertion).

See Also: → 1793867
Assignee: nobody → ajakobi
Status: NEW → ASSIGNED

A couple of pointers for working on this:

  • We have a few other bugs listed in the "See Also" field which are about this same assertion. Some of these bugs, such as bug 1659439, have steps to reproduce the assertion.
  • Bug 1760618 comment 14 has what looks like a potential diagnosis for this bug; at least it should provide a starting point for a place in the code to dig around.

I can reproduce the issue using the steps described in Bug 1659439 comment 0 with macOS 13.5.2.

Attachment #9359087 - Attachment description: Bug 1683776 - Copy processed event counts when adopting child tab from other window. r?dlrobertson,botond,hiro → Bug 1683776 - Reset focus state when adopting child tab from other window. r?dlrobertson,botond,hiro
Pushed by bballo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3c4183506834
Reset focus state when adopting child tab from other window. r=botond
Regressions: 1867732
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
No longer regressions: 1867732
See Also: → 1885427
Blocks: 1891165
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: