diff options
| author | Chong Yidong | 2009-12-09 01:07:36 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-12-09 01:07:36 +0000 |
| commit | d6ab3832c7d61df89ba7e1c1d1ebfcb5e137d7c5 (patch) | |
| tree | 19b4959d22f07e064f2ab0332f58fcf2ba0e767f | |
| parent | a4ef73c887614e05e4d0039419da0bcf1a073f00 (diff) | |
| download | emacs-d6ab3832c7d61df89ba7e1c1d1ebfcb5e137d7c5.tar.gz emacs-d6ab3832c7d61df89ba7e1c1d1ebfcb5e137d7c5.zip | |
Remove resolved GTK on Cygwin problem.
| -rw-r--r-- | etc/PROBLEMS | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 2c9c294c76a..c7384ad9a36 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -244,28 +244,6 @@ frame on another X display, then a Gtk+ error happens in the emacs | |||
| 244 | server that results in an endless loop. This is not fixed in any known | 244 | server that results in an endless loop. This is not fixed in any known |
| 245 | Gtk+ version (2.14.4 being current). | 245 | Gtk+ version (2.14.4 being current). |
| 246 | 246 | ||
| 247 | ** Emacs compiled with Gtk+ crashes on startup on Cygwin. | ||
| 248 | |||
| 249 | A typical error message is | ||
| 250 | ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate 504 bytes | ||
| 251 | (alignment: 512): Function not implemented | ||
| 252 | |||
| 253 | Emacs supplies its own malloc, but glib (part of Gtk+) calls memalign and on | ||
| 254 | Cygwin, that becomes the Cygwin supplied memalign. As malloc is not the | ||
| 255 | Cygwin malloc, the Cygwin memalign always returns ENOSYS. | ||
| 256 | |||
| 257 | One workaround is to set G_SLICE=always-malloc before starting emacs. | ||
| 258 | For example, in bash, | ||
| 259 | |||
| 260 | G_SLICE=always-malloc emacs | ||
| 261 | |||
| 262 | or put | ||
| 263 | |||
| 264 | export G_SLICE=always-malloc | ||
| 265 | |||
| 266 | in one of the bash startup files. This also has to be done before | ||
| 267 | building emacs on Cygwin with Gtk+. | ||
| 268 | |||
| 269 | * General runtime problems | 247 | * General runtime problems |
| 270 | 248 | ||
| 271 | ** Lisp problems | 249 | ** Lisp problems |