Mail Archives: cygwin/2006/05/26/14:17:37
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 -