Closed Bug 1905253 Opened 2 years ago Closed 2 years ago

Startup crash in [@ mozilla::AppWindow::MoveResize]

Categories

(Core :: XUL, defect)

Other
Windows
defect

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr128 --- fixed
firefox128 --- fixed
firefox129 --- fixed
firefox130 --- fixed

People

(Reporter: release-mgmt-account-bot, Assigned: emilio)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Crash report: https://crash-stats.mozilla.org/report/index/74b99984-9ce9-4604-a952-c6b840240621

Reason: EXCEPTION_ACCESS_VIOLATION_READ

Top 10 frames of crashing thread:

0  xul.dll  mozilla::AppWindow::MoveResize  xpfe/appshell/AppWindow.cpp:677
1  xul.dll  mozilla::AppWindow::SetSize  xpfe/appshell/AppWindow.cpp:618
1  xul.dll  mozilla::AppWindow::SetSpecifiedSize  xpfe/appshell/AppWindow.cpp:1307
2  xul.dll  mozilla::AppWindow::SizeShell  xpfe/appshell/AppWindow.cpp:2501
3  xul.dll  mozilla::AppWindow::OnChromeLoaded  xpfe/appshell/AppWindow.cpp:1088
3  xul.dll  mozilla::AppWindow::OnStateChange  xpfe/appshell/AppWindow.cpp:3064
4  xul.dll  nsDocLoader::DoFireOnStateChange  uriloader/base/nsDocLoader.cpp:1356
5  xul.dll  nsDocLoader::doStopDocumentLoad  uriloader/base/nsDocLoader.cpp:973
6  xul.dll  nsDocLoader::DocLoaderIsEmpty  uriloader/base/nsDocLoader.cpp:784
7  xul.dll  nsDocLoader::OnStopRequest  uriloader/base/nsDocLoader.cpp:667

By querying Nightly crashes reported within the last 2 months, here are some insights about the signature:

  • First crash report: 2024-05-02
  • Process type: Multiple distinct types
  • Is startup crash: Yes - 6 out of 7 crashes happened during startup
  • Has user comments: No
  • Is null crash: Yes - 6 out of 7 crashes happened on null or near null memory address

I'm unsure if this belongs to Layout component. If not, help with figuring out the appropriate one is much appreciated. :)

Component: General → Layout

The severity field is not set for this bug.
:jwatt, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jwatt)

Much like the method we forward to.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Component: Layout → XUL
Flags: needinfo?(jwatt)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/21edc465b7ce Add a null-check in AppWindow::MoveResize. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox129 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9412803 [details]
Bug 1905253 - Add a null-check in AppWindow::MoveResize. r=smaug

Beta/Release Uplift Approval Request

  • User impact if declined: rare startup crash
  • Is this code covered by automated tests?: Unknown
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Null-check
  • String changes made/needed: none
  • Is Android affected?: Unknown
Flags: needinfo?(emilio)
Attachment #9412803 - Flags: approval-mozilla-beta?

Comment on attachment 9412803 [details]
Bug 1905253 - Add a null-check in AppWindow::MoveResize. r=smaug

Approved for 129.0b6

Attachment #9412803 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Please nominate this for Release approval.

Flags: needinfo?(emilio)

Comment on attachment 9412803 [details]
Bug 1905253 - Add a null-check in AppWindow::MoveResize. r=smaug

Beta/Release Uplift Approval Request

  • User impact if declined: Startup crash
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Null check
  • String changes made/needed:
  • Is Android affected?: Unknown
Flags: needinfo?(emilio)
Attachment #9412803 - Flags: approval-mozilla-release?

Comment on attachment 9412803 [details]
Bug 1905253 - Add a null-check in AppWindow::MoveResize. r=smaug

Approved for 128.0.2 and 128.1esr.

Attachment #9412803 - Flags: approval-mozilla-release?
Attachment #9412803 - Flags: approval-mozilla-release+
Attachment #9412803 - Flags: approval-mozilla-esr128+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: