Closed Bug 1707059 Opened 3 years ago Closed 3 years ago

JSOutOfMemory Crash in [@ nsGlobalWindowOuter::PrepareForProcessChange]

Categories

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

Unspecified
Windows 10
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox88 --- affected
firefox89 --- affected
firefox90 --- affected

People

(Reporter: sefeng, Unassigned)

References

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/e718b122-39db-4974-98bf-6efeb0210124

MOZ_CRASH Reason: MOZ_CRASH(PrepareForProcessChange GetRemoteOuterWindowProxy)

Top 10 frames of crashing thread:

0 xul.dll static nsGlobalWindowOuter::PrepareForProcessChange dom/base/nsGlobalWindowOuter.cpp:2541
1 xul.dll nsDocShell::Destroy docshell/base/nsDocShell.cpp:4484
2 xul.dll nsWebBrowser::SetDocShell toolkit/components/browser/nsWebBrowser.cpp:1130
3 xul.dll nsWebBrowser::Destroy toolkit/components/browser/nsWebBrowser.cpp:854
4 xul.dll mozilla::dom::BrowserChild::DestroyWindow dom/ipc/BrowserChild.cpp:900
5 xul.dll mozilla::dom::BrowserChild::RecvDestroy dom/ipc/BrowserChild.cpp:2442
6 xul.dll mozilla::dom::PBrowserChild::OnMessageReceived ipc/ipdl/PBrowserChild.cpp:6488
7 xul.dll mozilla::dom::PContentChild::OnMessageReceived ipc/ipdl/PContentChild.cpp:8554
8 xul.dll mozilla::ipc::MessageChannel::DispatchMessage ipc/glue/MessageChannel.cpp:2074
9 xul.dll mozilla::ipc::MessageChannel::MessageTask::Run ipc/glue/MessageChannel.cpp:1953

mccr8, you added the assertion. Does this ring any bells?

Component: DOM: Core & HTML → DOM: Navigation
Flags: needinfo?(continuation)

I don't really remember this code, but it looks like we'll hit this assertion if RemoteObjectProxyBase::GetOrCreateProxyObject() fails to create anything. My guess would be that this is a sign of an OOM.

Flags: needinfo?(continuation)

This is an unrecoverable JS API failure. Comment 0's crash report has a JSOutOfMemory: Reported annotation.

Severity: -- → S2
Status: NEW → RESOLVED
Fission Milestone: --- → ?
Closed: 3 years ago
Priority: -- → P5
Resolution: --- → WONTFIX
See Also: → 1645865
Summary: Crash in [@ nsGlobalWindowOuter::PrepareForProcessChange] → JSOutOfMemory Crash in [@ nsGlobalWindowOuter::PrepareForProcessChange]
Fission Milestone: ? → ---
You need to log in before you can comment on or make changes to this bug.