Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Why doesn't "Force Quit" always work?

Why doesn't "Force Quit" always work?
Thread Tools
Laurence
Mac Enthusiast
Join Date: Mar 1999
Location: Portland, Oregon, United States
Status: Offline
Reply With Quote
Feb 18, 2008, 03:07 PM
 
On a windows machine I can hit CTRL-ALT-DEL and get to the task manager and kill off errant processes if necessary. Why is it that on every version of Mac OS X there is no equivalent. No matter how stable the OS is there are always times where some process locks the interface so the mouse moves, but you can't click on anything. Usually I just go to another machine, ssh in and kill off the processes I think are causing the issue until the system becomes responsive again. This doesn't happen constantly, however where I work it probably happens at least once a day. (There are over 150 people constantly using their Macs here) I've heard that its due to USB not having the ability to do a hardware interrupt, (the same reason ADB keyboards had a power button on them and USB keyboards don't, I think?) but Windows machines don't have this issue with USB keyboards. Any idea why force quit doesn't always work reliably?
--Laurence
     
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Feb 18, 2008, 03:28 PM
 
If something has locked up the GUI, it can't present a GUI dialog. There used to be a useful program called EscapePod that could force quit without the GUI dialog, but I don't know if it works anymore — Ambrosia stopped development on it a while back and I haven't had a need for it in quite a while to check if it's working.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Big Mac
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Feb 18, 2008, 03:30 PM
 
Well, OS X should never be locking up in the way you describe, but I do realize it happens rarely. Force quit is a user level mechanism that will only work if your user is running normally. We should have access to a NMI for those rare cases, but it's apparently something Apple doesn't care to implement in OS X. As Chuckit points out, Ambrosia used to offer EscapePod, which would kill the window server on keystroke. I have argued that such functionality should be built into the OS, but others disagree.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
Laurence  (op)
Mac Enthusiast
Join Date: Mar 1999
Location: Portland, Oregon, United States
Status: Offline
Reply With Quote
Feb 18, 2008, 04:20 PM
 
Strange... The ambrosia site says the following...

"NOTE: escapepod is no longer needed (or functional) under MacOS X 10.3 and later; Apple built the functionality in escapepod into the operating system."

If similar functionality is really built-in then I would assume that someone would know about it. I guess I'll just keep using ssh to resolve these situations. I don't understand how Apple thinks its wise to do this as most people don't know about ssh and will just unplug the computer at this point... Even with a journaled file-system that's never good for anything.
--Laurence
     
vertigociel
Forum Regular
Join Date: Dec 2006
Status: Offline
Reply With Quote
Feb 18, 2008, 04:53 PM
 
I've noticed that the Force Quit dialogue that Command-Option-Escape brings up isn't that helpful, even when the process in question is user-owned. I usually go into Activity Monitor and force-quit from there, which works every time. You could also type "killall $PROCESS_NAME (e.g. Finder)" into Terminal, which does the same thing.
15" MacBook Pro C2D, 2.16 GHz, 2 GB RAM, Matte Display.
     
Big Mac
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Feb 18, 2008, 05:15 PM
 
Yeah, the functionality is definitely not built into the OS. I think it's referring to a mechanism that was added to Tiger that restarts WindowServer if the OS realizes it has crashed, but that's not much help if the OS doesn't know there's a problem.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
Curiosity
Senior User
Join Date: Jul 2006
Status: Offline
Reply With Quote
Feb 19, 2008, 02:15 AM
 
Originally Posted by vertigociel View Post
I've noticed that the Force Quit dialogue that Command-Option-Escape brings up isn't that helpful, even when the process in question is user-owned. I usually go into Activity Monitor and force-quit from there, which works every time. You could also type "killall $PROCESS_NAME (e.g. Finder)" into Terminal, which does the same thing.
If you cannot get clicking things to do anything, how do you launch Activity Monitor?
     
Big Mac
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Feb 19, 2008, 02:30 AM
 
