unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [emacs_user@hotmail.com: ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate]
       [not found] <E1HHYol-000870-55@fencepost.gnu.org>
@ 2007-02-17 11:48 ` Jan Djärv
  0 siblings, 0 replies; only message in thread
From: Jan Djärv @ 2007-02-17 11:48 UTC (permalink / raw)
  To: emacs_user; +Cc: rms, emacs-devel

Richard Stallman skrev:
> Can you please DTRT and ack?
> 
> ------- Start of forwarded message -------
> From: "emacs user" <emacs_user@hotmail.com>
> To: emacs-devel@gnu.org
> Bcc: 
> Date: Tue, 13 Feb 2007 22:49:00 -0500
> Mime-Version: 1.0
> Content-Type: text/plain; format=flowed
> Subject: ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate
> X-Spam-Status: No, score=0.0 required=5.0 tests=MSGID_FROM_MTA_HEADER 
> 	autolearn=failed version=3.0.4
> 
> latest cvs from today, configured with gtk, compiled under cygwin:
> 
> $ /usr/local/emacs/src/emacs.exe -Q
> 
> ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate 504 bytes 
> (alignment: 512): Function not implemented

GSlice is a memory handling function in Gtk+ (Glib).  It tries to allocate an
aligned block of memory using posix_memalign, memalign or valloc.  I don't
know which of these three is used on cygwin, but apparently cygwin does not
have a correct implementation.  I'd say it is either a cygwin problem, or a
glib problem. The allocation is done when Emacs tries to create a widget and
is done within the Gtk+ liby.  There is nothing Emacs can do to fix this.  It
must be done in cygwin (by implemeting whatever function is used correctly) or
by glib (by recovering better from errors like this).

	Jan D.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-17 11:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1HHYol-000870-55@fencepost.gnu.org>
2007-02-17 11:48 ` [emacs_user@hotmail.com: ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate] Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).