Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Firefox crashes

  • 4 trả lời
  • 1 gặp vấn đề này
  • 10 lượt xem
  • Trả lời mới nhất được viết bởi 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

Được chỉnh sửa bởi cor-el vào

Tất cả các câu trả lời (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?