I think vertigociel is saying that apps often don't respond to Force Quit and that he just uses Activity Monitor instead. It's true that Activity Monitor is much more useful than Force Quit.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
Amorya
Mac Elite
Join Date: Mar 2001
Location: England
Status: Offline
Reply With Quote
Feb 19, 2008, 09:39 AM
 
Originally Posted by Big Mac View Post
Yeah, the functionality is definitely not built into the OS. I think it's referring to a mechanism that was added to Tiger that restarts WindowServer if the OS realizes it has crashed, but that's not much help if the OS doesn't know there's a problem.
It is. Hit command option escape. A dialog appears. Select process to force quit.

Now, what do you do if the GUI has locked and no dialog appears? Hit command option escape again, a few more times. This works even when in a fullscreen game that has locked.

Amorya
What the nerd community most often fail to realize is that all features aren't equal. A well implemented and well integrated feature in a convenient interface is worth way more than the same feature implemented crappy, or accessed through a annoying interface.
     
EndlessMac
Senior User
Join Date: Dec 2005
Status: Offline
Reply With Quote
Feb 20, 2008, 12:14 AM
 
Originally Posted by Laurence View Post
On a windows machine I can hit CTRL-ALT-DEL and get to the task manager and kill off errant processes if necessary. Why is it that on every version of Mac OS X there is no equivalent.
As Amorya has said use OPTION-APPLE-ESCAPE which is pretty much the equivalent to Windows. I also find that force quiting from the dock not as reliable. If you can get the Activity Monitor opened then you can used that to quit applications too.
     
Big Mac
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Feb 20, 2008, 01:27 AM
 
Originally Posted by Amorya View Post
It is. Hit command option escape. A dialog appears. Select process to force quit.

Now, what do you do if the GUI has locked and no dialog appears? Hit command option escape again, a few more times. This works even when in a fullscreen game that has locked.

Amorya
That doesn't help if WindowServer is FUBAR.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
dru
Senior User
Join Date: Apr 2002
Location: California
Status: Offline
Reply With Quote
Feb 20, 2008, 05:05 AM
 
These used to work but I they're not working for me on Tiger:

Command-Option-Shift-Esc: Force quits the frontmost application without asking or showing a dialog.
Command-Option-Shift-Q: Immediately log out the current user.
20" iMac C2D/2.4GHz 3GB RAM 10.6.8 (10H549)
     
C.A.T.S. CEO
Professional Poster
Join Date: Nov 2004
Location: eating kernel
Status: Offline
Reply With Quote
Feb 20, 2008, 08:38 AM
 
Originally Posted by dru View Post
These used to work but I they're not working for me on Tiger:

Command-Option-Shift-Esc: Force quits the frontmost application without asking or showing a dialog.
Command-Option-Shift-Q: Immediately log out the current user.
The last one works if you cut Option out.
Signature depreciated.
     
Simon
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Feb 20, 2008, 10:19 AM
 
Originally Posted by C.A.T.S. CEO View Post
The last one works if you cut Option out.
Actually you need option to force the logout. If you don't use option you'll get a dialog.
     
Big Mac
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Feb 21, 2008, 03:16 PM
 
Oh, I forgot to add that in my experience Windows doesn't necessarily handle crashed apps better than Force Quit. I've had apps refuse End Task multiple times.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
Cadaver
Addicted to MacNN
Join Date: Jan 2003
Location: ~/
Status: Offline
Reply With Quote
Feb 23, 2008, 02:31 AM
 
I used to keep either a terminal window or SSH enabled on my machine when running 10.2 or 10.3, in case an app locked up the GUI and nothing would respond or launch. That way I could either get to the terminal window (would work since it was running and didn't need to launch) or SSH in from another computer and do a kill command on it. Never needed to do so with 10.4 save maybe a few times. Fortunately, I don't recall having to do so with 10.5 yet (no longer keep Terminal or SSH running, either).
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 10:05 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,