Closed
Bug 793719
Opened 11 years ago
Closed 11 years ago
D2D error on metrofx shutdown
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: jimm, Assigned: bbondy)
References
Details
(Whiteboard: [metro-it1][LOE:1][metro-mvp][completed-elm])
Attachments
(1 file)
1.91 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
For release builds, during shutdown, I always see: DXGI WARNING: Process is terminating. Using simple reporting. Please call ReportLiveObjects() at runtime for standard reporting. [ STATE_CREATION WARNING #0: ] DXGI WARNING: Live Producer at 0x00DE3728, Refcount: 5. [ STATE_CREATION WARNING #0: ] DXGI WARNING: Live Object at 0x04797908, Refcount: 4. [ STATE_CREATION WARNING #0: ] DXGI WARNING: Live Object at 0x0B24BE08, Refcount: 1. [ STATE_CREATION WARNING #0: ] DXGI WARNING: Live Object : 2 [ STATE_CREATION WARNING #0: ] In debug builds this generates an exception.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → netzen
Whiteboard: [metro-it1][LOE:1][metro-mvp]
Assignee | ||
Comment 1•11 years ago
|
||
Using dps from windbg I was able to track down the un-Released allocation to DrawTargetD2D::mFactory. This was causing an error on shutdown for both desktop and metro runs of the browser. I no longer get the error with this fix.
Attachment #684822 -
Flags: review?(bas)
Comment 2•11 years ago
|
||
Comment on attachment 684822 [details] [diff] [review] Patch v1 Review of attachment 684822 [details] [diff] [review]: ----------------------------------------------------------------- I'm glad to see this exception go away. Although it's pretty easy to ignore :). ::: gfx/2d/Factory.cpp @@ +444,5 @@ > +void > +Factory::D2DCleanup() > +{ > + if (DrawTargetD2D::factory()) { > + DrawTargetD2D::factory()->Release(); I'd be a tiny bit happier if we actual made it nullptr here so that we don't risk a use-after-free.
Attachment #684822 -
Flags: review?(bas) → review+
Assignee | ||
Comment 3•11 years ago
|
||
done http://hg.mozilla.org/integration/mozilla-inbound/rev/c0c9d5933dcd
Target Milestone: --- → mozilla20
Assignee | ||
Updated•11 years ago
|
Whiteboard: [metro-it1][LOE:1][metro-mvp] → [metro-it1][LOE:1][metro-mvp][completed-elm]
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c0c9d5933dcd
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•