From abbdc6a07b34911e98d2877f545a33b77fd0df6d Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 20 Nov 2009 21:40:00 +0000 Subject: * PROBLEMS (http): Add workaround for Cygwin crash. --- etc/ChangeLog | 4 ++++ etc/PROBLEMS | 15 +++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/etc/ChangeLog b/etc/ChangeLog index 0b134576973..3811063d5d8 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,7 @@ +2009-11-20 Ken Brown (tiny change) + + * PROBLEMS (http): Add workaround for Cygwin crash. + 2009-11-17 Jan Djärv * NEWS: Mention dynamic font changes (font-use-system-font). diff --git a/etc/PROBLEMS b/etc/PROBLEMS index eb1e362cc71..acc5ff996a1 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -252,8 +252,19 @@ A typical error message is 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. +Cygwin malloc, the Cygwin memalign always returns ENOSYS. + +One workaround is to set G_SLICE=always-malloc before starting emacs. +For example, in bash, + + G_SLICE=always-malloc emacs + +or put + + export G_SLICE=always-malloc + +in one of the bash startup files. This also has to be done before +building emacs on Cygwin with Gtk+. * General runtime problems -- cgit v1.2.1