Open Bug 1889915 Opened 1 year ago Updated 3 months ago

Env var PUBLIC_STORAGE is not set in GPU process

Categories

(GeckoView :: General, defect, P2)

All
Android
defect

Tracking

(firefox124 wontfix, firefox125 wontfix, firefox126 fix-optional)

Tracking Status
firefox124 --- wontfix
firefox125 --- wontfix
firefox126 --- fix-optional

People

(Reporter: jnicol, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [fxdroid] [geckoview] )

This is used by the GPU process to choose a directory in which to save webrender captures (for debugging): https://searchfox.org/mozilla-central/rev/46dae934738073c4f51c2b628503fe3bf84f89d2/gfx/webrender_bindings/src/bindings.rs#2255

Bug 1523639 made it so that this env var is only set in the parent process, presumably as calling context.getExternalFilesDir() is not allowed in isolated processes. However, the GPU process needs this variable, and is not an isolated process. We could fix this by changing the if (!childProcess) check to a if (!isolatedProcess), if such a thing is possible.

Set release status flags based on info from the regressing bug 1523639

The severity field is not set for this bug.
:boek, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jboek)
Component: Core → General
Flags: needinfo?(jboek)

.

Severity: -- → S3
Priority: -- → P2
Whiteboard: [fxdroid] [geckoview]
You need to log in before you can comment on or make changes to this bug.