Closed Bug 837843 Opened 12 years ago Closed 12 years ago

20130204 21.0a1 nightly load hangs if browser shutdown while on about:compartments page

Categories

(Core :: General, defect)

21 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED FIXED
mozilla21
Tracking Status
firefox21 + unaffected

People

(Reporter: morac, Assigned: RyanVM)

References

Details

(Keywords: hang, regression)

After updating from the 20130103 21.0a1 nightly load to the 20130104 21.0a1 nightly load, I'm finding that if I try to exit the browser while the about:compartments page is open.  When I reverted back to the 20130103 build this problem went away.

Good: http://hg.mozilla.org/mozilla-central/rev/ba515e203813
Bad: http://hg.mozilla.org/mozilla-central/rev/847e28c7ba67


Steps to reproduce:

1. Create new profile
2. Run Firefox
3. Go to "about:compartments"
4. Reload page (not really necessary, but for good measure).
5. Close window or choose File->Exit

Expected results:  Browser quits
Actual results: Browser hangs after window closes

Unfortunately I don't have admin on the machine I'm using currently so I can't debug the shutdown process, but the last thing I see in the console log before it hangs is:

*** LOG addons.xpi: shutdown


It's possible this might be a core bug, but the latest Windows SeaMonkey build is 20130130 so I can't test with SeaMonkey.
I see this with today's Nightly on Windows 8.
My experience is somewhat different.
- The first time I closed Nightly 21 with about:compartments open I did not see a hang.
- When I reopened Nightly and closed it again (about:compartments still open) I did see the hang.
- When I killed the hung process, restarted Nightly, closed about:compartments and exited, I still saw the hang.
- Starting Nightly again and exiting there was no hang.

I saw the same behavior on 32 and 64 bit versions:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:21.0) Gecko/20130204 Firefox/21.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130204 Firefox/21.0
Using Windows 7. I did not create a new profile for the tests.
Regrerssion window
Good:
http://hg.mozilla.org/mozilla-central/rev/ba515e203813
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130202 Firefox/21.0 ID:20130202222319
Bad:
http://hg.mozilla.org/mozilla-central/rev/31268d71c33c
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130202 Firefox/21.0 ID:20130203063220
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ba515e203813&tochange=31268d71c33c

Regressed by:
31268d71c33c	Olli Pettay — Bug 833143 - Don't GC in nsXREDirProvider::DoShutdown, r=bsmedberg,billm
Blocks: 833143
Product: Firefox → Core
Version: Trunk → 21 Branch
Summary: 20130104 21.0a1 nightly load hangs if browser shutdown while on about:compartments page → 20130204 21.0a1 nightly load hangs if browser shutdown while on about:compartments page
I'll do it tomorrow morning unless someone else does it before that.
Bug 833143 backed out.

https://hg.mozilla.org/mozilla-central/rev/2360c3c46aca
Assignee: nobody → ryanvm
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Tracking, please set status flag to 'affected' if this comes up again after a re-landing over in bug 833143.
You need to log in before you can comment on or make changes to this bug.