This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Firefox crashes

  • 4 replies
  • 1 has this problem
  • 10 views
  • Last reply by maultby

more options

Hi
Using firefox 10.0.2.
Firefox crashes during startup and minimises to task bar and will not restore.
I've created a new profile and restored all the profile content and narrowed it down to the SessionStore.js file.
Was easy to narrow down; after creating new profile, firefox would start ok, then after copying only sessionstore.js from old profile to new profile, the error repeated exactly.
I've used the following bookmark applet (sourced from the net) to restore the session tabs:

javascript:(function(){var%20D=document,H,i=j=0,P=D.getElementsByTagName('PRE'),t='',R=/[^:]\{"entries":\[\{("url":"([^"]*)")\,("title":"([^"]*)"){0,1}/g,T,U;for(j=0;E=P[j];j++){H=E.innerHTML;while(R.exec(H)){U=RegExp.$2;T=RegExp.$4;if(T.length==0){T=U;}t+='<b>['+(++i)+']</b>%20<a%20href='+U+'>'+T+'%20('+U+')<\/a><br>';}}with(window.open().document){write(t);close()}})();

So all is now fine and working. However i thought you might want the SessionStore.js file to be able to reproduce the problem and prevent it crashing Firefox and maybe also help to prevent the Sessionstore.js file becoming bad. I've zipped the whoile of the old profile folder including the sessionstore.js file and will happily send it to you if you provide an email address.
Thanks

Hi<br /> Using firefox 10.0.2.<br /> Firefox crashes during startup and minimises to task bar and will not restore.<br /> I've created a new profile and restored all the profile content and narrowed it down to the SessionStore.js file.<br /> Was easy to narrow down; after creating new profile, firefox would start ok, then after copying only sessionstore.js from old profile to new profile, the error repeated exactly.<br /> I've used the following bookmark applet (sourced from the net) to restore the session tabs:<br /> <br /> <pre><nowiki>javascript:(function(){var%20D=document,H,i=j=0,P=D.getElementsByTagName('PRE'),t='',R=/[^:]\{"entries":\[\{("url":"([^"]*)")\,("title":"([^"]*)"){0,1}/g,T,U;for(j=0;E=P[j];j++){H=E.innerHTML;while(R.exec(H)){U=RegExp.$2;T=RegExp.$4;if(T.length==0){T=U;}t+='<b>['+(++i)+']</b>%20<a%20href='+U+'>'+T+'%20('+U+')<\/a><br>';}}with(window.open().document){write(t);close()}})();</nowiki></pre> So all is now fine and working. However i thought you might want the SessionStore.js file to be able to reproduce the problem and prevent it crashing Firefox and maybe also help to prevent the Sessionstore.js file becoming bad. I've zipped the whoile of the old profile folder including the sessionstore.js file and will happily send it to you if you provide an email address.<br /> Thanks

Modified by cor-el

All Replies (4)

more options

Can you upgrade your browser to Firefox 11 and try to reproduce your crash?

more options

Sorry no. After installing 11.0 and backing up my profile folder and copying only the sessionstore.js file into the profile folder, firefox crashes during startup as described. If you provide an email address i can zip and send the js file.

more options

You can set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.

That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.

See:

more options

Hi Thanks for reply. After the "crash" Firefox can be closed by right-click minimised task bar item so not need to use task manager to force close. However i tried your about:config setting and ensured was set to 0, between each "crash" and tried closing with task manager and right-click task bar, however on each susbequent start, it did not offer any options to deselect tabs, it always "crashed" to a minimised non restoreable task bar item while the "bad" sessionsore.js file existed in the profile. Do none of the developers want the sessionstore.js file to help to prevent and resolve this?