Closed Bug 1682329 Opened 2 years ago Closed 2 years ago

Crash in [@ mozilla::gfx::CrossProcessPaint::QueueDependencies]


(Core :: Graphics, defect)

Firefox 85
Windows 10



87 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox85 --- disabled
firefox86 --- disabled
firefox87 --- fixed


(Reporter: emilghitta, Assigned: mattwoodrow)


(Blocks 1 open bug)


(Keywords: crash, regressionwindow-wanted)

Crash Data


(1 file)

Maybe Fission related. (DOMFissionEnabled=1)

Crash report:


Top 10 frames of crashing thread:

0 xul.dll mozilla::gfx::CrossProcessPaint::QueueDependencies gfx/ipc/CrossProcessPaint.cpp:374
1 xul.dll static mozilla::gfx::CrossProcessPaint::Start gfx/ipc/CrossProcessPaint.cpp:308
2 xul.dll mozilla::layout::RemotePrintJobParent::RecvProcessPage layout/printing/ipc/RemotePrintJobParent.cpp:130
3 xul.dll mozilla::layout::PRemotePrintJobParent::OnMessageReceived ipc/ipdl/PRemotePrintJobParent.cpp:301
4 xul.dll mozilla::dom::PContentParent::OnMessageReceived ipc/ipdl/PContentParent.cpp:6710
5 xul.dll mozilla::ipc::MessageChannel::DispatchMessage ipc/glue/MessageChannel.cpp:2077
6 xul.dll mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal xpcom/threads/TaskController.cpp:739
7 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1200
8 xul.dll mozilla::ipc::MessagePump::Run ipc/glue/MessagePump.cpp:109
9 xul.dll MessageLoop::RunHandler ipc/chromium/src/base/

Affected Versions

  • Firefox 85.0a1 (BuildId:20201214091023)

Affected Platforms

  • Windows 10 64bit.

Unaffected Platforms

  • macOS 10.13
  • Ubuntu 20.04


  • Have the following prefs enabled: gfx.webrender.all & fission.autostart

Steps to reproduce

  1. Launch Firefox
  2. Access the following link
  3. Hit CTRL + P in order to open the print preview.
  4. Select the "Save to PDF destination" (I don't think if the destination is relevant. I have managed to reproduce this with OneNote for Windows 10 as well).
  5. Click "Save" or "Print".
  6. Click on "Cancel" while the "Printing..." progress is displayed.

Expected results

  • The print job is canceled successfully and Firefox is stable.

Actual result

  • Firefox crashes.

Regression Range

  • This seems to be a regression. I'll search for this asap.

Additional Notes

  • [Suggested Severity] S2


This seems to occur only on my main browser profile (tried to reproduce this crash with fresh profiles but failed to do so) Anca just managed to reproduce this issue on a fresh profile. It seem that All print destinations are affected.

  • This is reproducible with both gfx.webrender.all enabled or disabled
  • This is reproducible only with fission.autostart enabled

about:support info (available only with mozilla accounts).

QA Whiteboard: [qa-regression-triage]

Core|Graphics seems like a better fit, given the crash location (gfx/ipc/CrossProcessPaint.cpp). --> reclassifying

The crash address is 0x1a8 (a value near null), for this line

    RefPtr<dom::WindowGlobalParent> wgp =

It looks like there's a null-deref happening here, so maybe browser might be null, or maybe browser->GetBrowsingContext() is null.

mattwoodrow, maybe you could take a look? (searchfox blame shows that you did some refactoring in the neighborhood in bug 1662336 a couple months back.)

Component: Layout → Graphics
Flags: needinfo?(matt.woodrow)
Blocks: gfx-triage
Severity: -- → S2
No longer blocks: gfx-triage
Assignee: nobody → matt.woodrow
Flags: needinfo?(matt.woodrow)
Pushed by
Null check BrowserParent since it can have gone away mid-screenshot. r=emilio
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch

Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.

Calling this disabled for 86 based on comment 1 (fission only crash)

Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.