X
點擊此處開啟此網站的行動版。

技術支援討論區

Firefox crashes whenever I open a session restore. How do i fix this?

已張貼

So, I am a tab hoarder I will admit that upfront. I have lots of tabs saved. Restore sessions within restore sessions... quite a few of them. But today I tried going through my restore sessions and my browser crashed. I attempted a million things to fix it, but whenever i try and open the restore session it crashes firefox. I even tried taking the profile and moving it to a different computer to see if it would make a difference, but it didnt. Can you help me fix this please?

So, I am a tab hoarder I will admit that upfront. I have lots of tabs saved. Restore sessions within restore sessions... quite a few of them. But today I tried going through my restore sessions and my browser crashed. I attempted a million things to fix it, but whenever i try and open the restore session it crashes firefox. I even tried taking the profile and moving it to a different computer to see if it would make a difference, but it didnt. Can you help me fix this please?

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36

更多資訊

Moses
  • Moderator
459 個解決方法 3607 個答案

Your problem is probably caused by a conflicting extension. Copying your old profile settings to a new profile won't fix it, since the existing problem lies within your profile.

It would be helpful if you could provide us with the crash IDs.

  1. Enter about:crashes in the Firefox address bar and press Enter. A Submitted Crash Reports list will appear, similar to the one shown below.
  2. Copy the 5 most recent Report IDs that start with bp- and paste them into your response here.
Your problem is probably caused by a conflicting extension. Copying your old profile settings to a new profile won't fix it, since the existing problem lies within your profile. It would be helpful if you could provide us with the crash IDs. #Enter ''about:crashes'' in the Firefox address bar and press Enter. A Submitted Crash Reports list will appear, similar to the one shown below. #Copy the '''5''' most recent Report IDs that start with '''bp-''' and paste them into your response here.

提出問題者

Here are my crash IDs:

bp-59ff3b66-0ff4-415a-a57d-ce4312140403 bp-5f4e716f-f4b8-4ad2-b2a7-845c02140403 bp-438119fb-c836-48ad-baf2-63cfc2140403 bp-05d48dc6-4f30-441b-8ab1-9355e2140402 bp-26ae3597-9eec-45d4-9c6f-5989b2140402

And an extension could cause a crash when I open a restore session?

Here are my crash IDs: bp-59ff3b66-0ff4-415a-a57d-ce4312140403 bp-5f4e716f-f4b8-4ad2-b2a7-845c02140403 bp-438119fb-c836-48ad-baf2-63cfc2140403 bp-05d48dc6-4f30-441b-8ab1-9355e2140402 bp-26ae3597-9eec-45d4-9c6f-5989b2140402 And an extension could cause a crash when I open a restore session?
Moses
  • Moderator
459 個解決方法 3607 個答案

Hi,

Looking up your crash reports, there is a fairly new (2 days old) bug filed for the crash signature [@ NS_ABORT_OOM(unsigned int) | nsTextEditorState::GetValue(nsAString_internal&, bool) ]

bug 553085 (Please don't comment in bug reports unless you have constructive information. Thanks!)

I'm not an expert at crash reports, but I will suggest a few things to try.

  1. Starting Firefox in Troubleshoot Firefox issues using Safe Mode
  • Hold SHIFT while double clicking the Firefox icon on your desktop
  • type /usr/lib/firefox/firefox -safe-mode firefox.exe -safe-mode into your Run command (press windows key + R)
Hi, Looking up your crash reports, there is a fairly new (2 days old) bug filed for the crash signature ''[@ NS_ABORT_OOM(unsigned int) | nsTextEditorState::GetValue(nsAString_internal&, bool) ]'' [https://bugzilla.mozilla.org/show_bug.cgi?id=511135 bug 553085] <sub>(Please don't comment in bug reports unless you have constructive information. Thanks!)</sub> I'm not an expert at crash reports, but I will suggest a few things to try. #Starting Firefox in [[Safe Mode]] *Hold SHIFT while double clicking the Firefox icon on your desktop *type ''<s>/usr/lib/firefox/firefox -safe-mode</s>'' ''firefox.exe -safe-mode'' into your Run command (press windows key + R)

由 guigs 於 修改

提出問題者

That did not work, the browser still crashed when I opened up the 3rd restore session. Any other advice?

That did not work, the browser still crashed when I opened up the 3rd restore session. Any other advice?
Moses
  • Moderator
459 個解決方法 3607 個答案

The only other thing I would suggest is to create a new profile.

I've already left a comment on the bug report and as it's fairly new, I would hope it comes to a solution soon.

I've already escalated this thread to the SUMO Help Desk but since it's the weekend they will most likely respond on Monday.

How many tabs are you restoring?

The only other thing I would suggest is to create a new profile. *[https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles#w_creating-a-profile Create a new profile] I've already left a comment on the bug report and as it's fairly new, I would hope it comes to a solution soon. I've already escalated this thread to the SUMO Help Desk but since it's the weekend they will most likely respond on Monday. How many tabs are you restoring?

提出問題者

A lot! Restore sessions within restore sessions. At least 10 restore sessions inside restore sessions. And lots of tabs with each one. I lost count, sorry.

I could make a new profile but I also don't want to lose my tabs/restore sessions...

A lot! Restore sessions within restore sessions. At least 10 restore sessions inside restore sessions. And lots of tabs with each one. I lost count, sorry. I could make a new profile but I also don't want to lose my tabs/restore sessions...
guigs 1072 個解決方法 11697 個答案

Hey, I apologize for the delay on this, please make a copy of the sessionrestore.js file before opening Firefox again. This will save the tabs that were in the previous session.

First try about:sessionrestore page with the sessionrestore.bak file.

Technical elaboration "Firefox typically renames sessionstore.js to sessionstore.bak when starting up in a new session so sessionstore.bak contains your old session and a fresh sessionstore.js contains your new session. This means that normally there is only one previous session available at any given time. (Occasionally due to file locks or other rare problems, Firefox may create files named sessionstore-1.js, sessionstore-2.js, and so forth.) "

There are two things you can do the next time you open FIrefox: you can replace the sessionrestore.back file while it is closed first, or when you open it you can immediately go to History > Restore previous session.

Or a last resort, add hoc way of extracting the urls from the file is elaborated on in this forum thread http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=60

For the meantime, this Session Manager Add on helps save and restores sessions after crashes.

However, the issue with the crash seems to crash at a few places. There are 44 threads in some of them which just means it was starting each of those windows on the start up.

Hey, I apologize for the delay on this, please make a copy of the sessionrestore.js file before opening Firefox again. This will save the tabs that were in the previous session. First try about:sessionrestore page with the sessionrestore.bak file. Technical elaboration "Firefox typically renames sessionstore.js to sessionstore.bak when starting up in a new session so sessionstore.bak contains your old session and a fresh sessionstore.js contains your new session. This means that normally there is only one previous session available at any given time. (Occasionally due to file locks or other rare problems, Firefox may create files named sessionstore-1.js, sessionstore-2.js, and so forth.) " There are two things you can do the next time you open FIrefox: you can replace the sessionrestore.back file while it is closed first, or when you open it you can immediately go to History > Restore previous session. Or a last resort, add hoc way of extracting the urls from the file is elaborated on in this forum thread [http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=60] For the meantime, this [https://addons.mozilla.org/en-US/firefox/addon/session-manager/ Session Manager Add on] helps save and restores sessions after crashes. However, the issue with the crash seems to crash at a few places. There are 44 threads in some of them which just means it was starting each of those windows on the start up.
guigs 1072 個解決方法 11697 個答案

The second to last crash is affected by this: https://bugzilla.mozilla.org/show_bug.cgi?id=511135, but was originally reported for vista. The crashes you are experiencing are 32bit systems.

What are you doing exactly to open Firefox when you copied the profile into a new computer?

If you copy the sessionrestore.js file only into the new profile folder, does this also crash?

Please post back as soon as you can :-)

The second to last crash is affected by this: [https://bugzilla.mozilla.org/show_bug.cgi?id=511135], but was originally reported for vista. The crashes you are experiencing are 32bit systems. What are you doing exactly to open Firefox when you copied the profile into a new computer? If you copy the sessionrestore.js file only into the new profile folder, does this also crash? Please post back as soon as you can :-)

提出問題者

i did copy the sessionrestore.js into the new profile and it STILL crashed (sobs)

When I put it on a different computer I put the whole profile in and renamed it so Firefox would run it.

THIS time I made a new profile and put in the session restore and it wouldn't start, so i had to rename it to what the old profile was called. It still didnt let me open up the 3rd session restore within session restores...

http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=60 Im afraid I have zero idea what anyone is talking about here. I don't speak code very well at all to be honest.

i did copy the sessionrestore.js into the new profile and it STILL crashed (sobs) When I put it on a different computer I put the whole profile in and renamed it so Firefox would run it. THIS time I made a new profile and put in the session restore and it wouldn't start, so i had to rename it to what the old profile was called. It still didnt let me open up the 3rd session restore within session restores... http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=60 Im afraid I have zero idea what anyone is talking about here. I don't speak code very well at all to be honest.
cor-el
  • Top 10 Contributor
  • Moderator
17539 個解決方法 158588 個答案

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

Can you validate the file?

What is the file size of the sessionstore.js file? Can you validate the file? *JSON Formatter & Validator: http://jsonformatter.curiousconcept.com/ *JSONLint - The JSON Validator: http://jsonlint.com/

提出問題者

I'm sorry, but I am not sure how to use the validators. And its about 85080 kb.

I'm sorry, but I am not sure how to use the validators. And its about 85080 kb.
cor-el
  • Top 10 Contributor
  • Moderator
17539 個解決方法 158588 個答案

85 MB is too large for those validators. Those sites usually do not accept files over 1 MB. Such a large size might also explain why Firefox has a problem and crashes.

85 MB is too large for those validators. Those sites usually do not accept files over 1 MB. Such a large size might also explain why Firefox has a problem and crashes.

提出問題者

How could I shrink it? Or get the links from it?

How could I shrink it? Or get the links from it?
Moses
  • Moderator
459 個解決方法 3607 個答案

There are some examples of how to extract links from a sessionstore.js file in this mozillaZine forum thread.

There are some examples of how to extract links from a sessionstore.js file in this mozillaZine forum thread. *http://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=60&p=12098147#p12098147

提出問題者

that only gave me a FEW of the links i had in there.

that only gave me a FEW of the links i had in there.

提出問題者

I guess we are out of solutions here because basically all my links are gone except for about 10. And they are all from the same site for some reason. All the others are gone... *groans*

I guess we are out of solutions here because basically all my links are gone except for about 10. And they are all from the same site for some reason. All the others are gone... *groans*
guigs 1072 個解決方法 11697 個答案

Hi kikimaou, are you looking at the sessionrestore.js file in a text editor- the one you made a copy of? after "url" there are a all the url addresses, I also have a quick question about the crashes, do you still have a copy of the profile folder that was crashing Firefox?

Hi kikimaou, are you looking at the sessionrestore.js file in a text editor- the one you made a copy of? after "url" there are a all the url addresses, I also have a quick question about the crashes, do you still have a copy of the profile folder that was crashing Firefox?

提出問題者

I am not sure which text editor you speak of. And yes, I still do.

I am not sure which text editor you speak of. And yes, I still do.