Closed Bug 1438219 Opened 6 years ago Closed 6 years ago

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to create remote compositor (t=44.4686) [GFX1-]: Failed to create remote compositor

Categories

(Toolkit :: Crash Reporting, defect)

x86_64
Windows 10
defect
Not set
blocker

Tracking

()

RESOLVED DUPLICATE of bug 1438209
Tracking Status
firefox60 --- affected

People

(Reporter: mayhemer, Unassigned)

References

Details

(hiding my local username pasted)
(clobbering didn't help)
This is really blocking me, is there anyone willing to take a look soon?

No idea if this is GFX or IPC generic, moving to a different component.

(Re-submitting comment 0, in case not visible to all)

debug build of up to date m-c (not clobbered for some time), win10 x64, running from inside visual studio.  started today, first observed with yesterday sources.

short after start fails on MOZ_RELEASE_ASSERT(aResult->mDestinationProcessId == base::GetCurrentProcId());

aResult->mDestinationProcessId is already dead (no process of that pid found).


### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to c:\mozilla\leaks\leaks.log
[453252, Main Thread] WARNING: CheckLinkStatus called on main thread! No check performed. Assuming link is up, status is unknown.: file c:/Mozilla/src/mozilla-central2/netwerk/system/win32/nsNotifyAddrListener.cpp, line 710
Unable to read VR Path Registry from C:\Users\XXXXXXXX\AppData\Local\openvr\openvrpaths.vrpath

###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to create remote compositor (t=44.4686) [GFX1-]: Failed to create remote compositor
[GFX2-]: Could not acquire an MLGDevice!
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to create remote compositor (t=44.4686) |[1][GFX1-]: [D3D11] failed to get compositor device. (t=44.5594) [GFX1-]: [D3D11] failed to get compositor device.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to create remote compositor (t=44.4686) |[1][GFX1-]: [D3D11] failed to get compositor device. (t=44.5594) |[2][GFX1-]: [D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE (t=44.5594) [GFX1-]: [D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE
Assertion failure: aResult->mDestinationProcessId == base::GetCurrentProcId(), at c:\_\obj\mozilla-central2\_obj-browser-debug\dist\include\mozilla/ipc/Transport_win.h:80
#01: IPC::ParamTraits<mozilla::ipc::TransportDescriptor>::Read (c:\_\obj\mozilla-central2\_obj-browser-debug\dist\include\mozilla\ipc\transport_win.h:80)
#02: IPC::ReadParam<mozilla::ipc::TransportDescriptor> (c:\mozilla\src\mozilla-central2\ipc\chromium\src\chrome\common\ipc_message_utils.h:122)
#03: IPC::ParamTraits<mozilla::ipc::Endpoint<mozilla::ipc::PBackgroundParent> >::Read (c:\_\obj\mozilla-central2\_obj-browser-debug\dist\include\mozilla\ipc\protocolutils.h:854)
#04: IPC::ReadParam<mozilla::ipc::Endpoint<mozilla::ipc::PBackgroundParent> > (c:\mozilla\src\mozilla-central2\ipc\chromium\src\chrome\common\ipc_message_utils.h:122)
#05: mozilla::dom::PContentParent::Read<mozilla::ipc::Endpoint<mozilla::ipc::PBackgroundParent> > (c:\_\obj\mozilla-central2\_obj-browser-debug\ipc\ipdl\_ipdlheaders\mozilla\dom\pcontentparent.h:2284)
#06: mozilla::dom::PContentParent::OnMessageReceived (c:\_\obj\mozilla-central2\_obj-browser-debug\ipc\ipdl\pcontentparent.cpp:3570)
#07: mozilla::ipc::MessageChannel::DispatchAsyncMessage (c:\mozilla\src\mozilla-central2\ipc\glue\messagechannel.cpp:2110)
#08: mozilla::ipc::MessageChannel::DispatchMessageW (c:\mozilla\src\mozilla-central2\ipc\glue\messagechannel.cpp:2042)
#09: mozilla::ipc::MessageChannel::RunMessage (c:\mozilla\src\mozilla-central2\ipc\glue\messagechannel.cpp:1887)
#10: mozilla::ipc::MessageChannel::MessageTask::Run (c:\mozilla\src\mozilla-central2\ipc\glue\messagechannel.cpp:1920)
#11: nsThread::ProcessNextEvent (c:\mozilla\src\mozilla-central2\xpcom\threads\nsthread.cpp:1041)
#12: NS_ProcessNextEvent (c:\mozilla\src\mozilla-central2\xpcom\threads\nsthreadutils.cpp:517)
#13: mozilla::ipc::MessagePump::Run (c:\mozilla\src\mozilla-central2\ipc\glue\messagepump.cpp:97)
#14: MessageLoop::RunInternal (c:\mozilla\src\mozilla-central2\ipc\chromium\src\base\message_loop.cc:327)
#15: MessageLoop::RunHandler (c:\mozilla\src\mozilla-central2\ipc\chromium\src\base\message_loop.cc:320)
#16: MessageLoop::Run (c:\mozilla\src\mozilla-central2\ipc\chromium\src\base\message_loop.cc:300)
#17: nsBaseAppShell::Run (c:\mozilla\src\mozilla-central2\widget\nsbaseappshell.cpp:159)
#18: nsAppShell::Run (c:\mozilla\src\mozilla-central2\widget\windows\nsappshell.cpp:344)
#19: nsAppStartup::Run (c:\mozilla\src\mozilla-central2\toolkit\components\startup\nsappstartup.cpp:288)
#20: XREMain::XRE_mainRun (c:\mozilla\src\mozilla-central2\toolkit\xre\nsapprunner.cpp:4673)
#21: XREMain::XRE_main (c:\mozilla\src\mozilla-central2\toolkit\xre\nsapprunner.cpp:4808)
#22: XRE_main (c:\mozilla\src\mozilla-central2\toolkit\xre\nsapprunner.cpp:4900)
#23: mozilla::BootstrapImpl::XRE_main (c:\mozilla\src\mozilla-central2\toolkit\xre\bootstrap.cpp:50)
#24: do_main (c:\mozilla\src\mozilla-central2\browser\app\nsbrowserapp.cpp:232)
#25: NS_internal_main (c:\mozilla\src\mozilla-central2\browser\app\nsbrowserapp.cpp:304)
#26: wmain (c:\mozilla\src\mozilla-central2\toolkit\xre\nswindowswmain.cpp:112)
#27: __scrt_common_main_seh (f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283)
#28: BaseThreadInitThunk[C:\WINDOWS\System32\KERNEL32.DLL +0x11fe4]
#29: RtlUserThreadStart[C:\WINDOWS\SYSTEM32\ntdll.dll +0x6efb1]
Component: IPC → Graphics
One more info:

MOZ_ASSERT_UNREACHABLE("Child cannot create widget compositor!"); at:

>	xul.dll!mozilla::layers::CompositorManagerParent::AllocPCompositorBridgeParent({...}) Line 231	C++	Symbols loaded.
 	xul.dll!mozilla::layers::PCompositorManagerParent::OnMessageReceived({...}) Line 157	C++	Symbols loaded.
 	xul.dll!mozilla::ipc::MessageChannel::DispatchAsyncMessage({...}) Line 2110	C++	Symbols loaded.
 	xul.dll!mozilla::ipc::MessageChannel::DispatchMessageW({...}) Line 2042	C++	Symbols loaded.
 	xul.dll!mozilla::ipc::MessageChannel::RunMessage({...}) Line 1887	C++	Symbols loaded.
 	xul.dll!mozilla::ipc::MessageChannel::MessageTask::Run() Line 1920	C++	Symbols loaded.
 	xul.dll!MessageLoop::RunTask({...}) Line 453	C++	Symbols loaded.
 	xul.dll!MessageLoop::DeferOrRunPendingTask({...}) Line 463	C++	Symbols loaded.
 	xul.dll!MessageLoop::DoWork() Line 535	C++	Symbols loaded.
 	xul.dll!base::MessagePumpForUI::DoRunLoop() Line 210	C++	Symbols loaded.
 	xul.dll!base::MessagePumpWin::RunWithDispatcher(0x0000009ea7fff760, 0x0000000000000000) Line 58	C++	Symbols loaded.
 	xul.dll!base::MessagePumpWin::Run(0x0000009ea7fff760) Line 80	C++	Symbols loaded.
 	xul.dll!MessageLoop::RunInternal() Line 327	C++	Symbols loaded.
 	xul.dll!MessageLoop::RunHandler() Line 320	C++	Symbols loaded.
 	xul.dll!MessageLoop::Run() Line 300	C++	Symbols loaded.
 	xul.dll!base::Thread::ThreadMain() Line 184	C++	Symbols loaded.

On the "Compositor" thread, assuming the compositor process.

And this happens also when I run this outside a debugger (directly).
Alex, can you please look at this?  I bisected to your bug.  Thanks.  This is a total development blocker for me!
Blocks: 1407693
Component: Graphics → Crash Reporting
Flags: needinfo?(agaynor)
Product: Core → Toolkit
I'm pretty sure this is the same as bug 1438209 -- can you try with the patch there?
Flags: needinfo?(agaynor)
Confirmed, thanks!
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.