Fail full shutdown
-
- Posts: 778
- Joined: June 12th, 2008, 9:02 am
Fail full shutdown
Very often Seamonkey not full shutdown in Window.
I have start other Seamonkey that close previous.
How to investigate it?
I have start other Seamonkey that close previous.
How to investigate it?
Last edited by Diamanti on January 21st, 2022, 1:58 pm, edited 3 times in total.
- DanRaisch
- Moderator
- Posts: 127185
- Joined: September 23rd, 2004, 8:57 pm
- Location: Somewhere on the right coast
Re: Fail full shutdown
How are you shutting down SeaMonkey? Are you using File->Exit?
-
- Posts: 778
- Joined: June 12th, 2008, 9:02 am
Re: Fail full shutdown
I use often:
Cc["@mozilla.org/toolkit/app-startup;1"].getService(appStartup).quit(appStartup.eRestart | appStartup.eAttemptQuit);
and sometimes click the close button in the window.
I restart, window close but not restart. Then I start new SM that warning profiled locked, I click OK and start.
But not always, only a few times. It is not reproducible. It usually happens after a long use.
Cc["@mozilla.org/toolkit/app-startup;1"].getService(appStartup).quit(appStartup.eRestart | appStartup.eAttemptQuit);
and sometimes click the close button in the window.
I restart, window close but not restart. Then I start new SM that warning profiled locked, I click OK and start.
But not always, only a few times. It is not reproducible. It usually happens after a long use.
- therube
- Posts: 21698
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: Fail full shutdown (Linux)
Maybe that code is no longer relevant or no longer fully relevant?
The thing to do, IMO, is to quit by using File | Exit & see if your issues persist.
And if they do not, then look at that code...
The thing to do, IMO, is to quit by using File | Exit & see if your issues persist.
And if they do not, then look at that code...
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
- LinuxUserSince1991
- Posts: 337
- Joined: February 2nd, 2007, 5:03 pm
- Location: Los Angeles area
Re: Fail full shutdown
I've been using "File | Quit" for decades, and have had no problems. Is there a reason you're not doing that?Diamanti wrote:I use often:
Cc["@mozilla.org/toolkit/app-startup;1"].getService(appStartup).quit(appStartup.eRestart | appStartup.eAttemptQuit);
and sometimes click the close button in the window.
I restart, window close but not restart. Then I start new SM that warning profiled locked, I click OK and start.
But not always, only a few times. It is not reproducible. It usually happens after a long use.
If SM fails to close completely, you can always 'kill' its process at a command line. That happens to me on rare occasions, like when SM crashes and I tell it to restart, but when it tries, it says SM is already running and fails to restart. Like it just gets stuck in memory! But those incidents are few and far between. "File | Quit" should be all you need as a general rule.
- James
- Moderator
- Posts: 27999
- Joined: June 18th, 2003, 3:07 pm
- Location: Made in Canada
Re: Fail full shutdown (Linux)
Diamanti, closing with the window close button only closes that one window and not SeaMonky unless that was the Only window open. The File > Quit will close SeaMonky as said.
- ElTxolo
- Posts: 2806
- Joined: July 30th, 2007, 9:35 am
- Location: Localhost
Re: Fail full shutdown
Diamanti wrote:I use often:
Cc["@mozilla.org/toolkit/app-startup;1"].getService(appStartup).quit(appStartup.eRestart | appStartup.eAttemptQuit);
[....]
- Cut the frills, and use what everyone else does: File => Quit (Ctrl-Q)
How to Ask Questions The Smart Way - How to Report Bugs Effectively
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240109 SeaMonkey/2.53.18.1
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240324 SeaMonkey/2.53.19
~
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240109 SeaMonkey/2.53.18.1
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240324 SeaMonkey/2.53.19
~
-
- Posts: 1361
- Joined: December 15th, 2015, 1:20 pm
Re: Fail full shutdown (Linux)
Hmm wonder if appStartup.eForceQuit | appStartup.eRestart are valid with the above code.
Try:
ChromeUtils.import("resource://gre/modules/Services.jsm");
const appStartup = Services.startup;
appStartup.quit(appStartup.eForceQuit | appStartup.eRestart);
or
ChromeUtils.import("resource://gre/modules/Services.jsm");
Services.startup.quit(Ci.nsIAppStartup.eAttemptQuit | Ci.nsIAppStartup.eRestart);
or
Cc["@mozilla.org/toolkit/app-startup;1"].getService(appStartup).quit(Ci.nsIAppStartup.eAttemptQuit | Ci.nsIAppStartup.eRestart);
or
let appStartup = Cc["@mozilla.org/toolkit/app-startup;1"].getService(Ci.nsIAppStartup);
appStartup.quit(Ci.nsIAppStartup.eAttemptQuit | Ci.nsIAppStartup.eRestart);
Try:
ChromeUtils.import("resource://gre/modules/Services.jsm");
const appStartup = Services.startup;
appStartup.quit(appStartup.eForceQuit | appStartup.eRestart);
or
ChromeUtils.import("resource://gre/modules/Services.jsm");
Services.startup.quit(Ci.nsIAppStartup.eAttemptQuit | Ci.nsIAppStartup.eRestart);
or
Cc["@mozilla.org/toolkit/app-startup;1"].getService(appStartup).quit(Ci.nsIAppStartup.eAttemptQuit | Ci.nsIAppStartup.eRestart);
or
let appStartup = Cc["@mozilla.org/toolkit/app-startup;1"].getService(Ci.nsIAppStartup);
appStartup.quit(Ci.nsIAppStartup.eAttemptQuit | Ci.nsIAppStartup.eRestart);
- LinuxUserSince1991
- Posts: 337
- Joined: February 2nd, 2007, 5:03 pm
- Location: Los Angeles area
Re: Fail full shutdown
Exactly! I'm a geek, I mean an old, long-time, love-my-command-line, raised-on-UNIX, coding-is-fun geek, but even I don't go around reinventing the wheel when there's absolutely no reason to! I'm trying hard to understand why the OP isn't just using the obvious "File | Quit" like the rest of us....ElTxolo wrote:Diamanti wrote:I use often:
Cc["@mozilla.org/toolkit/app-startup;1"].getService(appStartup).quit(appStartup.eRestart | appStartup.eAttemptQuit);
[....]
- Cut the frills, and use what everyone else does: File => Quit (Ctrl-Q)
-
- Posts: 809
- Joined: December 13th, 2007, 8:54 am
- Location: Vancouver Island BC
- Contact:
Re: Fail full shutdown (Linux)
On windows recent versions we have another easy option.
Right-click the Seamonkey icon on the windows taskbar, and select at the bottom, "close all windows"
This always works for me.
Right-click the Seamonkey icon on the windows taskbar, and select at the bottom, "close all windows"
This always works for me.
- ElTxolo
- Posts: 2806
- Joined: July 30th, 2007, 9:35 am
- Location: Localhost
Re: Fail full shutdown
LinuxUserSince1991 wrote: Exactly! I'm a geek, I mean an old, long-time, love-my-command-line, raised-on-UNIX, coding-is-fun geek, but even I don't go around reinventing the wheel when there's absolutely no reason to! I'm trying hard to understand why the OP isn't just using the obvious "File | Quit" like the rest of us....
- Totally agree!!!
I've always liked the simplicity, and the KISS principle.
Cheers!!
How to Ask Questions The Smart Way - How to Report Bugs Effectively
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240109 SeaMonkey/2.53.18.1
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240324 SeaMonkey/2.53.19
~
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240109 SeaMonkey/2.53.18.1
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20240324 SeaMonkey/2.53.19
~
-
- Posts: 778
- Joined: June 12th, 2008, 9:02 am
Re: Fail full shutdown
I can explain that I prefer a single click to a button in toolbat that open menu, select item, exit, open windows taskbar, reopen SM.LinuxUserSince1991 wrote:I'm trying hard to understand why the OP isn't just using the obvious "File | Quit" like the rest of us....
-
- Posts: 778
- Joined: June 12th, 2008, 9:02 am
Re: Fail full shutdown (Linux)
Remain the SeaMonkey.exe process with this class windows:
MailBiffNotificationMessageWindow
OleDdeWndClass
MSCTFIME UI
IME
same problem also if I use File->Exit
MailBiffNotificationMessageWindow
OleDdeWndClass
MSCTFIME UI
IME
same problem also if I use File->Exit
-
- Posts: 778
- Joined: June 12th, 2008, 9:02 am
Re: Fail full shutdown
I'm experiencing that the problem occurs when you exceed a certain memory consumption.
Is there no developer that deals with this case?
Is there no developer that deals with this case?
-
- Posts: 1352
- Joined: July 25th, 2011, 8:11 am
- Location: Poland
Re: Fail full shutdown
Check if you if you have "cache in memory" or on disk:Diamanti wrote:I'm experiencing that the problem occurs when you exceed a certain memory consumption.
http://forums.mozillazine.org/viewtopic ... #p14894004
Maybe it'll help to save/lower RAM consumption.
--