# HG changeset patch # User Chong Yidong # Date 1258753200 0 # Node ID 143bc3eab4f0c7de4818ea61139a9f5532a0073e # Parent f1323114a032d2d561ee9af5f32caf0d083b46d9 * PROBLEMS (http): Add workaround for Cygwin crash. diff -r f1323114a032 -r 143bc3eab4f0 etc/ChangeLog --- a/etc/ChangeLog Fri Nov 20 21:12:54 2009 +0000 +++ b/etc/ChangeLog Fri Nov 20 21:40:00 2009 +0000 @@ -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 -r f1323114a032 -r 143bc3eab4f0 etc/PROBLEMS --- a/etc/PROBLEMS Fri Nov 20 21:12:54 2009 +0000 +++ b/etc/PROBLEMS Fri Nov 20 21:40:00 2009 +0000 @@ -252,8 +252,19 @@ 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