WebRender crashes on aarch64 because of calling convention mismatch
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Tracking
()
People
(Reporter: jrmuizel, Unassigned)
References
(Blocks 4 open bugs)
Details
(Whiteboard: [geckoview:fenix:p3])
Crash Data
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Comment 4•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Comment 13•6 years ago
|
||
Adding geckoview to whiteboard so we can triage priority for GV.
Comment 14•6 years ago
|
||
David says crash affects ARM64 Android, too. GV hits this crash on Android Reference Browser startup.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 16•6 years ago
|
||
Try build with rustc nightly and simd disabled to work around bug 1521249: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&revision=9b14e291eeb3160219795a5e3aa830664ff91467
Comment 17•6 years ago
|
||
(In reply to David Major [:dmajor] from comment #16)
Try build with rustc nightly and simd disabled to work around bug 1521249: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&revision=9b14e291eeb3160219795a5e3aa830664ff91467
It works, for some value of work. I /sometimes/ get a white screen at startup, but /sometimes/ not, and in that case, I have a mostly usable browser. about:support says the compositor is webrender. When I'm in this situation, something that systematically leads to failure is to about the "About Nightly" dialog, which shows a white window for it and freezes the main window too.
Comment 18•6 years ago
|
||
Oh, but if I wait long enough, the dialog content finally shows up and the main window unfreezes. And while it's all frozen, one of the processes slowly starts consuming more and more memory.
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 19•6 years ago
|
||
What's the plan for having our actual builds use a rustc that has this bug?
Comment 20•6 years ago
|
||
Can we potentially uplift the Rust fix to rust beta, and then temporarily use beta for the Nightly 67 cycle?
Reporter | ||
Comment 21•6 years ago
|
||
Or just do ARM builds with rust nightly?
Comment 22•6 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #21)
Or just do ARM builds with rust nightly?
But then we have to deal with bug 1521249, right? It seems like we would ideally extend our runway on that and contract the runway for the aarch issue. In general, building with rust nightly dicier than beta, so I'd like to avoid it if we can.
I agree that we could do the compiler override on ARM64 only.
Comment 23•6 years ago
|
||
At the moment, there's probably no path forward. Using nightly rust is blocked by bug 1521249, and the rust fix in its current form, is unlikely to be uplifted to beta, because upstream is still figuring out details.
Reporter | ||
Comment 24•6 years ago
|
||
Reopening until we can actually do builds with a fixed rustc.
Comment 25•6 years ago
|
||
As a potential workaround we could just not pass sizes / rects by value, right?
Comment 26•6 years ago
|
||
Indeed. The problem is with passing those types by value. Passing them by ref should cause no problem.
Comment 27•6 years ago
|
||
Rust 1.33 was released today, which means that the nightly fix should now be in beta.
Perhaps it makes more sense now to use rust beta for the 67 cycle?
Would make it possible to test webrender in reference-browser on modern hardware
Comment 28•6 years ago
|
||
I think once bug 1521249 lands, we could do use rust beta specifically for aarch64 builds.
Updated•6 years ago
|
Comment 29•6 years ago
|
||
(In reply to Bobby Holley (:bholley) from comment #28)
I think once bug 1521249 lands, we could do use rust beta specifically for aarch64 builds.
68 Nightly is now using Rust 1.34 beta on Windows (bug 1533010).
These WebRender crashes also affected Android aarch64. Will we need to use Rust Beta on Android, too?
Reporter | ||
Comment 30•6 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #29)
(In reply to Bobby Holley (:bholley) from comment #28)
I think once bug 1521249 lands, we could do use rust beta specifically for aarch64 builds.
68 Nightly is now using Rust 1.34 beta on Windows (bug 1533010).
These WebRender crashes also affected Android aarch64. Will we need to use Rust Beta on Android, too?
1.34 comes out on the 11th. WebRender should be more usable on Android by then so I think we can wait for until at least the 11th.
Reporter | ||
Comment 31•6 years ago
|
||
This is solved now.
Description
•