delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/26/14:17:37

X-Spam-Check-By: sourceware.org
Message-ID: <447745FF.1000906@cygwin.com>
Date: Fri, 26 May 2006 14:16:31 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051223 Fedora/1.5-0.2.fc4.remi Thunderbird/1.5 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: problem + workaround: system shared memory version mismatch detected
References: <20060526175942 DOT GB18274 AT true>
In-Reply-To: <20060526175942.GB18274@true>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

noel AT natnix DOT com wrote:
> Problem:
> 
> Running an older cygwin app can cause newer cygwin apps to fail with
> "system shared memory version mismatch detected"
> 
> To Reproduce:
> 
> 1) start a newer cygwin bash shell.  I tested cygwin version 1.5.19-4.
> 
> 2) run an app that uses an older cygwin1.dll.  My app used
>    cygwin1.dll.  File->Properties on the old cygwin1.dll revealed
>    BuildDate: 2004-11-10 08:34, Product Version: 1.5.12.
> 
> 3) Go back to the running newer bash shell, and try to run something.
>    It will fail with "system shared memory version mismatch detected",
>    like this:
> 
> bash-1.5.19-4$ ls
>       2 [main] ? (2388) c:\cygwin\bin\bash.exe: *** fatal error - system
> shared memory version mismatch detected - 0x75BE0074/0x75BE0096.
> This problem is probably due to using incompatible versions of the
> cygwin DLL.
> Search for cygwin1.dll using the Windows Start->Find/Search facility
> and delete all but the most recent version.  The most recent version
> *should*
> reside in x:\cygwin\bin, where 'x' is the drive on which you have
> installed the cygwin distribution.  Rebooting is also suggested if you
> are unable to find another cygwin DLL.
> -935119192 [main] bash 3436 child_copy: stack write copy failed,
> 0x22E950..0x230000, done 0, windows pid 2287748, Win32 error 5
> bash: fork: No error
> 
> Cause:
> 
> cygwin1.dll creates a shared memory segment used by all cygwin apps.
> The older cygwin1.dll trashes that shared memory segment, causing
> newer cygwin apps to fail.
> 
> Workaround:
> 
> To get out of the crashing state, kill all cygwin apps and restart
> them.  You don't have to restart your whole computer, you just have to
> get the newer cygwin1.dll to recreate the shared memory segment.
>  
> Try deleting the old cygwin1.dlls and make sure the newest cygwin1.dll
> is in your path.  Hopefully your older app will still work with the
> newer cygwin1.dll.
> 
> 
> Hope that helps!

Me too!

Hey, wouldn't it be cool if we had a FAQ entry about this... hey we do!

<http://cygwin.com/faq/faq-nochunks.html#faq.using.multiple-copies>

Will wonders never cease? ;-)

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

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

- Raw text -


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