Open Bug 1221467 Opened 10 years ago Updated 3 years ago

Session can not be restored after restart Firefox with Multiple Tabs Handler addon enabled

Categories

(Firefox :: Session Restore, defect)

44 Branch
x86_64
macOS
defect

Tracking

()

People

(Reporter: tommykuo, Unassigned)

Details

(Keywords: addon-compat)

Recently, I upgrade my developer edition to 44.0a2. After upgraded, Firefox restarted, and my session also disappeared. And then, I open lots of tabs again. I restarted Firefox again, and it also can not restore my session. I noticed that the file "sessionrestore.js" doesn't exist in the profile folder. Now, I downgrade to 43.0a2 and rename "session-backup/previous.js" to "sessionrestore.js" to restore my session.
Summary: Session can not be restore after restart Firefox → Session can not be restored after restart Firefox
Are you using Tree Style Tabs, by any chance?
Flags: needinfo?(kuoe0)
I have used it. But I disable it lots week ago.
Flags: needinfo?(kuoe0)
Can you copy&paste the Browser Console data from a failed startup?
Flags: needinfo?(kuoe0)
When I encountered problems with TST and restore, I had to *remove* TST, then update. So perhaps you need to remove TST. See bug 1215747 My sessionstore.js size was 1k after starting FF + TST. And for some dang reason the backup directory had only a two week old session file.
(In reply to David Rajchenbach-Teller [:Yoric] (use "needinfo") from comment #3) > Can you copy&paste the Browser Console data from a failed startup? It's here! > Could not read chrome manifest 'file:///opt/homebrew-cask/Caskroom/firefoxdeveloperedition/latest/FirefoxDeveloperEdition.app/Contents/Resources/chrome.manifest'. > Warning: attempting to write 24787 bytes to preference extensions.xpiState. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. > Warning: attempting to write 5017 bytes to preference extensions.bootstrappedAddons. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. > 1446700412772 addons.xpi WARN Error loading bootstrap.js for restartless.restart@erikvold.com: SyntaxError: missing ; before statement (resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/kuoe0/Library/Application%20Support/Firefox/Profiles/mvh8e538.dev-edition-default/extensions/restartless.restart@erikvold.com.xpi!/bootstrap.js:142:69) JS Stack trace: @XPIProvider.jsm:4315:1 < XPI_loadBootstrapScope@XPIProvider.jsm:4315:7 < XPI_callBootstrapMethod@XPIProvider.jsm:4391:1 < XPI_startup@XPIProvider.jsm:2649:13 < callProvider@AddonManager.jsm:221:12 < _startProvider@AddonManager.jsm:828:5 < AMI_startup@AddonManager.jsm:1006:9 < AMP_startup@AddonManager.jsm:2758:5 < AMC_observe@addonManager.js:58:7 > 1446700412772 addons.xpi WARN Add-on restartless.restart@erikvold.com is missing bootstrap method startup > Warning: attempting to write 5017 bytes to preference extensions.bootstrappedAddons. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. > formatURL: Couldn't find value for key: OLD_VERSION nsURLFormatter.js:131:0 > OpenGL compositor Initialized Succesfully. > Version: 2.1 INTEL-10.6.33 > Vendor: Intel Inc. > Renderer: Intel Iris OpenGL Engine > FBO Texture Target: TEXTURE_2D > DEPRECATION WARNING: FUEL is deprecated, you should use the add-on SDK instead. > You may find more details about this deprecation at: https://developer.mozilla.org/Add-ons/SDK/ > jar:file:///opt/homebrew-cask/Caskroom/firefoxdeveloperedition/latest/FirefoxDeveloperEdition.app/Contents/Resources/browser/omni.ja!/components/fuelApplication.js 1458 Application > jar:file:///opt/homebrew-cask/Caskroom/firefoxdeveloperedition/latest/FirefoxDeveloperEdition.app/Contents/Resources/browser/omni.ja!/components/fuelApplication.js 726 af_ci > chrome://omnibar/content/browserOverlay.js 63 window.Omnibar._init > chrome://omnibar/content/browserOverlay.js 607 null > resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/kuoe0/Library/Application%20Support/Firefox/Profiles/mvh8e538.dev-edition-default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///Users/kuoe0/Library/Application%20Support/Firefox/Profiles/mvh8e538.dev-edition-default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/utils.js 361 exports.Utils.yield > resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/kuoe0/Library/Application%20Support/Firefox/Profiles/mvh8e538.dev-edition-default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///Users/kuoe0/Library/Application%20Support/Firefox/Profiles/mvh8e538.dev-edition-default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/filterStorage.js 870 INIParser.prototype.process > resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/kuoe0/Library/Application%20Support/Firefox/Profiles/mvh8e538.dev-edition-default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///Users/kuoe0/Library/Application%20Support/Firefox/Profiles/mvh8e538.dev-edition-default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/io.js 97 exports.IO.readFromFile/onProgress > resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/kuoe0/Library/Application%20Support/Firefox/Profiles/mvh8e538.dev-edition-default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///Users/kuoe0/Library/Application%20Support/Firefox/Profiles/mvh8e538.dev-edition-default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/io.js 182 exports.IO.readFromFile/< > resource://gre/modules/Task.jsm 314 TaskImpl_run > resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js 934 Handler.prototype.process > resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js 813 this.PromiseWalker.walkerLoop > Deprecated.jsm:79:0 > OpenGL compositor Initialized Succesfully. > Version: 2.1 INTEL-10.6.33 > Vendor: Intel Inc. > Renderer: Intel Iris OpenGL Engine > FBO Texture Target: TEXTURE_2D > ReferenceError: gSessionHistoryObserver is not defined > multipletab.js line 940 > eval:160:5 > [Private Tab] !!! Can't find gBrowser.tabContainer._setEffectAllowedForDataTransfer() bootstrap.js:1026:0 > This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More] www.mozilla.org > This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More] mozorg.cdn.mozilla.net > Security Error: Content at https://www.mozilla.org/en-US/firefox/44.0a2/whatsnew/?oldversion=43.0a2 may not load or link to chrome://rtc/content/rtcDefault.xml. > Security Error: Content at https://www.mozilla.org/en-US/firefox/44.0a2/whatsnew/?oldversion=43.0a2 may not load or link to chrome://imagetoolbar/content/imagetoolbar.xml. > downloadable font: kern: Too large subtable, table discarded (font-family: "Open Sans" style:normal weight:normal stretch:normal src index:1) source: https://mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.2696e36f12c5.woff responsive-bundle.09ccedbf465b.css:1:1575 > downloadable font: kern: Too large subtable, table discarded (font-family: "Open Sans Light" style:normal weight:normal stretch:normal src index:1) source: https://mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.1c8075cacedb.woff responsive-bundle.09ccedbf465b.css:1:554 > Importing XUL nodes into a content document is deprecated. This functionality may be removed soon. jquery-1.7.1.min.js:3:31870 > mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create sync.js:112:5 > OpenGL compositor Initialized Succesfully. > Version: 2.1 INTEL-10.6.33 > Vendor: Intel Inc. > Renderer: Intel Iris OpenGL Engine > FBO Texture Target: TEXTURE_2D -- By the way, I found I type the wrong filename in comment #1. "session-backup/previous.js" => "sessionstore-backups/previous.js" "sessionrestore.js" => "sessionstore.js"
Flags: needinfo?(kuoe0)
I see errors from the add-on "Multiple Tabs Handler". Could it be the culprit?
Flags: needinfo?(kuoe0)
(In reply to David Rajchenbach-Teller [:Yoric] (use "needinfo") from comment #7) > I see errors from the add-on "Multiple Tabs Handler". Could it be the > culprit? Oh!! You're right!! After I disable all addons, the session restoring works. And when I enable "Multiple Tabs Handler", it doesn't work!
Flags: needinfo?(kuoe0)
I confirm that w/ Multiple Tabs Handler disabled session restored correctly. Now I can use 44 again. Other extensions I'm using (which, apparently, don't break session): > ChatZilla 0.9.92 true {59c81df5-4b7a-477b-912d-4e0fdf64e5f2} > ChatZilla ru-RU 0.9.92 true {bef7b617-797d-25c5-fc47-45efc3fe5bc4} > Remote XUL Manager 1.3.1 true remotexulmanager@xulforge.com > Stylish 2.0.2.1-signed true {46551EC9-40F0-4e47-8E18-8E5CF550CFB8} > Tab Counter 1.9.9.1-signed true tabcounter@morac > tabTooltip 1.1.1-signed true tabTooltip@onemen.com > uBlock Origin 1.3.1 true uBlock0@raymondhill.net BTW, I suggest to make this addon-compatibility bug & notify the dev of Multiple Tabs Handler & Tree Style Tabs (In case he's not tired of them yet).
Keywords: addon-compat
Summary: Session can not be restored after restart Firefox → Session can not be restored after restart Firefox with Multiple Tabs Handler addon enabled
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.