EFForg / https-everywhere

A browser extension that encrypts your communications with many websites that offer HTTPS but still allow unencrypted connections.
https://eff.org/https-everywhere
Other
3.37k stars 1.09k forks source link

HE causing Firefox to die immediately on Firefox startup #5772

Closed dmadsen closed 7 years ago

dmadsen commented 8 years ago

I don't have too much specific information and would welcome debugging suggestions for the following problem.

I've used HE for a long time and it's worked well for me. All of a sudden, it started causing Firefox 47.0.1 to die immediately upon Firefox startup with resultant Firefox crash message. Each time, Firefox crashed upon restart. After a few times, Firefox offered to start in safe mode, which worked OK -- all tabs restored, etc, except that extensions were prevented from running. I then manually disabled all extensions and restarted, enabling a few at a time and restarting to see if an extension caused the problem. Since I'm posting this here, you know the results :-).

To verify it wasn't some compatibility issue between extensions (it shouldn't be, the browser environment has been unchanged for a while), I then disabled everything except HE. Still caused failure, indicating that running HE causes the issue.

Since this isn't a widespread issue ("install HE and your browser dies"), I'm guessing that something changed in my Firefox installation/profile, but I don't know what -- and I haven't changed anything (famous last words, but it's true, I swear).

Hainish commented 8 years ago

@dmadsen strange.. perhaps it has to do with the tabs you have open? Maybe one of them is triggering a rule that causes the HE crash?

dmadsen commented 8 years ago

That's an idea that I didn't think of... I don't want to close those tabs or do a reset, because these tabs have state that I don't want to lose. Do you have any suggestions on how to chase this possibility?

What happened was that it was working and then the next time I started the machine and opened Firefox, it didn't work.

On Sat, Jul 23, 2016 at 3:57 PM, William Budington <notifications@github.com

wrote:

@dmadsen https://github.com/dmadsen strange.. perhaps it has to do with the tabs you have open? Maybe one of them is triggering a rule that causes the HE crash?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-234742760, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQ8yOqheDCyi6PbnTb088xKOTkWUAKmks5qYo4ygaJpZM4JTPrK .

Hainish commented 8 years ago

What platform are you on? On Linux (and this may work on OSX), you could copy your ~/.mozilla directory to ~/.mozilla-backup, then test with various tab configurations, and when your done remove ~/.mozilla and move ~/.mozilla-backup to ~/.mozilla ...

On Sat, 23 Jul 2016 15:30:33 -0700, dmadsen wrote:

That's an idea that I didn't think of... I don't want to close those tabs or do a reset, because these tabs have state that I don't want to lose. Do you have any suggestions on how to chase this possibility?

What happened was that it was working and then the next time I started the machine and opened Firefox, it didn't work.

On Sat, Jul 23, 2016 at 3:57 PM, William Budington <notifications@github.com

wrote:

@dmadsen https://github.com/dmadsen strange.. perhaps it has to do with the tabs you have open? Maybe one of them is triggering a rule that causes the HE crash?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-234742760, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQ8yOqheDCyi6PbnTb088xKOTkWUAKmks5qYo4ygaJpZM4JTPrK .


You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-234744394

dmadsen commented 8 years ago

Unfortunately, Windows. So you're suggesting then that I backup the profile, fool around with it, and then restore it? I'm willing to do that, but I need to know that I can restore everything back. Are there any other places that Firefox makes changes on Windows that I'd need to care about -- registry, other places in App Data, etc, etc? It's been a few years since I checked last on how to back up a Firefox profile; do you have a favorite tool these days?

Do you think that looking at History might help? As I mentioned, it was stable until I opened it up one day. Perhaps the latest couple tabs would be the ones most likely to have caused a problem if it is one of the tabs.

Do you have any other guesses as to what it could be? When Firefox dies, does it write out anything (semi-)intelligible to a log somewhere that maybe I can look at? Something like "the whatchamacallit is broken which is a fatal error"?

How often are the rulesets in HE updated? If it is within a relatively recent timeframe, that might be something, too, no?

On Sat, Jul 23, 2016 at 4:36 PM, William Budington <notifications@github.com

wrote:

What platform are you on? On Linux (and this may work on OSX), you could copy your ~/.mozilla directory to ~/.mozilla-backup, then test with various tab configurations, and when your done remove ~/.mozilla and move ~/.mozilla-backup to ~/.mozilla ...

On Sat, 23 Jul 2016 15:30:33 -0700, dmadsen wrote:

That's an idea that I didn't think of... I don't want to close those tabs or do a reset, because these tabs have state that I don't want to lose. Do you have any suggestions on how to chase this possibility?

What happened was that it was working and then the next time I started the machine and opened Firefox, it didn't work.

On Sat, Jul 23, 2016 at 3:57 PM, William Budington < notifications@github.com

wrote:

@dmadsen https://github.com/dmadsen strange.. perhaps it has to do with the tabs you have open? Maybe one of them is triggering a rule that causes the HE crash?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-234742760 , or mute the thread < https://github.com/notifications/unsubscribe-auth/ACQ8yOqheDCyi6PbnTb088xKOTkWUAKmks5qYo4ygaJpZM4JTPrK

.


You are receiving this because you commented. Reply to this email directly or view it on GitHub:

https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-234744394

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-234744668, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQ8yPpQ8axrdprqAx91Fs1mKtxOgPTKks5qYpdjgaJpZM4JTPrK .

Hainish commented 8 years ago

I don't think Firefox stores anything about browser state in the windows registry, but I'm unsure of where the Firefox session data is stored in Windows. Another possible debugging method is to open Firefox with the ProfileManager, install HTTPSE, then manually copy/paste the last few URLs you visited and see if any of these are the ones causing problems.

dmadsen commented 8 years ago

OK, thanks. I don't know how to do that, but Google is my friend. :-)

On Wed, Jul 27, 2016 at 4:09 PM, William Budington <notifications@github.com

wrote:

I don't think Firefox stores anything about browser state in the windows registry, but I'm unsure of where the Firefox session data is stored in Windows. Another possible debugging method is to open Firefox with the ProfileManager, install HTTPSE, then manually copy/paste the last few URLs you visited and see if any of these are the ones causing problems.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-235736958, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQ8yEJagCBICqWpSfSKSEEBK_tZl8Nkks5qZ9b-gaJpZM4JTPrK .

Hainish commented 8 years ago

oh I meant to post a link to it: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles

dmadsen commented 8 years ago

Golly, I knew there was a reason I liked you! :-) Thanks!

