Prevent crash reporter from getting stuck in an infinte loop#1566
Conversation
|
It looks like sometimes FxR is getting re-launched faster than the crash service can start and so the service will see the Pid of the newly created activity and gets stuck in an infinite loop waiting for the new activity to quit. This prevents it from waiting forever. |
|
@bluemarvin I've been trying to reproduce the issue but I couldn't. Could you provide STRs to repro this? |
|
@keianhzo The STR is to trigger a crash on start up where FxR gets restarted before the crash service starts watching for PIDs. You will see this in the log while FxR is running: I used this patch to capture an intermittent start up crash in GeckoView: https://crash-stats.mozilla.com/report/index/0665bd92-f30e-4f69-9026-0eb100190813 With out the patch, FxR would crash, restart and the above message would be in the log and the Crash Reporter dialog would never be shown. |
|
If there is a better solution, feel free to suggest one, but this patch unblocked me and prevents the crash reporter from running forever. |
No description provided.