Move reading the memory tester preferences outside of the exception handler
Categories
(Toolkit :: Crash Reporting, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: gsvelto, Assigned: gsvelto)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
We currently setup the environment variables used by the crash reporter client memory testing machinery right before launching it. However this isn't really the right place to do it, as we're within the exception handler, so allocating memory and reading prefs is a bad idea. I guess it was put here because we can't do this on startup - as we can't read the prefs - and we didn't have the pref-reading machinery in the crash reporter client yet.
Now the easiest thing to do is to move this logic directly to the crash reporter client and never set those environment variables in the parent.
| Assignee | ||
Comment 1•27 days ago
|
||
Updated•27 days ago
|
| Assignee | ||
Comment 3•26 days ago
|
||
Yes, we're doing stuff we shouldn't do in the exception handler and this might be the cause of us missing some crashes.
Comment 4•26 days ago
|
||
OK, then please set a severity :-)
| Assignee | ||
Updated•26 days ago
|
Comment 7•10 days ago
|
||
Backed out for causing BR tests failures
Backout Link
Push with failures
Failure Log
| Assignee | ||
Comment 8•7 days ago
|
||
I'm missing the envs() method on our mock of the Command struct, let me fix that.
Updated•7 days ago
|
Comment 10•7 days ago
|
||
| bugherder | ||
Updated•6 days ago
|
Description
•