Closed Bug 1185340 Opened 9 years ago Closed 9 years ago

Nightly42.0a2 long hangs on start up when upgrading migrating permissions.sqlite (Aurora41.0a2 to Nightly42.0a1)

Categories

(Core :: Permission Manager, defect)

42 Branch
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox41 --- unaffected
firefox42 + fixed

People

(Reporter: alice0775, Assigned: nika)

References

Details

(Keywords: hang)

Attachments

(2 files)

[Tracking Requested - why for this release]: Steps to reproduce: 1. set a lot of permission on Aurora41 or earlier. and Exit browser (example attached) 2. Start Nightly42.0a1 with the same profile Actual Results: Browser hangs on start up for long period without any user feedback. Expected Results: Not hangs Regression window: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=443582420f2c&tochange=fb346b9b9f98 Suspect: Bug 1165263
If you have a lot of Permissions, Browser hangs for a long period when update from 2015-07-17Nightly to 2015-07-18 Nightly.
I can confirm this. The hang is long, I didn't even wait for browser to start, but had to terminate the process. So I don't know if it would've eventually got through whatever it was doing. Somehow Firefox got to a loop where the browser repeatedly created a file called permissions.sqlite-journal and then deleted it.
I can reproduce this on mozilla-central tip (which includes the fix for bug 1185239. Need a fix or backout ASAP as it's making dogfooding current trunk impossible.
Flags: needinfo?(michael)
My bug is not an issue for Aurora (FX41)! new test with new profile, removed all exceptions ... always bug. permissions.sqlite zero exceptions (so by default !), blocks FX41 : https://www.sendspace.com/file/2qpav5 This file does not prevent the functioning of FX 39, FX40 and FX41. Including original file, loaded my exceptions! So Fx42 problem.
Summary: Nightly42.02 long hangs on start up when upgrade Aurora41.0a2 to Nightly42.0a1 → Nightly42.0a2 long hangs on start up when upgrading migrating permissions.sqlite (Aurora41.0a2 to Nightly42.0a1)
I'm aware of this issue and am working on a fix. It currently only affects large profiles, and should be fixed by the end of the day. Sorry for the delay in getting the fix out.
This should fix the startup hang due to the permissions manager migration. try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=82c8e8ff9233
Attachment #8636115 - Flags: review?(ehsan)
Assignee: nobody → michael
Flags: needinfo?(michael)
Attachment #8636115 - Flags: review?(ehsan) → review+
Comment on attachment 8636115 [details] [diff] [review] Greatly improve efficiency of permissions.sqlite migration on large permissions databases Verified locally that this fixes my hang :)
Attachment #8636115 - Flags: feedback+
https://hg.mozilla.org/mozilla-central/rev/080e59ae701d I'm not going to spin new nightlies at this point today, but it'll for sure be included in tomorrow's nightly.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Thanks for your help, Ryan!
ok. Tanks. :)
Tracking for FF 42 because regression.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: