From: Ken Brown <kbrown@cornell.edu>
To: Burton Samograd <burton@samograd.ca>
Cc: emacs-devel@gnu.org
Subject: Re: GSlice: failed to allocate 504 bytes
Date: Mon, 19 Nov 2012 11:47:10 -0500 [thread overview]
Message-ID: <50AA628E.3090801@cornell.edu> (raw)
In-Reply-To: <kghboety418.fsf@CDW764-BURTONS.QFTI.COM>
On 11/19/2012 11:02 AM, Burton Samograd wrote:
> Hello,
>
> I've built emacs from git sources on a recent cygwin this morning and
> when I try and run it, I get the following error on startup before it
> crashes:
>
> ***MEMORY-ERROR***: [7588]: GSlice: failed to allocate 504 bytes
> (alignment: 512): Function not implemented
This used to be a problem with the gtk build, for which the following
workaround was put into emacs.c long ago:
#if defined (USE_GTK) && defined (G_SLICE_ALWAYS_MALLOC)
/* This is used by the Cygwin build. */
setenv ("G_SLICE", "always-malloc", 1);
#endif
> This is built with --with-x-toolkit=athena
My guess is that Cygwin doesn't support building with x-toolkit=athena
(or else you don't have the appropriate devel packages installed). The
build probably then reverted to the default gtk, but USE_GTK wasn't
defined, so the code above didn't get invoked. I'm guessing, because I
can't tell anything from the config.log fragment that you attached, and
I don't have time right now to dig into the code or to try a build with
x-toolkit=athena myself.
Ken
next prev parent reply other threads:[~2012-11-19 16:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-19 16:02 GSlice: failed to allocate 504 bytes Burton Samograd
2012-11-19 16:47 ` Ken Brown [this message]
2012-11-19 21:03 ` Ken Brown
2012-11-19 21:48 ` Burton Samograd
2012-11-20 4:52 ` Stefan Monnier
2012-11-20 13:29 ` Ken Brown
2012-11-20 14:08 ` Stefan Monnier
2012-11-19 18:05 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50AA628E.3090801@cornell.edu \
--to=kbrown@cornell.edu \
--cc=burton@samograd.ca \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.