Closed
Bug 1431787
Opened 7 years ago
Closed 7 years ago
WebRenderAPI.cpp build bustage on Beta
Categories
(Core :: Graphics: WebRender, defect, P1)
Core
Graphics: WebRender
Tracking
()
VERIFIED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox57 | --- | unaffected |
firefox58 | --- | unaffected |
firefox59 | + | verified |
People
(Reporter: RyanVM, Assigned: kats)
References
Details
(Keywords: regression)
Attachments
(2 files)
(deleted),
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
lsalzman
:
review+
|
Details | Diff | Splinter Review |
Looks like fallout from bug 1431211.
https://treeherder.mozilla.org/logviewer.html#?job_id=157442087&repo=mozilla-beta
gfx\webrender_bindings\webrenderapi.cpp(317) : warning C4722: 'mozilla::wr::WebRenderAPI::~WebRenderAPI': destructor never returns, potential memory leak
Flags: needinfo?(bugmail)
Assignee | ||
Comment 1•7 years ago
|
||
Got r+ from lsalzman over IRC
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/a1e2c443c259
Mark wr_dec_ref_arc safe to be called by the WebRenderAPI destructor when WR is not built. r=lsalzman a=RyanVM
Assignee | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•7 years ago
|
||
This didn't do the job, because there's also a call to GetNamespace in the newly added code, which calls wr_api_get_namespace which is not marked destructor-safe. But we also can't mark it destructor-safe because the macro assumes a void return while this function does have a return value. So we need some special hackery.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 4•7 years ago
|
||
Attachment #8944058 -
Flags: review?(lsalzman)
Assignee | ||
Comment 5•7 years ago
|
||
Try push based on m-c tip: https://treeherder.mozilla.org/#/jobs?repo=try&revision=061b5650baf31fb8bc47c76b618b2437219b4f61
Try push based on beta tip: https://treeherder.mozilla.org/#/jobs?repo=try&revision=b94c3dfcf4e0929932b620bc9f366949d3c82430
(Given the extra hackery I had to add it's good to test that this builds on all platforms with and without webrender)
Assignee | ||
Comment 6•7 years ago
|
||
Try is green for linux/mac/android, and my local windows build seems to be good both with and without webrender. So this should be safe to land. Lee doesn't appear to be around at the moment so I'll land with r=me and leave the review flag up for post-review.
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/6bb6f3b25f9f
Followup to avoid the call to wr_api_get_namespace from the WebRenderAPI destructor. r=me a=RyanVM
Assignee | ||
Updated•7 years ago
|
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Attachment #8944058 -
Flags: review?(lsalzman) → review+
Fixed in 59 already, but I'll track this anyway in case the status changes.
You need to log in
before you can comment on or make changes to this bug.
Description
•