搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox crashes

  • 4 个回答
  • 1 人有此问题
  • 10 次查看
  • 最后回复者为 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

由cor-el于修改

所有回复 (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?