Le Tue, May 24, 2022 at 06:04:27PM -0400, George Koehler a écrit :
> Hi,
> 
> This mail is about the OpenBSD package of firefox-esr-91.9.1, on my
> amd64 with amdgpu.  Some tabs crashed.  My reproducer stopped crashing
> after I unveiled /dev/dri in the content process,

Thanks for the details bugreport, i'll have to undust the amdgpu laptop
to test, but some observations/questions first:
- does the same problem also affect firefox 100 ?
- i cant find a dev/dri call in the codepaths we use in firefox,
  there's one in linux sandboxing but we dont use it (cf
https://searchfox.org/mozilla-central/source/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp#69)
- from my understanding of the trace, iff you unveil /dev/dri then
  radeonsi_dri.so is used and the crashing codepath in swrast_dri.so
isnt used ? or in both cases swrast_dri is used, and we should rather
figure out why radeonsi_dri isnt found/used ?
- of course i have zero objections unveiling dev/dri instead of
  dev/dri/card0 if it helps webgl on amdgpu, just wondering if it should
be done only for the content process or also for the gpu process.

Landry

Reply via email to