Open
Bug 1906151
Opened 4 months ago
Updated 3 months ago
Sending SIGTERM to the profiler while writing a profile to disk results in a truncated profile file.
Categories
(Core :: Gecko Profiler, defect, P2)
Core
Gecko Profiler
Tracking
()
NEW
People
(Reporter: aabh, Unassigned)
References
Details
The SIGTERM signal should be handled "gracefully" by programs that receive it, i.e. they should not break. At present, if we send a SIGTERM to the profiler while it is writing a file to disk, the file is truncated - leading to an invalid profile file.
This was discovered while working on Bug 1883903, which initially uses SIGTERM to kill a firefox process that has timed out. As we are now trying to gather profiles when firefox times out, this SIGTERM is in fact interrupting the profiler.
Updated•3 months ago
|
Severity: -- → S3
Type: task → defect
Priority: -- → P2
You need to log in
before you can comment on or make changes to this bug.
Description
•