Created attachment 608074
patch

Here's a better, somewhat more verbose patch that doesn't require
anything beyond what we already use.  When receiving SIG{INT,TERM} and
restarting, we now display about:home with an option to restore your
last session instead of the "this is embarrassing" page.

As with any modular app using signals, I am unsure of how this interacts
with code that already tries to deal with signals:

http://mxr.mozilla.org/mozilla-
central/source/profile/dirserviceprovider/src/nsProfileLock.cpp#440

nsAppShell appears to install its handlers after this.

There's also some code in breakpad, which I assume doesn't come into
play here.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/73536

Title:
  MASTER Firefox crashes on instant X server shutdown

Status in The Mozilla Firefox Browser:
  Confirmed
Status in “firefox” package in Ubuntu:
  Won't Fix
Status in “firefox-3.0” package in Ubuntu:
  Triaged

Bug description:
  Firefox crashes when X server is forcefully torn down (e.g. by
  pressing ctrl-alt-backspace) and a crash report gets generated on next
  login.

  (Original Report:
  I've reproduced it once on my machine with the following steps. With, oh, 
about 5 tabs open, I just pressed ctrl-alt-backspace, logged back in when the X 
server restarted, and FF crashed with a bug report when Gnome tried to restore 
the session.

  It's not terribly important, I don't think anyone does this very often, but 
maybe it'll be helpful.
  )

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/73536/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to