Open Bug 1688585 Opened 9 months ago Updated 3 months ago

Crash in [@ mozilla::dom::(anonymous namespace)::PromiseNativeHandlerShim::RejectedCallback]

Categories

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

Unspecified
All
defect

Tracking

()

People

(Reporter: gsvelto, Unassigned, NeedInfo)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/2ae0cb7c-4831-49c9-9ce2-811210210123

Reason: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS

Top 10 frames of crashing thread:

0 XUL mozilla::dom:: dom/promise/Promise.cpp:391
1 XUL mozilla::dom::NativeHandlerCallback dom/promise/Promise.cpp:341
2 XUL js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:594
3 XUL js::Call js/src/vm/Interpreter.cpp:664
4 XUL PromiseReactionJob js/src/builtin/Promise.cpp:1904
5 XUL js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:594
6 XUL JS::Call js/src/jsapi.cpp:2861
7 XUL mozilla::dom::PromiseJobCallback::Call dom/bindings/PromiseBinding.cpp:31
8 XUL mozilla::PromiseJobRunnable::Run xpcom/base/CycleCollectedJSContext.cpp:211
9 XUL mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint xpcom/base/CycleCollectedJSContext.cpp:644

I found this during nightly crash triage but it's not a recent regression given the first version with significant volume is release 84. The crash is caused by a NULL pointer access and it's happening on shutdown - at least two user comments mention this happening when they tried to quit Firefox. I can't tell from the stack what's the affected component unfortunately.

I think DOM is a reasonable starting component for a crash involving DOM promises.

Component: General → DOM: Core & HTML

It seems that the crash reports are coming after landing of bug 1679094.

djg: Could you take a look?

Flags: needinfo?(dan.glastonbury)

A recent crash report shows potentially interesting mac_crash_info:

bp-170a9dba-d442-4564-b8fc-ef7b30210718

    {
      "num_records": 1,
      "records": [
        {
          "message": "Performing @selector(menuItemHit:) from sender NSMenuItem 0x12b0957b0",
          "module": "/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit"
        }
      ]
    }

This is consistent with the crash having been triggered by pressing Cmd-Q or choosing Quit Firefox from the menu.

You need to log in before you can comment on or make changes to this bug.