Open Bug 1885000 Opened 6 months ago Updated 4 months ago

Find non-failing alternatives if a download directory doesn't exist when stopping the profiler with a signal

Categories

(Core :: Gecko Profiler, defect, P2)

defect

Tracking

()

People

(Reporter: aabh, Assigned: aabh)

References

Details

(Whiteboard: [fxp])

Stopping the profiler with a signal causes firefox to write a profile file to disk in the user's download directory. Because of the way in which we need to find this directory, we have to do so well in advance of the signal handling code. Because of this, the directory may have moved (and thus our new path would be wrong), or we may have never been able to get it in the first place!

Each of these possibilities will result in the profiler failing to write a profile to disk. We need to find a non-failing alternative that writes regardless, or at least, avoids as many edge cases as possible.

Severity: -- → S3
Type: task → defect
Priority: -- → P1
Whiteboard: [fxp]
You need to log in before you can comment on or make changes to this bug.