unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Mac-emacs-devel] Crash of "emacs -nw" on Ctrl-G
       [not found] <9908037F-8CB8-11D6-B3BA-00039386FFDE@mac.com>
@ 2002-07-01 23:35 ` Andrew Choi
  0 siblings, 0 replies; only message in thread
From: Andrew Choi @ 2002-07-01 23:35 UTC (permalink / raw)
  Cc: mac-emacs-devel, emacs-devel

> Hi,
> 
> I found crash of "emacs -nw" on Ctrl-G.
> 
> OS: MacOSX 10.1.5
> Emacs version: recent CVS tree
> Compiler: Developer Tools Dec 2001
> Configration:  ./configure --without-x
> 
> How-To-Repeat:
> 1. invoke emacs with -nw option:
> 	emacs -q -nw
> 2. execute shell in the emacs:
> 	M-x shell
> 3. type Ctrl-G
> 4. Got "Fatal error (10).Bus error"
> 
> I think the problem is in process.c. After vfork, child process sets 
> SIGINT handler to SIG_DFL
> (process.c:1847) and change the parent's also.
> 
> Fix:
>    add "#define POSIX_SIGNALS" in src/s/darwin.h
> 
> This fix enables the code of recording/restoring signal handler in 
> process.c.
> and the crash has gone.
> 
> ---
> Nozomu Ando

Hi Nozomu,

Thank you for sending the bug report and fix!  I've just added this to
the CVS.

Andrew.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-01 23:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9908037F-8CB8-11D6-B3BA-00039386FFDE@mac.com>
2002-07-01 23:35 ` [Mac-emacs-devel] Crash of "emacs -nw" on Ctrl-G Andrew Choi

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).