Closed Bug 1763617 Opened 2 years ago Closed 2 years ago

Crash in [@ nsDocShell::FirePageHideShowNonRecursive]

Categories

(Core :: DOM: Core & HTML, defect)

Unspecified
Windows 10
defect

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox99 --- wontfix
firefox100 --- wontfix
firefox101 --- fixed

People

(Reporter: sefeng, Assigned: smaug)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Maybe Fission related. (DOMFissionEnabled=1)

Crash report: https://crash-stats.mozilla.org/report/index/1f3442bf-de08-4a56-91a0-26aa10220219

Reason: EXCEPTION_ACCESS_VIOLATION_READ

Top 10 frames of crashing thread:

0 xul.dll nsDocShell::FirePageHideShowNonRecursive docshell/base/nsDocShell.cpp:1217
1 xul.dll std::_Func_impl_no_alloc<`lambda at /builds/worker/checkouts/gecko/docshell/base/BrowsingContext.cpp:2934:19', void, mozilla::dom::BrowsingContext*>::_Do_call 
2 xul.dll mozilla::dom::BrowsingContext::PostOrderWalk docshell/base/BrowsingContext.cpp:1116
3 xul.dll mozilla::dom::BrowsingContext::DidSet docshell/base/BrowsingContext.cpp:2934
4 xul.dll mozilla::dom::syncedcontext::Transaction<mozilla::dom::BrowsingContext>::Apply docshell/base/SyncedContextInlines.h:209
5 xul.dll mozilla::dom::syncedcontext::Transaction<mozilla::dom::BrowsingContext>::CommitFromIPC docshell/base/SyncedContextInlines.h:201
6 xul.dll mozilla::dom::PContentChild::OnMessageReceived ipc/ipdl/PContentChild.cpp:14502
7 xul.dll mozilla::ipc::MessageChannel::DispatchMessage ipc/glue/MessageChannel.cpp:1964
8 xul.dll mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal xpcom/threads/TaskController.cpp:771
9 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1195

A nullptr crash

Regression from bug 1697266? Looks like there's no null check on a GetPerformance method.

Assignee: nobody → bugs

Interestingly we have basically the same crash also in the old bfcache implementation
https://crash-stats.mozilla.org/report/index/2707bd1e-5638-49ad-9d9c-9709a0220411

Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a5503ab9c9eb
GetPerformance may return null, so null-check it before use in bfcache, r=peterv
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: