Closed
Bug 1467008
Opened 6 years ago
Closed 5 years ago
Firefox crash with WebRender enabled with specific mozconfig build on Windows
Categories
(Core :: Graphics: WebRender, defect, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: sotaro, Unassigned)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file)
8.23 KB,
text/plain
|
Details |
When I built Firefox with latest m-c with the following mozconfig, Firefox crashed soon after startup.
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
ac_add_options --enable-profiling
The crash always happened at DisplayListBuilder::pop_clip_id(). The crash hit assert!(!self.clip_stack.is_empty()).
https://dxr.mozilla.org/mozilla-central/source/gfx/webrender_api/src/display_list.rs#1499
But if I built with the following mozconfig, Firefox did not crash.
ac_add_options --enable-release
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
ac_add_options --enable-profiling
Reporter | ||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
I checked with visual studio debugger. When mBuilder->PopStackingContext(mReferenceFrameId.isSome()) was called with mReferenceFrameId.isSome() false, rust side pub extern "C" fn wr_dp_pop_stacking_context(state: &mut WrState, is_reference_frame: bool) handled is_reference_frame as true.
From it, the problem seems to be related to a compiler problem.
Reporter | ||
Comment 4•6 years ago
|
||
The crash seems to be triggered by Bug 1465058.
Reporter | ||
Updated•6 years ago
|
Summary: Firefox crash with WebRender enabled with specific config build on Windows → Firefox crash with WebRender enabled with specific mozconfig build on Windows
Comment 5•6 years ago
|
||
Interesting. We can make PopStackingContext a little more convoluted to try and work around the compiler bug.
Blocks: 1465058
Updated•6 years ago
|
Priority: -- → P3
Comment 6•6 years ago
|
||
same issue as https://bugzilla.mozilla.org/show_bug.cgi?id=1471497#c9 ?
Blocks: stage-wr-backlog
Whiteboard: [gfx-noted]
Comment 7•5 years ago
|
||
Pretty sure it was the same issue, fixed now.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•