From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1852 invoked by alias); 13 Aug 2013 18:26:59 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 1815 invoked by uid 89); 13 Aug 2013 18:26:59 -0000 X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED autolearn=ham version=3.3.2 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 13 Aug 2013 18:26:58 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 95A67520D3B; Tue, 13 Aug 2013 20:26:53 +0200 (CEST) Date: Tue, 13 Aug 2013 18:26:00 -0000 From: Corinna Vinschen To: cygwin-xfree@cygwin.com Subject: Re: [ANNOUNCEMENT] Uploads for 12 August Message-ID: <20130813182653.GA4315@calimero.vinschen.de> Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com References: <520A01DF.1040208@alice.it> <520A21B1.8060503@alice.it> <520A3EF6.80700@cornell.edu> <520A7654.3080207@users.sourceforge.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <520A7654.3080207@users.sourceforge.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Found: No X-SW-Source: 2013-08/txt/msg00023.txt.bz2 --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1949 On Aug 13 13:09, Yaakov (Cygwin/X) wrote: > On 2013-08-13 09:13, Ken Brown wrote: > >Yes. The fix was to add the following for the Cygwin build, very early > >in main(): > > > > setenv ("G_SLICE", "always-malloc", 1); > > > >I don't know why this no longer works. Maybe Glib now does its memory > >management initialization before emacs's main() is entered. >=20 > Exactly; in glib-2.36, g_type_init has been moved to a ctor, which > is automatically called before main(); hence, this setenv is too > late now. Mozilla software is also affected by this, see: >=20 > https://bugzilla.gnome.org/show_bug.cgi?id=3D687763 > https://bugzilla.mozilla.org/show_bug.cgi?id=3D833117 >=20 > and many others. Firefox et al already use launcher scripts, so > adding one more line won't be a big deal for them. >=20 > >Yaakov, is there any chance that you could patch Glib to do the > >equivalent of G_SLICE=3Dalways-malloc on Cygwin? This isn't really an > >emacs issue. It would affect any GTK application that provides its own > >malloc rather than using Cygwin's malloc. (But emacs is probably the > >only such application in the distro.) >=20 > Given that the only programs which seem to be *practically* affected > by this is our Emacs, and Firefox/Thunderbird/etc. (which we don't > have yet), and using G_SLICE=3Dalways-malloc apparently affects > performance, I don't think that would be an appropriate solution. >=20 > For now, I think you'll have to add a wrapper script. Can anybody of you explain to me what the actual underlying problem is? I mean, why this error message: ***MEMORY-ERROR***: [3044]: GSlice: failed to allocate 504 bytes (alignment: 512): Function not implemented What function is not implemented? Is that something we can fix, perhaps in the Cygwin DLL? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) iQIcBAEBAgAGBQJSCnptAAoJEPU2Bp2uRE+gXi0P/2mWFmLRDx2lktNPrPHkYfhY k2JCj3kDc0HJi8TaTRFm2gTPjLFbYWA8mQ9DEhiaGZJEmeLkdOnt9ghHqvEu5X89 j1x+SDDw04dn8bq4I/tnetVg4XQwGzBv9mxQHKo1cKX4whkA/vYX0x29l6tZfrMX 13foEUP36Lrfss86oR1Qm9mm18UzOG1FmJ/TSlQwvG+ucZY0fJRwzI2EwGw8bHeD hZgGCtyJIfDaeLL2FEJrB/Encpv+/aOcA/fNuDEm7ZuspZDAgp8YZnaABbQ1blV2 iIKRlCRbPS0M0a1szseZYBU+bjxvZ2Eg6O+br6qNa6PllEl1SbziZYkyLXSzf1K8 HsNQ92p+TZGJYIpBdVs1aWJpVS57k6SOoDEpsx2X1Jl0sLDOhXV1VRX1hSEzJxxN ngSm9I4M1Qp5wD6xOFoTEB0SywW/WlK3qVP0CVaY44aurRHLasD6PoSQZO9Mm2us 3hJOV0sUJ7BvvLjx1ECXSQ1am/lDeToZ/cMx7nOtlGeISdhT96V5Mwmx0gqEmf9b 234hq5lOPWQhvcyhtA1XliuJmP3HG9Aoj+Ok2U21QnbrJi1uUI8dCTz2YQsHirdZ Bnkq2XSkfSfENpL0x9vwMnsebGBHwhCx6ucV6DaZMiFg+KOhqhSbTmRCoT1TRAv4 V7YLt0ZWs6e50GY4/lw9 =o4bd -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--