4 ms·
Firefox is relying too much on session restore to deal with bugs in their code. Firefox needs to crash less. With all the effort going into multiprocess Firefox
by Animats 10y ago
Firefox is relying too much on session restore to deal with bugs in their code. Firefox needs to crash less. With all the effort going into multiprocess Firefox, Rust, and Servo, it should be possible to have one page abort without taking down the whole browser. About half the time, session restore can't restore the page that crashed Firefox anyway.
- Manishearth 10y agoIIRC per-tab e10s already exists, just isn't enabled by default yet because it has some rough edges. The Rust part of your comment is irrelevant. There is Rust code shipping in Firefox, but nowhere near the amount needed for observable changes in behavior. Work is being done to put larger components in but nothing is shipping yet. Also, IME most crashes are asserts (in all browsers) and that's not a problem Rust fixes. If you get a segfault-based crash please report it, it could be exploitable. (report normal crashes too, really)
- Animats 10y agoIf process-per-tab is enabled, can each tab crash separately, or does the whole browser still have to go down?
- Manishearth 10y agoThey should crash separately. I'm not sure of the details.
- Manishearth 10y agoIt seems like the dom.ipc.processCount setting sets the total number of content processes to use. Note that this means that tabs will share content processes, so a crash in one tab may crash a few others. You can reduce this by ramping up the number of processes, though that can lead to bloat. No idea how stable this is right now. For me, on Dev Edition with regular multiprocess mode enabled, things work fine and I don't get crashes.
- c3833174 10y agoIt has been months since the last crash on my machine and it has definitely improved over the years (3.0 used to crash much more frequently). And even on chrome which has been multiprocess from the beginning I've had the whole browser crash after closing a "sad tab".