On Wed, Jul 27, 2016 at 4:53 PM, William Budington <notifications@github.com

wrote:

oh I meant to post a link to it: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-235746220, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQ8yOEis02uovUQeOHIyqFHm7oYZ9yHks5qZ-FmgaJpZM4JTPrK .

jeremyn commented 8 years ago

@dmadsen Is this still an active problem for you?

dmadsen commented 8 years ago

Because I've had other demands (looking for new job!), I've just left the extension disabled for now. I've never had good luck dealing with profiles -- I tend to lose all the stuff I care about -- so it's an easy thing to put off trying to deal with.

I'm guessing it would still be a problem unless it mysteriously has gone away in the same way it arrived. There has been a Firefox update since then; is there any reason to believe that this may have changed anything?

On Tue, Aug 30, 2016 at 4:59 PM, Jeremy Nation notifications@github.com wrote:

@dmadsen https://github.com/dmadsen Is this still an active problem for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-243608293, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQ8yFkN6GSL_0sfh_eStO2N1J4Fc5EYks5qlLXcgaJpZM4JTPrK .

jeremyn commented 8 years ago

Not that I know of. We just have a lot of open issues and it's good to identify the ones that are actionable. Right now the status of this issue is that you've reported it crashes Firefox, but it presumably works for most people so we need more information from you.

dmadsen commented 8 years ago

I documented the information and observed behavior in my first few messages on this thread. If there's any additional procedure / flags I need to use to obtain data that would help determine what's happening, I'd be happy to play along.

On Wed, Aug 31, 2016 at 9:04 AM, Jeremy Nation notifications@github.com wrote:

Not that I know of. We just have a lot of open issues and it's good to identify the ones that are actionable. Right now the status of this issue is that you've reported it crashes Firefox, but it presumably works for most people so we need more information from you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-243793692, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQ8yIvrs6B4-srQp1lLxrNL_6RQ_vCzks5qlZfmgaJpZM4JTPrK .

jeremyn commented 8 years ago

It would be helpful if you could narrow down what's causing the crash. Ideally you could reproduce it with a fresh profile using HTTPS Everywhere and the minimal tabs or other add-ons necessary to cause the crash.

dmadsen commented 8 years ago

Just as a SWAG, I'm thinking that a new profile will work just fine. Remember, it just started happening one day. There were no new tabs added.

How would you suggest that I do the testing while saving the old profile and being able to go back to it?

On Thu, Sep 1, 2016 at 7:49 AM, Jeremy Nation notifications@github.com wrote:

It would be helpful if you could narrow down what's causing the crash. Ideally you could reproduce it with a fresh profile using HTTPS Everywhere and the minimal tabs or other add-ons necessary to cause the crash.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-244084171, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQ8yB2EHKxfAe8UqMPyWo_3a5xcAG0Dks5qltfOgaJpZM4JTPrK .

jeremyn commented 8 years ago

You can use the profile manager that @Hainish discussed in this earlier comment.

dmadsen commented 8 years ago

I saw that and was intending to check it out but I haven't -- yet. Thanks for the reminder, this weekend may be a good time to try it while I'm eating a burger on Sunday and trying to be lazy on Monday. [After all, what's the meaning of Labor Day if you can't sit around and nap all day? :-)]

On Fri, Sep 2, 2016 at 8:09 AM, Jeremy Nation notifications@github.com wrote:

You can use the profile manager that @Hainish https://github.com/Hainish discussed in this earlier comment https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-235746220 .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EFForg/https-everywhere/issues/5772#issuecomment-244385189, or mute the thread https://github.com/notifications/unsubscribe-auth/ACQ8yHw_zEJS_NGh6YYLxsmb6hfC8NA-ks5qmC4dgaJpZM4JTPrK .

gloomy-ghost commented 7 years ago

Closing as we are moving to WebExtension