Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

session manager crashes almost as soon as FF starts

  • 17 replies
  • 1 has this problem
  • 2 views
  • Last reply by DavidSorge

more options

This error message came up after just a few minutes of FF running. It had just crashed and I rebooted. I'm using XP SP3 and I know I have more tabs than I probably should have opened. Problem is as I work down the line getting rid of them S M is not updating. This time the session that restored was from months ago. I have been bookmarking so all is not lost. If I disable S M ( This Just In: The session/window data is corrupted: undefined(undefined) ). will sessionstore take over? The only problem I had with sessionstore was it only saved one back-up. Tired, I made the mistake of thinking the New Tab that pops up when FF starts was an error, having set FF to open all the previous tabs, I quickly shut it down to save my tabs. knowing no better I killed my only chance of restoring my tabs when I came to my senses and reopened FF to find out if there was anyway to restore my tabs. Ever since I have been looking for a better solution. But it seems that Session Manager is not it. SessionSaver worked, but it's not around anymore. I have a one terabyte drive so memory should not be a problem. So. If I disable Session Manager will sessionstore take over? Otherwise How can I get off this merry go round? Thanks

undefined:undefined

This operation failed due to a file access error: Component returned failure code: 0x8007000e (NS_ERROR_OUT_OF_MEMORY)

[nsIScriptableUnicodeConverter.convertToInputStream](NS_ERROR_OUT_OF_MEMORY)

backup.session


Private.writeFileNext@chrome://sessionmanager/content/modules/session_file_io.jsm:179

6:15 Private.writeFile@chrome://sessionmanager/content/modules/session_file_io.jsm:1779:3 Private.backupCurrentSession@chrome://sessionmanager/content/modules/session_file_i

o.jsm:1338:5 this.SessionIo.backupCurrentSession@chrome://sessionmanager/content/modules/sessio

n_file_io.jsm:154:10 Private.observe@chrome://sessionmanager/content/modules/session_manager.jsm:364:6

This error message came up after just a few minutes of FF running. It had just crashed and I rebooted. I'm using XP SP3 and I know I have more tabs than I probably should have opened. Problem is as I work down the line getting rid of them S M is not updating. This time the session that restored was from months ago. I have been bookmarking so all is not lost. If I disable S M ( This Just In: The session/window data is corrupted: undefined(undefined) ). will sessionstore take over? The only problem I had with sessionstore was it only saved one back-up. Tired, I made the mistake of thinking the New Tab that pops up when FF starts was an error, having set FF to open all the previous tabs, I quickly shut it down to save my tabs. knowing no better I killed my only chance of restoring my tabs when I came to my senses and reopened FF to find out if there was anyway to restore my tabs. Ever since I have been looking for a better solution. But it seems that Session Manager is not it. SessionSaver worked, but it's not around anymore. I have a one terabyte drive so memory should not be a problem. So. If I disable Session Manager will sessionstore take over? Otherwise How can I get off this merry go round? Thanks undefined:undefined This operation failed due to a file access error: Component returned failure code: 0x8007000e (NS_ERROR_OUT_OF_MEMORY) [nsIScriptableUnicodeConverter.convertToInputStream](NS_ERROR_OUT_OF_MEMORY) backup.session Private.writeFileNext@chrome://sessionmanager/content/modules/session_file_io.jsm:179 6:15 Private.writeFile@chrome://sessionmanager/content/modules/session_file_io.jsm:1779:3 Private.backupCurrentSession@chrome://sessionmanager/content/modules/session_file_i o.jsm:1338:5 this.SessionIo.backupCurrentSession@chrome://sessionmanager/content/modules/sessio n_file_io.jsm:154:10 Private.observe@chrome://sessionmanager/content/modules/session_manager.jsm:364:6

Modified by cor-el

Chosen solution

The sessionstore.js file is only present when Firefox is closed. The sessionstore.js file is created from recovery.js when you close Firefox and is removed and copied to previous.js when you start Firefox to make is possible to restore the session at any time.

Backup the session files in the sessionstore-backups folder in the Firefox Profile Folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

You will normally find these files in the sessionstore-backups folder:

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js).

See also:

Read this answer in context 👍 0

All Replies (17)

more options

You may have corrupt sessionstore file(s). Delete all sessionstore* files and the sessionstore-backups folder.

Type about:support in the address bar and press enter.

Under the page logo on the left side, you will see Application Basics. Under this find Profile Folder. To its right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Locate the above file. Then rename or delete it. Restart Firefox.


In the address bar, type about:crashes<enter>. Note: If any reports do not have BP in front of the numbers/letters, click it to submit them.

The crash report is several pages of data. We need the report numbers to see the whole report.

Using your mouse, mark the most resent 7 - 10 crash reports, and copy them. Now go to the reply box below and paste them in.

