Bug 166293

Summary: crash recovery: second consecutive crash erases previous crash
Product: [Applications] konqueror Reporter: Maciej Pilichowski <bluedzins>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: dalou.dhinesh
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maciej Pilichowski 2008-07-11 12:42:13 UTC
Version:            (using Devel)

crash recovery: second consecutive crash erases previous crash 

Steps:
a) run konq.
b) go to page X1
c) crash konq
d) run konq -> restore? ask me later
e) go to page X2
f) crash konq.
g) run konq -> restore? yes
h) page X2 is restored
Comment 1 Eduardo Robles Elvira 2008-07-11 17:50:37 UTC
What version of KDE are you using? I'm using ~KDE 4 RC1 and I can't reproduce the crash (it works fine here).
Comment 2 Maciej Pilichowski 2008-07-11 18:11:58 UTC
KDE4Daily (updated daily). By "fine" what do you mean? Konq. merged those two crashes?
Comment 3 Eduardo Robles Elvira 2008-07-11 18:24:31 UTC
Yes. I killed konqueror with xkill in steps C and F by the way.
Comment 4 Maciej Pilichowski 2008-07-11 18:32:03 UTC
For me not, so maybe again, autosave bug issue -- you can't escape from it if you only rely on time.
Comment 5 Maciej Pilichowski 2008-07-11 18:36:35 UTC
oh, sorry, it cannot be autosave issue :-) I will give you SVN version in a moment, ok?
Comment 6 Eduardo Robles Elvira 2008-07-11 18:41:10 UTC
Uhm as you say no, the problem here can't be the autosave time because otherwise it wouldn't ask you to restore in step D. But in order to be sure, wait 10 seconds before killing konqueror each time.
Comment 7 Maciej Pilichowski 2008-07-11 21:34:56 UTC
One moment later -- SVN 830888.

About the test, can you tell me where I can bring crash recovery back? I was testing how to turn it off, and there is no GUI way to turn it on back (reported).

Comment 8 Eduardo Robles Elvira 2008-07-11 23:08:33 UTC
#7 see http://bugs.kde.org/show_bug.cgi?id=166295#c1
Comment 9 Maciej Pilichowski 2008-07-12 14:09:31 UTC
Now I can get something different, X1 was restored, it could be time dependent.

e->f 30 seconds, both pages was restored
e->f (I did as fast as possible, but page was fully loaded), only first page was restored

Comment 10 Eduardo Robles Elvira 2008-07-12 14:36:15 UTC
I've told you already how konqueror works: if you kill konqueror quickly later you opened a new url that wasn't saved in the last autosave, it's no wonder it doesn't get restored. So this is a duplicate of bug #166294.

*** This bug has been marked as a duplicate of 166294 ***
Comment 11 Maciej Pilichowski 2008-07-12 14:52:18 UTC
Eduardo, I described what happened lately, the original report is about not being able to restore first page (however now I cannot reproduce it). I reopen then I closed it as worksforme.
Comment 12 Maciej Pilichowski 2008-07-12 14:52:42 UTC
closing