[Bug 73536]

R-fab 73536 at bugs.launchpad.net
Mon Jan 7 00:20:08 UTC 2019


Created attachment 8750107
Bug 336193 handle SIGTERM in SignalPipeWatcher then in the main thread to quit

What about the attempt in this patch? I intercept SIGTERM using
"SignalPipeWatcher" as suggested, then I pass a task to the main thread
so it calls "nsIAppStartup::Quit(nsIAppStartup::eForceQuit)".

That may seem convoluted, it would look better if it was done in one go.

I don't have any experience on the Firefox codebase, so I may completely
misunderstand the issues. If "Quit" is executed by the main thread (like
it would be after a keyboard key for example), wouldn't it avoid the
aforementioned problems with the locks.

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

Title:
  MASTER Firefox crashes on instant X server shutdown

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



More information about the Ubuntu-mozillateam-bugs mailing list