user/firefox-esr seccomp is blocking membarrier
Bugzilla ID | 261 |
Reporter | Max Rees (sroracle) |
Assignee | Max Rees (sroracle) |
Reported | 2020-04-15 19:19:48 -0500 |
Modified | 2020-05-19 22:33:41 -0500 |
Status | RESOLVED FIXED |
Version | 1.0-RC1 |
Hardware | Adélie Linux / Intel x86 (64-bit) |
Importance | --- / normal |
See also | https://bts.adelielinux.org/show_bug.cgi?id=262 |
Description
When loading any WebGL content in Firefox on x86_64, the tab instantly crashes. This is a regression between 18.3.6-r0 (BETA4) and 19.3.4-r0 (RC1) - downgrading all mesa subpackages to 18.3.6-r0 (and xf86-video-intel to its respective BETA4 version) causes the issue to go away.
I don't know how to debug a low level problem like this in Firefox. Since the tab immediately crashes and we don't ship Firefox with any of the crashpad/breakpad things, I'm not sure if there even is a way to debug it.
Based on the demo at [1], I think the crash happens as soon as the WebGL context is created:
var gl = canvas.getContext("webgl")
|| canvas.getContext("experimental-webgl");
This means that even trying to detect WebGL will crash the tab.
"Workaround" is to set webgl.disabled = true in about:config.
[1] https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/By_example/Detect_WebGL