Closed Bug 1248753 Opened 9 years ago Closed 8 years ago

Make sure that crashing several times at startup triggers safe mode

Categories

(Toolkit :: Startup and Profile System, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: billm, Unassigned)

Details

Bug 1248130 looks like it might be a case where frequent startup crashes don't trigger safe mode. We should try to figure out how that might happen.
IMHO there are advantages and inconvenients to forcing Safe Mode on startup after several consecutive crashes.
Severity: normal → enhancement
Component: Add-ons Manager → Startup and Profile System
OS: Unspecified → All
Hardware: Unspecified → All
Version: unspecified → Trunk
Abe can you arrange some targeted testing of startup crash behavior here? You may be able to use the utility at https://ftp.mozilla.org/pub/utilities/crashfirefox-intentionally/ to simulate startup crashes. This will support crash metrics and behavior for ddurst's team.
Flags: needinfo?(amasresha)
Crashed Firefox using the utility(from comment 2)on Windows-10. After multiple startup crashes(do not know exactly the number), startup with 'Safe Mode' option becomes available. How many startup crashes we should get before we are prompted to a safe mode startup? Does this need to be tested in other Windows OSes (Win7,8.1,XP) too ? Mac and Linux ? Thanks
Flags: needinfo?(amasresha) → needinfo?(benjamin)
I don't think there's a canonical specification, but this was originally implemented in bug 294260 so you can check there. This should be retested on all the desktop OSes, but I don't know that testing on every windows version is necessary.
Flags: needinfo?(benjamin)
I have tested this on windows 7,8.1 and 10 with 32 bits of latest Nightly, with and without addons. Mostly, every fourth startup crash prompts a safe mode startup. Is there any similar tool that can be used to simulate startup crash in Linux and Mac? Do we have other startup crasher for 64 bits of Firefox (if this need to be tested as well)? The current (from comment 2) crashes only 32 bits of Firefox.
You can send kill signals on Linux/Mac. Also you can make the process "stop" without a real crash on windows using the task manager.
Completed testing on Windows, Mac and Linux with the latest nightly. After few crashes, "Start in Safe Mode" option is available for all of the tests. It also passed tests for two additional locales (en-GB and de). All the test details is available here: https://public.etherpad-mozilla.org/p/1248753
Thanks.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.