This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 20130830, size of shared memory region changed
- From: Denis Excoffier <cygwin at Denis-Excoffier dot org>
- To: cygwin at cygwin dot com
- Date: Sat, 31 Aug 2013 19:39:59 +0200
- Subject: Re: 20130830, size of shared memory region changed
- Authentication-results: sourceware.org; auth=none
- References: <6EEA8B83-0D67-46CD-8C60-D038BE5E3B97 at Denis-Excoffier dot org> <20130831162654 dot GF21571 at calimero dot vinschen dot de>
On 2013-08-31 18:26, 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.
You're right, and this is only my fault. After logoff/login i was unable
to reproduce this. In fact, ssh-agent (that i introduced recently in my
profile, and which i normally kill by 'ssh-agent -k', was not
actually killed this time since after the replacement of the cygwin1.dll
launching a new process always fails) is the culprit. I will now always
logoff/login after installing a new snapshot (and also try to
double-check my reports more closely in the future...).
Sorry for the noise.
Denis Excoffier.
--
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