SWGL crash when using debug draws
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: bpeers, Assigned: bpeers)
Details
Attachments
(1 file)
Enable gfx.webrender.debug.picture-caching
in a WR build, then switch to gfx.webrender.software
results in a crash.
The crash is due to a number of places where we use p.impl
after asserting it's not null, but this assert is not firing in release.
Short term fix is to at least not crash in the case of an unsupported shader.
Assignee | ||
Comment 1•5 years ago
|
||
Guard against nullptr access of missing p.impl.
Also change LinkStatus so is_initialized is no longer true and calling
code can early out if bind_program fails.
Comment 3•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 4•5 years ago
|
||
I tried to reproduce this issue using a Windows 10 machine (old nightly build from 2020.06.26) which has webrender enabled by default but after enabling gfx.webrender.debug.picture-caching
then creating gfx.webrender.software
I did not get any crashes. Is there a particular build I must use in order to reproduce? I saw some webrender entries in treeherder but no webrender specific build. Also do you think this is worth testing by manual QA?
I'm requesting needinfo from you since the account of the original reporter is disabled.
Comment 6•5 years ago
|
||
(In reply to Lee Salzman [:lsalzman] from comment #5)
This does not really require QA testing.
Thanks for your answer, dropping qe-verify+ in this case.
Description
•