summaryrefslogtreecommitdiff
path: root/etc/PROBLEMS
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-11-20 21:40:00 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-11-20 21:40:00 +0000
commitabbdc6a07b34911e98d2877f545a33b77fd0df6d (patch)
treec5997d6f397327877418cf3ad0bb3eee654cb6b5 /etc/PROBLEMS
parent6aeaa3dcde4b682244b26b2f1443d9810bd1a3c9 (diff)
downloademacs-abbdc6a07b34911e98d2877f545a33b77fd0df6d.tar.gz
* PROBLEMS (http): Add workaround for Cygwin crash.
Diffstat (limited to 'etc/PROBLEMS')
-rw-r--r--etc/PROBLEMS15
1 files changed, 13 insertions, 2 deletions
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