X-Recipient: archive-cygwin@delorie.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=ccwOuXwiojMJCnxiItLARkueeCMdJO7O5O1RTjiuD7ZVZ90A4l4PW
	Xy5DZzUs22TfzzVxZsGA33U9JvpWgZcgCt09FN9gwvVfJ4Zu7H8BAiegSjRtuNri
	U+4uw8/i8xhL7P0cNW1mqAs7TSE2/tzGdAwCOeT7MkVf9zp3UcWt6A=
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=FmXOCERUL2UizH+cXR9Cnq+AGRI=; b=koWwX7hrh8JZXAfdH1jFRAST/hp1
	Pi+r3MQufJl826U6GMa/CW/PAOLNlDnyAlQt6IrCG3pTD1N6T7c3F74x+9fhl4N9
	KfFXOkY9YJBuDnANn8nZEbXNtg16hLjpmcbiIO7Y3C5CFuc8hQHPheJzDdh9n6oA
	xV++SDiK4b9munw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,NO_RELAYS autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sat, 31 Aug 2013 18:26:54 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: 20130830, size of shared memory region changed
Message-ID: <20130831162654.GF21571@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <6EEA8B83-0D67-46CD-8C60-D038BE5E3B97@Denis-Excoffier.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="6JAe/4X0qssghT2u"
Content-Disposition: inline
In-Reply-To: <6EEA8B83-0D67-46CD-8C60-D038BE5E3B97@Denis-Excoffier.org>
User-Agent: Mutt/1.5.21 (2010-09-15)

--6JAe/4X0qssghT2u
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Aug 31 14:00, Denis Excoffier wrote:
> Hello,
>=20
> I'm using Cygwin 32 bits. With the 20130830 snapshot i now get many messa=
ges like:
> "      x [main] y z shared_info::initialize: size of shared memory region=
 changed from 27984 to 21776"
>=20
> where x, y and z vary,
> - x is typically a small integer (most often 2 or 3, but occurrences were=
 observed of: 4, 5, 8, 27, even 311)
> - y is a program name (tcsh, echo, tr, grep, cut, cat, g++, factor...)
> - z is a PID
>=20
> The name "main" and the numbers 27984 and 21776 seem always present.
>=20
> It seems that each process initialization would generate a message. Other=
wise, all seems OK.

I can't reproduce this.  The size of the shared_info changed with my
tape drive related checkin from 2013-08-26, but your error message
points to some older process still running, still using the previous
DLL.  Since the shared_info region continues to exist, any newer process
using the new DLL will find that its idea of the sizeof shared_info
doesn't match what has been noted in shared_info itself.  Nothing else
can explain this.

What bugs me is that the change to the mtinfo structure (only the size
of some members were affected) apparently didn't change the value of
CURR_SHARED_MAGIC, but I don't think we can change this short-term.


Corinna

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

--6JAe/4X0qssghT2u
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBAgAGBQJSIhlOAAoJEPU2Bp2uRE+gupIQAImm8ogUIFI5D8/JnxOh5J42
r0sdIpan98N4XsCyLYDf6a24h4+bUo1gRg0s/n9ExhjhyUPnplVcSf6RS8MkCJTL
vZE69c96CAe6QlPLIEIsCK0K1Hv+QJwzr8qAP3TQRowKMgw7o6d9Z051lRK4o0VE
4IeElwIyXmDQlURfhG83dCj7qTwFChxZ8V83iBVzPDhGE55egRab4EZBBxs1gKU1
PN8FwM1+WOtDaYsxcSV8JLfZXLUp7bH65xMde1fa/cPzGOO4ZIZUKO0jjnPAJyGN
39KPe1BgCJeyD4GrYONMhyKDbCvrGL1pZsfE6I5P9Drob/zz8GpzX3Q2nVbQdfPb
c8ZpjKINFH4DP4QvLjplLIZQsd10PcFtO28qyy5yWhLJUxB65eIYrUB74bdfLpAX
G8jFTTyGYwxU3de6vQi/6me9vvrPf/0iyg696uG+xzCk7O4VA0UcPLdtM59urgUF
Q2vM4kgmkeYN3hiht6ugdcTBNankB2NYlaCXXRp4IC8tkdmvIrfzh88FQnXk+1to
K/TAULxryVArLyMEdbF5nwMWhJIem5e6vUyhFSzOa0MKRL0iY/RdOU11/10SIzJl
CahVvqGVtMbKtlSQzcT3PIhZQyQaK0+jTxqBevVsbr+uMLPDI57NYcN16Bddqx6P
U5Y7Rh1ghsI2lSA30Ct2
=q2IM
-----END PGP SIGNATURE-----

--6JAe/4X0qssghT2u--
