I often code with two windows open, one for code, one for a shell. When I'm done editing a file, I press C-x C-c to quit Emacs. However, when I do this in Mac OS X, my computer crashes.
$ specs emacs brew bash os hardware
GNU Emacs 24.2.1
Copyright (C) 2012 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12)
Copyright (C) 2007 Free Software Foundation, Inc.
system_profiler SPSoftwareDataType | grep 'System Version'
System Version: OS X 10.8.2 (12C60)
system_profiler | grep 'Model Identifier'
Model Identifier: MacBookPro5,5
Until this is resolved, I have to remember to safely quit the shell process before quitting Emacs.
C-x b *shell*
"Process shell finished"