unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: emacs_user@hotmail.com
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [emacs_user@hotmail.com: ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate]
Date: Sat, 17 Feb 2007 12:48:11 +0100	[thread overview]
Message-ID: <45D6EB7B.9070408@swipnet.se> (raw)
In-Reply-To: <E1HHYol-000870-55@fencepost.gnu.org>

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.

           reply	other threads:[~2007-02-17 11:48 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <E1HHYol-000870-55@fencepost.gnu.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D6EB7B.9070408@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=emacs_user@hotmail.com \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).