delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/20/06:47:04

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=LK1YpjYh+D9KUMv4rTW+zeC6MdwIKu7lMSJK4Vm0rTyZQOfP5C8AR
uBecFZMcyS/td1WmPesOPiNKBRPo1P7hT0bLmdxBaOwVQIID8EteBF5z1hwMoNkA
Ujfl+pmu62H73VuNIfQzYNDt98JRVX8ii3U1ohvRb4kOV73K1fHJpE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=AuV6W/gg+ZJlJVnfVYJsTqDWR3s=; b=VQofrWgG4bb6CJqCIElZ/q9+sxYC
6E2DZyYZEZYPOweJs4h/18ybes1vOQ+JHcJhmp94wblg+icRSPelyWXUY1P4raNg
GX30vRnzNx/LzGSEaM+54zz9gXYlluq24L2ZpWJlSrDYxa9SFNIzm9XUmySnIu1l
kEUIfbK8nT/iTaw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-93.9 required=5.0 tests=BAYES_50,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=installations, installs, dab, rwp
X-HELO: calimero.vinschen.de
Date: Wed, 20 Apr 2016 12:46:33 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Process map and fork problems
Message-ID: <20160420104633.GA26118@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20160420T121651-786 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20160420T121651-786@post.gmane.org>
User-Agent: Mutt/1.5.24 (2015-08-30)

--ibTvN161/egqYuK8
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Achim,

On Apr 20 10:27, Achim Gratz wrote:
> I'm chasing a problem on some 32bit Windows installs that supposedly
> happened after one of the Windows updates (and probably other software
> updates) in the last few months (the affected users were unable to pin it
> down further unfortunately).  It's obviously caused by two heap sections =
in
> the process map that are smack dab in the middle of the address range used
> by rebase:
>=20
> 20000000-200A0000 rw-p 00000000 0000:0000 0                   [heap]
> 200A0000-38000000 =3D=3D=3Dp 000A0000 0000:0000 0                   [heap]

This is one heap.  The first region is just the already committed
part, the remainder is the reserved part.

THis is the standard Cygwin heap area on 32 bit machines, which always
starts at 0x20000000.

> These do not exist on 32bit Cygwin installs on 64bit Windows installation=
s,

On 64 bit systems, 32 bit applications have a 4 Gig virtual address
space.  On 32 bit systems, procecces only have a 2 Gig virtual address
space, unless the /3gb kernel option is given.

On 64 bit systems and on /3gb enabled 32 bit systems, the heap of 32 bit
Cygwin processes always starts at 0x80000000L.

Since that isn't available on 32 bit systems by default, the heap has
to start within the lower 2 Gigs.  That's where the 0x2000000 address
comes from.

If you have collisions because you're providing too many Cygwin DLLs,
you have to tweak these installations manually.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--ibTvN161/egqYuK8
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXF14JAAoJEPU2Bp2uRE+gMQMP/0MmNo2iv4JICvTTvbw/XOyF
TwKbnmaBI1iczRPxypyof7mGVoqOr7K72tT3XsE07ugYS3XeA712/MnUenz8HtGT
CsyKLgjKT+MsE4avse5FL7j+ehAcDO+5OFcMOe+RNMkRAJ2BBkDuBFZ6cxDtO4HA
ep5MAqS0V+xDGk4v8P1yR2hb1Yi/5aYJgyeS1cu51s4HCkNT0xPjMTEZygjDtRZf
gyNJVx1BU5IIXMwJ1bluRACvLQvs1r5BYkMLNXKbMUI9c35wrFTxQwugH7p+KKwg
5Fw3YNeTxSVML1F7mpEl5hWrtXy8kASpn5/jtmxsQ2kjH4VWg9LsktAgI5yDlqWP
mK0U5HHY70w2ypBe9mhjBV1PN+F4SXqDZ4LrxOzJMDXHKQ3+NSj44MyeK5ftlrpO
wee9xRf2SJtaqm1lijw3YkbkZXsRAz4f2skuU2gUtv2qpBTjJQOmcnodh+3PQ7tI
vJjIfmHCa0ZcXcYUzhROyhCaxMS9mPjo3Rl6n4PyGEtreEf5Hu28xzN5qLZ19dSr
atLE9gPHV0Wa10jbvIRk1shj4dJ0jNFOgzMCCLR9POb391lov9vdSsP7sUhU4Lxr
CbcKXXDQubSCRG/hA8TdgN2WITOk7UAtCefuIwjzRglA6M+SYVII5QP9TQHbWjPi
wzVrsqpvUyI3B+FD/KLw
=IIEl
-----END PGP SIGNATURE-----

--ibTvN161/egqYuK8--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019