Closed Bug 746649 Opened 12 years ago Closed 11 years ago

Session restore does not work well when the computer powers off

Categories

(Firefox :: Session Restore, defect)

11 Branch
x86_64
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 898800

People

(Reporter: o2627091, Unassigned)

References

Details

(Keywords: dataloss)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
Build ID: 20120312181643

Steps to reproduce:

Nothing by myself


Actual results:

While browsing with firefox and downloading with DownThemAll! extension there was a power cut in my house and my computer powered off. When turning the laptop on again firefox wouldn't recover the previous session. It just started default home screen. It happened that when closing this time firefox it overwrote the old sessionstore backup.

When Windows 7 started after power cut it did a chkdsk in C: and tried to find error in files. It happened that the sessionstore file was copied to c:\found.000\file0000.chk but I didn't try if FF could read from it. I found it doing a bruteforce scan within all the files on my computer looking for the "url": string and that was the result.


Expected results:

Should have preserved in some way the session. There should be some other resilient and solid way to properly backup sessions.
Component: Untriaged → Session Restore
sessionerstore.bak would have been nice, eh? 

I force powered off my laptop because it was pretty badly hung because some process went haywire (don't know which program) sucking up windows resources.  It seems likely that the power off or the resource shortage somehow caused loss of BOTH my sessionrestore.js and sessionrestore.bak for that profile. I should have at least had the .bak file on restart. I'm still seething a couple hours later.  Pretty sure it was not bug 637148


xref: bug 764302, bug 696684, bug 637148
Severity: normal → critical
Keywords: dataloss
The session manager vastly improves this issue

https://addons.mozilla.org/firefox/addon/session-manager/

But would be much better to have it by default.
(In reply to Wayne Mery (:wsmwk) from comment #1)
> sessionerstore.bak would have been nice, eh? 

sessionstore.bak shuold get written at the beginning of the session (and really, it's a copy, not a read then write) so that failing is pretty bad. No idea what would have caused that.
See Also: → 589095
More recent reports in bug 898800.
Hi there, I came across this bug while marking a similar one as a duplicate. I'm duping this to bug 898800 though there is another related one, bug 883609, where more work may be happening to address the issue. Thanks for the report.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.