Closed Bug 1403154 Opened 3 years ago Closed 3 years ago

Crash in mozilla::dom::PerformanceNavigationTiming::Type


(Core :: Networking, defect, P1)




Tracking Status
firefox-esr52 --- unaffected
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- unaffected
firefox58 --- fixed


(Reporter: marcia, Assigned: valentin)



(Keywords: crash, regression)

Crash Data


(1 file)

This bug was filed from the Socorro interface and is 
report bp-bd05a140-6cbe-4b70-aec1-ecd500170926.

Seen while looking at nightly data: Crashes occur on Mac, Linux and Android.

Crashes started using 20170926100259 on Desktop.

Possible regression range based on crash stats:

Bug 1263722 touched code on this area. ni on :valentin
Flags: needinfo?(valentin.gosu)
Assignee: nobody → valentin.gosu
Flags: needinfo?(valentin.gosu)
Priority: -- → P1
Nightly 58 x64 20170926100259 de_DE @ Debian Testing (KDE / Radeon RX480)
OS: Mac OS X → All
The navigation type is initialized here:

The type is set to RESERVED in a number of situations.

I'll remove the MOZ_CRASH for now, and file a follow-up to decide if we should change out behaviour there.
Blocks: 1263722
Comment on attachment 8912266 [details]
Bug 1403154 - Don't MOZ_CRASH in PerformanceNavigationTiming::Type if the navigation type is TYPE_RESERVED

::: dom/performance/PerformanceNavigationTiming.cpp
(Diff revision 1)
>        break;
>      case nsDOMNavigationTiming::TYPE_BACK_FORWARD:
>        return NavigationType::Back_forward;
>        break;
>      default:
> -      MOZ_CRASH(); // Should not happen

Add a comment about the type here.
Attachment #8912266 - Flags: review?(amarchesini) → review+
Pushed by
Don't MOZ_CRASH in PerformanceNavigationTiming::Type if the navigation type is TYPE_RESERVED r=baku
I have a specific recreation scenario if you are interested. It happens when you go to 

The settings for a Github project you own and then click on "Collaborators & teams"

Crashes every time.
Crash Signature: [@ mozilla::dom::PerformanceNavigationTiming::Type] → [@ mozilla::dom::PerformanceNavigationTiming::Type] [@ mozilla::dom::PerformanceNavigationTimingBinding::get_type]
Duplicate of this bug: 1403265
I had the same problem in Github. Just Google for some issue in Github, and click (will open in a new tab), then both tabs will crash.
Duplicate of this bug: 1403280
Please can we expedite this to mozilla-central and do a respin? It's actively preventing me from working at the moment, since the vast majority of GitHub pages crash.
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.