* PROBLEMS: Gtk+ and cygwin doesn't work.
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 25 Feb 2007 09:55:55 +0000 (09:55 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 25 Feb 2007 09:55:55 +0000 (09:55 +0000)
etc/ChangeLog
etc/PROBLEMS

index 35f6fcf..66c9f39 100644 (file)
@@ -1,3 +1,7 @@
+2007-02-25  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * PROBLEMS: Gtk+ and cygwin doesn't work.
+
 2007-02-23  Eli Zaretskii  <eliz@gnu.org>
 
        * MORE.STUFF: Add a pointer to Phil Sung's Emacs slides on MIT.
index 08d84d6..922d85f 100644 (file)
@@ -213,6 +213,17 @@ configuring your compiler to use the native linker instead of GNU ld.
 This happens because of bugs in Gtk+.  Gtk+ 2.10 seems to be OK.  See bug
 http://bugzilla.gnome.org/show_bug.cgi?id=85715.
 
+** Emacs compiled with Gtk+ crashes on startup on cygwin.
+
+A typical error message is
+  ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate 504 bytes 
+  (alignment: 512): Function not implemented
+
+Emacs supplies its own malloc, but glib (part of Gtk+) calls memalign and on
+cygwin that becomes the cygwin supplied memalign.  As malloc is not the
+cygwin malloc, the cygwin memalign always returns ENOSYS.  A fix for this
+problem would be welcome.
+
 * General runtime problems
 
 ** Lisp problems