Firefox said "restart required" when I tried to load a file:// link
Categories
(Toolkit :: Application Update, defect)
Tracking
()
People
(Reporter: botond, Unassigned)
References
Details
Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Reporter | ||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Reporter | ||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 10•7 years ago
|
||
Reporter | ||
Comment 11•6 years ago
•
|
||
I have started to see this more often, and not just with file:// URLs.
I am finding it sufficiently annoying (especially in combination with bug 1536150), that I'm seriously considering switching from dogfooding the Nightly channel to a more stable one like Beta, or alternately disabling automatic updates on the Nightly channel.
I'm concerned that I'm not the only one who feels like this, and that we may be driving users away from the Nightly channel as a result of this behaviour.
Comment 12•4 years ago
|
||
I use firefox with multiple profiles. I have literally 100s of browser windows in different profiles, normally running for weeks and months.
This behaviour is so annoying that I consider switch to other browsers. Can someone please explain why I can not
run different versions of firefox in different profiles ? What communication happens between different profiles that
requires the different firefox instances to run the same code ?
Comment 13•4 years ago
|
||
Does the startup-flag --new-instance avoid this problem ?
Comment 14•4 years ago
|
||
(In reply to Kurt Jaeger from comment #12)
Can someone please explain why I can not run different versions of firefox in different profiles ?
Yes, I can explain. Normally, Firefox downloads and prepares updates while it is running. When it restarts, it detects the pending update very early in startup and, instead of completing startup, starts the update process. After the updater runs, Firefox is restarted.
If you run Firefox normally (i.e. with a single profile) when an instance of Firefox is already running, it simply connects to that instance and tells it to open the specified link or new window. This does not invoke the updater.
But, if you start a new instance of Firefox with another profile, it will go through the usual startup process. This includes installing any pending update. When already-running instances of Firefox try to start a new process (they will need to do this from time to time), they will discover that the process that they start is not the same version as the process that is running. This results in the "Restart Required" page being shown.
For some time now, I've been trying to investigate solutions to this problem. So far, the potential solutions that I have found require substantially more developer-hours than are available for this project.
We have also considered preventing Firefox from updating if there is another instance of Firefox still running. But there are two problems. The first has to do with malware. Malware often attacks web browsers for various reasons. To prevent the browser from "fighting back", it often seeks to prevent the browser from updating. We really don't want malware to be able to prevent us from updating by pretending to be a running Firefox instance.
The second problem has to do with the fact that we often release important security updates. The longer that users avoid installing these updates, the more likely it is that they will be exposed to malicious code that can exploit old browsers. Even if you only navigate to sites that you trust, malware sometimes finds its way into trusted systems, especially through advertisements. If we prevent updates when another profile is running and the user always runs multiple profiles, then we are sort of stuck in a situation where we can never install potentially important updates.
Does the startup-flag --new-instance avoid this problem ?
No, I don't believe there is a startup flag that will solve this problem for you.
I'm sorry that I don't have better news for you about this. If you would like to watch our progress as we work on this bug, I would recommend following Bug 1480452.
Description
•