(Please don't take a screenshot of your crashes, just copy and paste the IDs. The below image is just an example of what your Firefox screen should look like.)

aboutcrashesFx29
more options

There is no sessionstore. The files that are there seem to be from Session Manager. If I delete them I will loose my tabs is my understanding. I'm not sure if the files I'm looking at are from Session Manager anyway. These are the files I suspect: sessionCheckpoints.json sessionmanager_log.txt storage.sqlite webappsstore.sqlite webappsstore.sqlite-shm webappsstore.sqlite-wal

Thease are the reports: bp-d2a29a59-4e49-46eb-9647-df5732161212 12/12/2016 1:34 PM bp-803b3a09-e1dc-464b-8f6a-933152161125 11/24/2016 10:34 PM bp-0fd531dd-989b-4160-8cc7-a0b292161122 11/21/2016 8:56 PM bp-dc699882-b3d8-45e2-9e92-43f882161120 11/19/2016 8:11 PM bp-66515bc1-31ae-4dae-9df7-58c462161024 10/24/2016 4:29 PM ce3797fe-4305-43ba-996f-75eec268759f 9/9/2016 8:16 AM bp-727f2bab-3983-4663-979a-21e462160530 5/30/2016 9:37 AM

more options

Product Firefox Release Channel release Version 50.0.2 Build ID 20161129173726 OS Windows XP OS Version 5.1.2600 Service Pack 3

bp-d2a29a59-4e49-46eb-9647-df5732161212

Signature: OOM | large | mozalloc_abort | mozalloc_handle_oom | moz_xmalloc | XPC_WN_CallMethod

commchannel.dll = Avast Antivirus


Product Firefox Release Channel release Version 50.0 Build ID 20161104212021

bp-803b3a09-e1dc-464b-8f6a-933152161125

Signature: StatsCompartmentCallback

AshShell.dll = Windows

aswAux.dll = avast!

commchannel.dll = Avast Antivirus

This is for Sumo's Related Bugs 1308593 NEW --- Firefox 48.0 repeatedly crashes ++++++++++++++++++++++++++++++++++++++++++++++++++++ bp-0fd531dd-989b-4160-8cc7-a0b292161122

Signature: StatsZoneCallback

AshShell.dll = Windows

aswAux.dll = avast!

more options

Update Avast. If there is still a problem, disable it.

more options

I disabled the 3 Web shields and the problem is still there. FF crashed again. Tabs I close are back again. At this rate I will never reduce the number of tabs I have open. If I remove Session Manager will sessionstore start up?

more options

DavidSorge said

I disabled the 3 Web shields and the problem is still there.

Was Avast disabled?

FF crashed again.

Please post the newest reports.

more options

I misspoke When I said Session Manager "crashes". I didn't realize until a few moments ago. The problem is Session Manager reports an "out of memory" error trying to save my tabs. Firefox crashing is not what I'm concerned about. I've given up on that problem a long time ago. I have sent the Info you requested. If I had sessionstore back I think the "out of memory" error would resolve. As I said I had wished that sessionstore would have create two or three backups. I.E. bac1, bac2, bac3 etc. I would never have looked at Session Manager if that had been the case. When I ruined the bac1, I could have gone to bac2. SessionSaver had several back ups which made it rather idiot proof. By idiot I mean me. So know what I really want is to get rid of Session Manager without loosing my tabs and go back to sessionstore. bp-44b980e7-d29b-453f-88cf-9d9d42161215

more options

Product Firefox Release Channel release Version 50.0.2 Build ID 20161129173726 OS Windows XP OS Version 5.1.2600 Service Pack 3

https://support.mozilla.org/en-US/kb/update-firefox-latest-version 50.1.0


Signature StatsCompartmentCallback

AshShell.dll = Windows

aswAux.dll = avast!

This is for Sumo's Related Bugs 1308593 NEW --- Firefox 48.0 repeatedly crashes


Disable Avast.

more options

I still want to get rid of Session Manager. I'm on 50.1.0 already and Disabling Avast did not help.

more options

FredMcD said

You may have corrupt sessionstore file(s). Delete all sessionstore* files and the sessionstore-backups folder. Type about:support in the address bar and press enter. Under the page logo on the left side, you will see Application Basics. Under this find Profile Folder. To its right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox. Locate the above file. Then rename or delete it. Restart Firefox.

Modified by DavidSorge

more options

DavidSorge said

FredMcD said
You may have corrupt sessionstore file(s). Delete all sessionstore* files and the sessionstore-backups folder. Type about:support in the address bar and press enter. Under the page logo on the left side, you will see Application Basics. Under this find Profile Folder. To its right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox. Locate the above file. Then rename or delete it. Restart Firefox.

Won't this cause me to loose all my previous tabs?

more options

What is the file size of the current sessionstore.js file?

You can use this button to go to the current Firefox profile folder:

When sessionstore.js is deleted you lose pinned tabs and open tabs and you will have to recreate them, so if necessary make a note or bookmark them (e.g. use bookmark all tabs).

more options

I do not have sessionstore.js. Session Manager replaces it with something of theirs. I'm trying to get rid of Session Manager without loosing my tabs.

more options

Chosen Solution

The sessionstore.js file is only present when Firefox is closed. The sessionstore.js file is created from recovery.js when you close Firefox and is removed and copied to previous.js when you start Firefox to make is possible to restore the session at any time.

Backup the session files in the sessionstore-backups folder in the Firefox Profile Folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

You will normally find these files in the sessionstore-backups folder:

previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
recovery.js (latest version of the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore written during runtime)
upgrade.js-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js).

See also:

more options

So, can I just remove Session Manager and will FF then make a sessionstore.js file the next time FF closes? It looks like I have to remove Session Manager while FF is running. I was under the impression that all my sessionstore files would go with Session Manager, scary! I guess not. I have copied the Profile folder to My Documents/FF Session for safe keeping. Is there a way to read the the sessionstore files?

more options

Session Manager is a restartless extension and thus can be enabled or disabled on the fly.

more options

I have not crashed or restarted FireFox I disabled Session Manager and the problem seems to be gone . Thanks for pointing out that there now More than one back-up. Of course there may have been more all along that I didn't know about. When I asked for help originally all I was told is to use sessionstore.bac. So unfortunately the other sessions are most likely gone forever but I'm going to look for back-ups I may have saved at the time. Are there any forums writing tutorials? I'd like to lend a hand. I'll mark this as solved.