Closed Bug 1691403 Opened 5 years ago Closed 1 year ago

Crash in [@ nsContentUtils::FirePageShowEventForFrameLoaderSwap]

Categories

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

Unspecified
All
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr102 --- wontfix
firefox105 --- wontfix

People

(Reporter: gsvelto, Unassigned)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/cfcee72b-e3c9-437c-8f2d-dfcef0210204

Reason: SIGSEGV /SEGV_MAPERR

Top 10 frames of crashing thread:

0 libxul.so nsContentUtils::FirePageShowEventForFrameLoaderSwap dom/base/nsContentUtils.cpp:8231
1 libxul.so mozilla::dom::BrowserChild::RecvSwappedWithOtherRemoteLoader dom/ipc/BrowserChild.cpp:2257
2 libxul.so mozilla::dom::PBrowserChild::OnMessageReceived ipc/ipdl/PBrowserChild.cpp:6783
3 libxul.so mozilla::dom::PContentChild::OnMessageReceived ipc/ipdl/PContentChild.cpp:8706
4 libxul.so mozilla::ipc::MessageChannel::DispatchMessage ipc/glue/MessageChannel.cpp:2077
5 libxul.so mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal xpcom/threads/TaskController.cpp:753
6 libxul.so nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1158
7 libxul.so mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:87
8 libxul.so MessageLoop::Run ipc/chromium/src/base/message_loop.cc:310
9 libxul.so nsBaseAppShell::Run widget/nsBaseAppShell.cpp:137

Low-volume but affects all platforms with identical stacks and crash reason. It seems to me that doc is NULL here.

Easy fix, but why is doc NULL?

This code is firing page hide and show for frame scripts, functionality that we might not even need any more.

Severity: -- → S2
Priority: -- → P2

Peter, while you're touching fire pageshow events currently, maybe you'd like to take a look at this as well? Comment 1 says this is an easy fix.

Flags: needinfo?(peterv)

(In reply to Hsin-Yi Tsai [:hsinyi] from comment #2)

Peter, while you're touching fire pageshow events currently, maybe you'd like to take a look at this as well? Comment 1 says this is an easy fix.

Next step is to look into if this functionality can be removed.

Whiteboard: [domcore-s2-revisit]

Assign to Kris to add a null check.

Assignee: nobody → kmaglione+bmo
Flags: needinfo?(peterv)

Change the severity as the volume is very low and it's not pointing to a security problem.
Kris, NI to bring this back to your radar to add a null check to fix this.

Severity: S2 → S3
Flags: needinfo?(kmaglione+bmo)

I reported an issue in openSUSE bugzilla system which I have been told it is this bug.

I have Firefox tabs crashing constantly, producing coredumps and sending automated reports to the Mozilla system, making work very difficult.
I open a Firefox tab, and it can crash anytime.

Please solve this.

The link to the openSUSE bugzilla is this:

https://bugzilla.opensuse.org/show_bug.cgi?id=1192978

Carlos, can you please share your Firefox's about:support information in this bug?

I see in the openSUSE bug report that you are running "MozillaFirefox-91.7.0". Most of the crash reports we've received in the last six months for this bug are from Firefox ESR version 91, with very few from more recent versions.

Can you update to a more recent version of Firefox? ESR 102 superseded ESR 91 in June and then Mozilla EOL'd ESR 91 in August. openSUSE should have updated their MozillaFirefox package to ESR 102 two or three months ago.

91.13.0esr (64-bit)

That's the one openSUSE Leap 15.3 has, I don't see any other in YaST/zypper.

Rpm:

MozillaFirefox-91.13.0-150200.152.56.2.x86_64

Search doesn't find any other, but package search has been broken lately. I'll have to ask.

https://software.opensuse.org/package/MozillaFirefox - download is broken

Ok, found the update in mozilla repo, but I can not apply it, too intrusive. I will have to wait till the official update.
Thanks for the information.

Minutes after I wrote the previous comment, the 102 package was available for everybody on openSUSE Leap.
And so far, I have not seen tab crashes.
Thank you! :-)

Whiteboard: [domcore-s2-revisit]
Flags: needinfo?(kmaglione+bmo)

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: kmaglione+bmo → nobody

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.