[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mac-emacs-devel] Crash of "emacs -nw" on Ctrl-G
From: |
Andrew Choi |
Subject: |
Re: [Mac-emacs-devel] Crash of "emacs -nw" on Ctrl-G |
Date: |
Mon, 01 Jul 2002 17:35:38 -0600 |
> 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Mac-emacs-devel] Crash of "emacs -nw" on Ctrl-G,
Andrew Choi <=