Closed Bug 1154703 Opened 10 years ago Closed 9 years ago

startup crash in mozilla::layers::CompositorD3D11::Initialize() with nvdxgiwrap

Categories

(Core :: Graphics: Layers, defect)

x86
Windows NT
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox37 --- unaffected
firefox38 + verified
firefox38.0.5 + fixed
firefox39 + fixed
firefox40 + fixed
firefox41 --- fixed
firefox-esr38 38+ verified
relnote-firefox --- 38+

People

(Reporter: kairo, Assigned: jrmuizel)

Details

(Keywords: crash, Whiteboard: [gfx-noted])

Crash Data

Attachments

(2 files)

[Tracking Requested - why for this release]: This bug was filed from the Socorro interface and is report bp-e1b21510-7d02-4166-a5db-856232150415. ============================================================= Stack: 0 xul.dll mozilla::layers::CompositorD3D11::Initialize() gfx/layers/d3d11/CompositorD3D11.cpp 1 xul.dll mozilla::layers::CompositorParent::InitializeLayerManager(nsTArray<mozilla::layers::LayersBackend> const&) gfx/layers/ipc/CompositorParent.cpp 2 xul.dll mozilla::layers::CompositorParent::AllocPLayerTransactionParent(nsTArray<mozilla::layers::LayersBackend> const&, unsigned __int64 const&, mozilla::layers::TextureFactoryIdentifier*, bool*) gfx/layers/ipc/CompositorParent.cpp GFX Adapters: 0x8086 0x0046 846 84.685 % Intel Corporation 3150 Intel Media Accelerator 3150 144 14.414 % Intel Corporation Intel G33 Intel(R) G33 chipset GMA3100 video Driver 4 0.400 % [and a few others with single hits] This startup crash isn't there in any significant volume in 37 but is present visibly in 38 beta. We should solve it before it hits us on release.
I'm seeing a few intel gfx driver crashes in this triage period. Is this something you're aware of in the TO office?
Flags: needinfo?(milan)
Whiteboard: [gfx-noted]
Potential important issue with the 37 release, tracking
All of these are dual GPU Intel+Nvidia, and only Win7 and Win7SP1. This started on Aurora in 20150403004008, which was the day that the typo fix for bug 1137716 landed there. From a quick spot-check, all of the AdapterDriverVersion2 appear to be within the blocklist range. So did the blocklisting just move the crash to a different place?
Flags: needinfo?(jmuizelaar)
38 crashes on the machine that I have of this character. 37 does not.
Flags: needinfo?(jmuizelaar)
Jeff, any idea how we could progress on this? Thanks
Flags: needinfo?(jmuizelaar)
I'll debug it tomorrow.
Flags: needinfo?(jmuizelaar)
So dxgiFactory is NULL probably because the nvidia driver is screwing with things.
I think this is probably caused by bug 1147728. We should probably invest in WARP blacklisting. In this case we can probably block WARP if nvdxgi wrap is loaded.
(In reply to Bas Schouten (:bas.schouten) from comment #9) > Try: > https://ftp-ssl.mozilla.org/pub/mozilla.org/firefox/try-builds/ > bschouten@mozilla.com-e445cf5edb66 This build still crashes
Summary: startup crash in mozilla::layers::CompositorD3D11::Initialize() → startup crash in mozilla::layers::CompositorD3D11::Initialize() with nvdxgiwrap
Assignee: nobody → jmuizelaar
Flags: needinfo?(milan)
(In reply to Jeff Muizelaar [:jrmuizel] from comment #10) > (In reply to Bas Schouten (:bas.schouten) from comment #9) > > Try: > > https://ftp-ssl.mozilla.org/pub/mozilla.org/firefox/try-builds/ > > bschouten@mozilla.com-e445cf5edb66 > > This build still crashes Can you take the patch and look at where this particular build crashes? I'm curious.
Flags: needinfo?(jmuizelaar)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Jeff, please fill the uplift request. Thanks!
Attached patch 546210eeaf4a (deleted) — Splinter Review
Approval Request Comment [Feature/regressing bug #]: bug 1147728 [User impact if declined]: Startup crash [Describe test coverage new/current, TreeHerder]: None [Risks and why]: Small patch, low risk. Should cause us to the same path as we do on 37
Flags: needinfo?(jmuizelaar)
Attachment #8598724 - Flags: approval-mozilla-beta?
Attachment #8598724 - Flags: approval-mozilla-aurora?
Comment on attachment 8598724 [details] [diff] [review] 546210eeaf4a [Triage Comment] Should be in 38 beta 9
Attachment #8598724 - Flags: approval-mozilla-release+
Attachment #8598724 - Flags: approval-mozilla-beta?
Attachment #8598724 - Flags: approval-mozilla-aurora?
Attachment #8598724 - Flags: approval-mozilla-aurora+
Hrm, 38.0b9 should have this patch, but it still crashes with this signature. :(
In early 38.0 release data this crash is huge volume (more than 3x OOM|small). ni? to Lawrence as a heads up. (In reply to Pulsebot from comment #12) > https://hg.mozilla.org/integration/mozilla-inbound/rev/546210eeaf4a The file to block should be nvdxgiwrap.dll, not nvdxgiwrapper.dll.
Status: RESOLVED → REOPENED
Flags: needinfo?(lmandel)
Resolution: FIXED → ---
Attached patch Typo fix (deleted) — Splinter Review
Attachment #8604939 - Flags: review?(jmuizelaar)
Attachment #8604939 - Flags: review?(bas)
Attachment #8604939 - Flags: review?(jmuizelaar) → review+
[Tracking Requested - why for this release]: We should track this for all current releases (not nominating for 41, as it hopefully is fixed once inbound merges to central). dmajor, can you please request uplift to all channels, aurora/beta/release?
Target Milestone: mozilla40 → ---
[Tracking Requested - why for this release]: Ah, probably ESR as well.
Comment on attachment 8604939 [details] [diff] [review] Typo fix I should point out that I am not an expert on this code. I'm just stepping in to fix the typo. I think it's reasonable to expect this fix to work, but we don't have any firsthand experience on how the affected machines will react to it. I do agree that we should get this merged though, because it can't really make things any worse. Approval Request Comment [Feature/regressing bug #]: bug 1147728 [User impact if declined]: Persistent startup crash [Describe test coverage new/current, TreeHerder]: none [Risks and why]: see above [String/UUID change made/needed]: none
Attachment #8604939 - Flags: approval-mozilla-release?
Attachment #8604939 - Flags: approval-mozilla-esr38?
Attachment #8604939 - Flags: approval-mozilla-beta?
Attachment #8604939 - Flags: approval-mozilla-aurora?
I'm agree with what David said in comment 26 but would still much prefer to verify the fix before building 38.0.1 to do our best to ensure that we don't end up in the same position after another release Jeff, as per comment 10, you have a machine that crashes due to this bug. Can you reproduce the bug with Firefox 38? If so, can you try to apply the patch and ensure that this fix is good before we proceed to build 38.0.1?
Flags: needinfo?(lmandel) → needinfo?(jmuizelaar)
I can reproduce the bug with FF38. I tried this build: https://hg.mozilla.org/integration/mozilla-inbound/rev/0dc1b8aadb57 and it did not crash.
Flags: needinfo?(jmuizelaar)
Comment on attachment 8604939 [details] [diff] [review] Typo fix One review should be enough; there is no nvdxgiwrapper.dll, it should have been nvdxgiwrap.dll all along.
Attachment #8604939 - Flags: review?(bas)
Status: REOPENED → RESOLVED
Closed: 10 years ago9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Comment on attachment 8604939 [details] [diff] [review] Typo fix Correction to dll name. Simple change. So much damage. Approved for landing across the board. Note that release is both 38.0.5 and 38.0. The 38.0 change will need to land on a relbranch.
Attachment #8604939 - Flags: approval-mozilla-release?
Attachment #8604939 - Flags: approval-mozilla-release+
Attachment #8604939 - Flags: approval-mozilla-esr38?
Attachment #8604939 - Flags: approval-mozilla-esr38+
Attachment #8604939 - Flags: approval-mozilla-beta?
Attachment #8604939 - Flags: approval-mozilla-beta+
Attachment #8604939 - Flags: approval-mozilla-aurora?
Attachment #8604939 - Flags: approval-mozilla-aurora+
Release Note Request (optional, but appreciated) [Why is this notable]: Fixed a startup crash [Suggested wording]: Fixed: Systems with first generation NVidia Optimus graphics cards may crash on start-up [Links (documentation, blog post, etc)]:
Flags: needinfo?(jmuizelaar)
Both of those builds work.
Flags: needinfo?(jmuizelaar)
The latest nvidia drivers 352.86, which were released today, mention having fixed a start-up crash in Firefox on Optimus systems. Not sure if it is referring to this bug, but I just wanted to throw it out there. http://us.download.nvidia.com/Windows/352.86/352.86-win8-win7-winvista-desktop-release-notes.pdf
That's a good tip Trevor, we'll check if this fixes it without our patch, and we can then perhaps narrow the blocklisting.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: