From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: GSlice: failed to allocate 504 bytes Date: Mon, 19 Nov 2012 11:47:10 -0500 Message-ID: <50AA628E.3090801@cornell.edu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353343648 15029 80.91.229.3 (19 Nov 2012 16:47:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 16:47:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Burton Samograd Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 17:47:40 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TaUVX-0004eF-KK for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 17:47:39 +0100 Original-Received: from localhost ([::1]:45448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaUVN-0003ct-F3 for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 11:47:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaUVI-0003cX-V4 for emacs-devel@gnu.org; Mon, 19 Nov 2012 11:47:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaUVH-0005Qt-6Q for emacs-devel@gnu.org; Mon, 19 Nov 2012 11:47:24 -0500 Original-Received: from limestone8.mail.cornell.edu ([128.253.83.168]:41423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaUVH-0005Pz-2U for emacs-devel@gnu.org; Mon, 19 Nov 2012 11:47:23 -0500 X-CornellRouted: This message has been Routed already. Original-Received: from soapstone1.mail.cornell.edu (soapstone1.mail.cornell.edu [128.253.83.143]) by limestone8.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id qAJGlIRK018928 for ; Mon, 19 Nov 2012 11:47:18 -0500 (EST) Original-Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id qAJGlILH020971 for ; Mon, 19 Nov 2012 11:47:18 -0500 (EST) Original-Received: from [192.168.1.2] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id qAJGlGpP028866 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 19 Nov 2012 11:47:17 -0500 (EST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 In-Reply-To: X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-PMX-Version: 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.11.19.163618 X-Original-Sender: kbrown@cornell.edu - Mon Nov 19 11:47:17 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 128.253.83.168 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154955 Archived-At: 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