Firefox in hang-like state after cancelled Windows shutdown

RESOLVED INACTIVE

Status

()

RESOLVED INACTIVE
3 years ago
7 months ago

People

(Reporter: bugzilla, Unassigned)

Tracking

39 Branch
x86_64
Windows 10
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8642801 [details]
details.txt

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150630154324

Steps to reproduce:

1. Install FF 39
2. Open multiple tabs
3. Minimize FF
4. Restart Windows
5. Windows says "these programs are keeping you from shutting down".  
 -- This  itself is a failure; FF should just read the "Windows Session is Ending" argument and close itself unless it absolutely cannot, or the user has unsaved data; but let's keep going
6. Click Cancel to return to Windows desktop
7. Try to restore FF window (ie, click on its icon in the taskbar)


Actual results:

FF is now in a bad, hang-like state, and may actually hang.

1. FF will not "restore" its window
2. FF will not let me close window (by clicking Close button on taskbar preview window)
3. about this time, FF may appear in Task Manager as "not responding", but not always
4. usually, I have to kill the FF process


Expected results:

1. At step 5, FF should have read the arguments in the Close message and just cleanly shut down.  If not,
2. At step 7, FF should be well behaved, and not stuck in a hang-like state

Notes: I have disabled the only Plug-Ins and reproduced. However, I will include my Options/Details in a text file attached to this bug.

Notes: this has happened to me in every version of FF on Windows for over two years. Happens on Win 7, Win 8, Win 10
(Reporter)

Comment 1

3 years ago
Hmmm... step 2 should probably say "open webpages in multiple tabs", I have never verified this with blank tabs.
 User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0
 Build ID: 20151203053521

Hi,

I have tested this issue with Firefox Nightly 45.0a1 on Win 10, and I can't reproduce the problem. I have restart Windows without problems. 

Please download the Firefox Nightly from here: https://nightly.mozilla.org/ and retest the problem.

Create a new profile, you have the steps here:https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager

Please test if the issue can be reproduced in the safe mode of Firefox: https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

Also please see if this problem is reproduce on other browsers, like: chrome, internet explorer.
Flags: needinfo?(bugzilla)
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Hi,
Marking this as Resolved: Incomplete due to the lack of response from the reporter.
Reporter, please feel free to reopen it if you are still having this issue on the latest Firefox version.  Thank you for your time.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(bugzilla)
Resolution: --- → INCOMPLETE
(Reporter)

Comment 4

3 years ago
You asked me to "re-open" this is if the issue is still happening, and it is. However, I have no idea how to "re-open" the bug, since there are no verbs/commands anywhere in the UI that I can locate which correspond to "re-open".  So I am changing the status to "Unconfirmed", and complaining that you require contributors to learn an esoteric bug reporting UX to help you. If you can't fix the UX, provide detailed instructions in your mail on how to "re-open" a bug when you contact people.

Now:

You are not reproducing the bug because you are not actually reproducing the conditions. You have been provided a details.txt which tells you of you my configuration, but (it is my guess) you are not using it to recreate conditions)

1. make sure you have Ad-Block Plus installed. It appears to be necessary to repro the "These applications are preventing Windows from shutting down" part
2. it may be necessary to also have your FF settings match mine (especially the "forget all browsing data when sessions ends" type settings)
3. make sure you have multiple tabs open to web sites (I use Outlook.com, Cnn.com, and news.google.com in my test cases)
4. make sure you have minimized FF before attempting to restart or shut down windows

Key Failures:
1. if you cannot get around the initial bug (Adblock Plus preventing FF from shutting down when Windows tells it to)
2. then you need to fix the bad state that FF gets into (where it cannot be restored from minimized state)

I have noticed the following improvement:
1. if I mouse over the FF window in the task bar and click the Close box on the mini-window, FF does shut down after a few minutes (although it is delayed enough that you will assume nothing has happened)
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
Hi,

You can reopen a bug from the status, you have the option reopen, is just under the Unconfirmed option that you used for marking this bug.

I followed the steps one more time and I can't reproduce you issue. My graphic card is ATI RADEON 3000, that is the only think that is not matching you system description.

Now about the bug, you didn't told me if you can reproduce this with the latest version of Firefox, version 43. Assuming that you can reproduce it with FF 43, please tell me if you disabled you add-ons like you reported in description. Also please tell me if you followed the suggestions that I gave you in my first comment 2? And if you followed please tell me the results.
Thank you for your time and for trying to help us solving this problem.
Flags: needinfo?(bugzilla)
(Reporter)

Comment 6

3 years ago
When I click the "edit" link next to the Status field at the top of the bug, I am navigated to this "Additional Comments" field at the bottom of the bug, and the only verbs offered in the Status drop down below the comment field are "Resolved" and "Unconfirmed".  "Re-open" does not appear. Please let me know how to proceed with re-opening the bug.

BTW:

1. All recent tests were against FF 43 (43.0.4).
2. The repro steps have changed slightly, apparently; I can no longer reproduce it without Ad Blocker plus installed and enabled. Windows Shutdown is no longer blocked when Ad Blocker plus is installed but disabled. Does Details.txt provide you with all the settings info you need?
3. No, I have not tried the nightly build, nor have I tried creating a new profile, nor have I tried Safe Mode. I don't necessarily have that kind of access on the computers I am using. Sorry, I am a user, not a tester. Just letting you know what occurs in the latest public build.
Flags: needinfo?(bugzilla)
Hi,
This bug is already re-open, from your comment when you changed the Status to Unconfirmed, it doesn't really matter how you set the status, but for your information following the steps you described I can mark a bug reopen. 
 
About the bug, based on your comment 6, I understand that if you have Ad Blocker plus installed on your system and you disabled it you can't reproduce the problem, please correct me if I'm wrong.
I also retested and I can't confirm this problem with Win 10 on Nightly 46.0a1. 
Thank you for your support.
Component: Untriaged → Add-ons Manager
Product: Firefox → Toolkit

Comment 8

7 months ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago7 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.