bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10092: 24.0.91; `C-g' makes Emacs to crash


From: Juanma Barranquero
Subject: bug#10092: 24.0.91; `C-g' makes Emacs to crash
Date: Fri, 25 Nov 2011 00:51:04 +0100

> * gcc version 4.6.1
> * mingw-get version 0.4-alpha-1

When building with optimizations, are you passing the
-fno-omit-frame-pointer flag to GCC?

There was a discussion in emacs-devel about one month ago. Eli said:

   This thread:

    http://lists.gnu.org/archive/html/qemu-devel/2011-10/msg01697.html

   suggests that it probably is.  IIUC, there's an issue with setjmp in
   the MS runtime not working when -fomit-frame-pointer is used, and the
   MinGW GCC 4.6.1 turns on -fomit-frame-pointer by default when
   optimizing.  Since Emacs uses setjmp/longjmp _a_lot_, and in
   particular C-g throws to the top level via this mechanism, it seems
   like we have a smoking gun.

   Perhaps rebuild Emacs with -fno-omit-frame-pointer, and see if that
   helps.


    Juanma





reply via email to

[Prev in Thread] Current Thread [Next in Thread]