GNU bug report logs - #13901
Emacs crashing Mac OS X when quit with a shell running

Previous Next

Packages: ns, emacs;

Reported by: Andrew Pennebaker <andrew.pennebaker <at> gmail.com>

Date: Fri, 8 Mar 2013 02:08:02 UTC

Severity: important

Tags: notabug

Merged with 13682, 13726, 13799, 14119, 14478

Found in versions 24.2, 24.3

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13901 in the body.
You can then email your comments to 13901 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13901; Package emacs. (Fri, 08 Mar 2013 02:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrew Pennebaker <andrew.pennebaker <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 08 Mar 2013 02:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrew Pennebaker <andrew.pennebaker <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: Emacs crashing Mac OS X when quit with a shell running
Date: Thu, 7 Mar 2013 21:06:42 -0500
[Message part 1 (text/plain, inline)]
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.

Steps to Reproduce:

open Terminal.app
$ emacs
C-x 2
C-x o
M-x shell
C-x o
C-x C-f <file>
(finish editing)
C-x C-s
C-x C-c
"Active processes exist; kill them and exit anyway? (yes or no)"
yes
(OS crashes here)

System:

$ specs emacs brew bash os hardware
Specs:

specs 0.2
https://github.com/mcandre/specs#readme

emacs --version
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.

brew --version
0.9.4

bash --version
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

Mitigation:

Until this is resolved, I have to remember to safely quit the shell process
before quitting Emacs.

C-x b *shell*
exit
"Process shell finished"
C-x C-c

-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us
[Message part 2 (text/html, inline)]

Forcibly Merged 13682 13726 13799 13901. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 08 Mar 2013 02:30:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13901; Package emacs,ns. (Fri, 08 Mar 2013 02:39:01 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrew Pennebaker <andrew.pennebaker <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: Re: Emacs crashing Mac OS X when quit with a shell running
Date: Thu, 7 Mar 2013 21:37:14 -0500
[Message part 1 (text/plain, inline)]
Update: Reproduce this bug with a shorter series of commands:

M-x shell RET C-x C-c yes


On Thu, Mar 7, 2013 at 9:06 PM, Andrew Pennebaker <
andrew.pennebaker <at> gmail.com> wrote:

> 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.
>
> Steps to Reproduce:
>
> open Terminal.app
> $ emacs
> C-x 2
> C-x o
> M-x shell
> C-x o
> C-x C-f <file>
> (finish editing)
> C-x C-s
> C-x C-c
> "Active processes exist; kill them and exit anyway? (yes or no)"
> yes
> (OS crashes here)
>
> System:
>
> $ specs emacs brew bash os hardware
> Specs:
>
> specs 0.2
> https://github.com/mcandre/specs#readme
>
> emacs --version
> 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.
>
> brew --version
> 0.9.4
>
> bash --version
> 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
>
> Mitigation:
>
> Until this is resolved, I have to remember to safely quit the shell
> process before quitting Emacs.
>
> C-x b *shell*
> exit
> "Process shell finished"
> C-x C-c
>
> --
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us
>



-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13901; Package emacs,ns. (Fri, 08 Mar 2013 06:49:01 GMT) Full text and rfc822 format available.

Message #13 received at 13901 <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: Andrew Pennebaker <andrew.pennebaker <at> gmail.com>
Cc: 13901 <at> debbugs.gnu.org
Subject: Re: bug#13901: Emacs crashing Mac OS X when quit with a shell running
Date: Fri, 08 Mar 2013 14:47:27 +0800
On 2013-03-08 10:37 +0800, Andrew Pennebaker wrote:
> Update: Reproduce this bug with a shorter series of commands:
>
> M-x shell RET C-x C-c yes

This is known to be a bug in osx's kernel. Nothing emacs can do. please
pester apple to fix it. (A bug has been filed with apple).

Leo




Forcibly Merged 13682 13726 13799 13901 14119. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 01 Apr 2013 19:31:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 02 May 2013 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 27 May 2013 00:21:01 GMT) Full text and rfc822 format available.

Forcibly Merged 13682 13726 13799 13901 14119 14478. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 27 May 2013 00:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Jun 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.