delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/31/13:28:50

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=RaLcZWSylGrNzd9uKpUIeCFrfiDb4vX4wj5wc1Vck/n4AtJ2dQCVm
2ktdD8fyYrPAe/RMsiEfYgERXRPDE20YRI+ehq+EaNLvjpTFPR7wJcy4nq3TnwS6
8lbz9lULrFtxsA+u9Z7+z68vvzmxxPzaYxZRPsJE2p6blv802zn5vY=
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=8OyycqCZsyLAvreaxDlFPZYmyTQ=; b=kfJ4gPZ/giQ3NdZYrGoh13XHRPM/
AiTle3oQO+u00fhGVetHy7yuEVNmEykKybi+0ZDDpgtn63DTxFpuxKaXqt3fMLwi
wGuRsPfBsFs7GmIh68qXhPgxIiKicX+H1/ce7shcYlXs9S0Xp3s4OH+85/PTD8CA
2CDzJ89Pge/73BY=
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=2.2 required=5.0 tests=AWL,BAYES_00,FSL_HELO_NON_FQDN_1,HELO_LOCALHOST,RCVD_IN_PBL,RCVD_IN_RP_RNBL,RCVD_IN_SORBS_DUL,RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: mho-01-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX181k7bhnH0Rryf2uaGgSRVH
Date: Sat, 31 Aug 2013 13:28:29 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 20130830, size of shared memory region changed
Message-ID: <20130831172829.GA4786@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <6EEA8B83-0D67-46CD-8C60-D038BE5E3B97 AT Denis-Excoffier DOT org> <20130831162654 DOT GF21571 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20130831162654.GF21571@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Sat, Aug 31, 2013 at 06:26:54PM +0200, Corinna Vinschen wrote:
>On Aug 31 14:00, Denis Excoffier wrote:
>> Hello,
>> 
>> I'm using Cygwin 32 bits. With the 20130830 snapshot i now get many messages like:
>> "      x [main] y z shared_info::initialize: size of shared memory region changed from 27984 to 21776"
>> 
>> 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
>> 
>> The name "main" and the numbers 27984 and 21776 seem always present.
>> 
>> It seems that each process initialization would generate a message. Otherwise, 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.

The magic recalculation is pretty crude.  It only detects changes in shared_info
itself, not in structures used by shared_info.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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