Open Bug 1408188 Opened 8 years ago Updated 9 months ago

Add-ons tracker tries to access data at shutdown

Categories

(Firefox :: Sync, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: lina, Unassigned)

References

(Blocks 1 open bug)

Details

From the logs in bug 1405656: > 1507469096961 Sync.Status DEBUG Status for engine addons: error.engine.reason.unknown_fail > 1507469096961 Sync.Status DEBUG Status.service: error.sync.failed_partial => error.sync.failed_partial > 1507469096961 Sync.ErrorHandler DEBUG addons failed: Error: Data is not ready. (resource://gre/modules/JSONFile.jsm:159:13) JS Stack trace: get data@JSONFile.jsm:159:13 < get changedIDs@engines.js:100:5 < getChangedIDs@addons.js:163:1 < pullNewChanges@engines.js:1875:12 < _syncStartup@engines.js:1037:30 < observe@AsyncShutdown.jsm:534:9 This looks like it happens at shutdown, since the next line is: > 1507466945115 Sync.ErrorHandler DEBUG extension-storage failed: Error: Phase "profile-before-change" is finished, it is too late to register completion condition "ExtensionStorageSync: close Sqlite handle" (resource://gre/modules/AsyncShutdown.jsm:676:15) JS Stack trace: addBlocker@AsyncShutdown.jsm:676:15 < addBlocker@AsyncShutdown.jsm:487:5 < addBlocker@AsyncShutdown.jsm:429:7 < @ExtensionStorageSync.jsm:367:1 < XPCU_moduleLambda@XPCOMUtils.jsm:309:9 < get@XPCOMUtils.jsm:199:21 < _sync@extension-storage.js:40:5 < WrappedNotify@util.js:181:27 < sync@engines.js:722:12 < _syncEngine@enginesync.js:203:13 < sync@enginesync.js:153:21 < observe@AsyncShutdown.jsm:534:9 There's probably not much we can do, but I am surprised that we're trying to sync so late.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.