Re: Crash of "emacs -nw" on Ctrl-G
Andrew Choi <[email protected]> Mon, 01 Jul 2002 17:35:38 -0600
| Newsgroups | gmane.emacs.macintosh.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf