Crash recovery loads twice the number of browser instances which originally crashed

Bug #66962 reported by David Planella
14
Affects Status Importance Assigned to Milestone
Epiphany Browser
Expired
High
epiphany-browser (Ubuntu)
Triaged
Low
Ubuntu Desktop Bugs

Bug Description

When Epiphany crashes just before leaving your session, the crash recovery procedure will, on the next session, load twice the number of browser instances that had crashed in the first place.

That is, for example, if two browser instances crashed during logout, two additional duplicate instances will be loaded on the next session, making the total number of browser instances four. This is especially annoying when recovering several windows with several tabs open, since it takes a considerable amount of time.

This behaviour, however, does not seem to happen when epiphany crashes in the middle of a session and then the recovery is initiated.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. What version of Ubuntu do you use? How do you make it crash "just before leaving your session"? What do you call "just before"? 1 second? 10 seconds? 1min? Do you save your session automatically on logout? Is epiphany listed by ~/.gnome2/session then?

Changed in epiphany-browser:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
David Planella (dpm) wrote :

> What version of Ubuntu do you use?
* I'm using Edgy.

> How do you make it crash "just before leaving your session"? What do you call "just before"? 1 second? 10 seconds? 1min?
* I do not make it crash deliberately. I notice that epihany has crashed in either of the two following ways:
a) when starting a new session and the desktop has been loaded, the crash recovery dialog appears, asking me if I want to recover the previous browser windows. So I assume that epiphany crashed on the previous session (I might be wrong here).
b) when the session is ending (i.e. after having presed the Quit>Shutdown button all windows closing, etc.), I see a dialog : "the application epiphany has crashed unexpectedly", which appears very briefly just before showing the logout usplash.

This does not happen always, but I've noticed that it happens more frequently when I've got many application windows open in several workspaces before logging out.

> Do you save your session automatically on logout?
* Yes.

> Is epiphany listed by ~/.gnome2/session then?
These are the current contents of my ~/.gnome2/session file regarding epiphany (I had a couple of epiphany instances running when leaving my last session IIRC, but they did not crash):

6,Program=epiphany
6,CurrentDirectory=/home/dpm
6,DiscardCommand=rm -f /home/dpm/.gnome2/epiphany/session_gnome-16tOrV.xml
6,CloneCommand=epiphany --sm-config-prefix /epiphany-ws1GYJ/
6,RestartCommand=epiphany --sm-config-prefix /epiphany-ws1GYJ/ --sm-client-id 117f000001000116101674400000051310004 --screen 0
7,id=117f000001000116129290800000051340041

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the details. It might be one instance started by the session and one other by the crash handler. Marking as unconfirmed until somebody else confirm the issue, that's probably something to forward upstream. About the crash, could you unset the /apps/bug-buddy/run_on_crash gconf key with gconf-editor so apport can generate a crash report for it?

Changed in epiphany-browser:
importance: Undecided → Low
status: Needs Info → Unconfirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

I've commented on the upstream bug with the information of that one

Revision history for this message
David Planella (dpm) wrote :

I believe the upstream bug is the same as reported on Edgy, thus adding a watch

Changed in epiphany-browser:
status: Unconfirmed → Unknown
Revision history for this message
David Planella (dpm) wrote :

BTW, I unset the /apps/bug-buddy/run_on_crash key. What should I do now to provide some more info?

Revision history for this message
Sebastien Bacher (seb128) wrote :

attach the crash report created to /var/crash next time you get epiphany crashing

Changed in epiphany-browser:
status: Unknown → Unconfirmed
Revision history for this message
David Planella (dpm) wrote :

Well, Epiphany does not seem to create a crash log under /var/crash as other applications do.

The only thing I can say is that this is easily reproduceable whenever I've got quite a full desktop, that is, lots of windows open in different workspaces and different Epiphany windows with several tabs also distributed in different workspaces.

Whenever I finish my session (i.e. turn off my computer) with such a configuration and then I restart the session (turn on the computer), Epiphany seems to always crash as described.

Then after the crash recovery dialog, each instance is loading twice, the cpu load goes to 100%, etc, etc.

Changed in epiphany-browser:
status: Unconfirmed → Confirmed
Changed in epiphany-browser:
status: Unconfirmed → Confirmed
Changed in epiphany-browser:
status: Confirmed → Triaged
Revision history for this message
Timmie (timmie) wrote :

Hello,
I still encouter this problem...

Ubuntu , 7.10

Changed in epiphany-browser:
importance: Unknown → High
Changed in epiphany-browser:
status: Confirmed → Incomplete
Changed in epiphany-browser:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.