From: Andrew C. <ak...@sh...> - 2002-07-01 23:37:06
|
> 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. |