This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

system shared memory version mismatch


We have an intermitten problem with running any Cygwin component.
Typically, we start zsh and run everything inside this shell.

The Cygwin installed directory is D:\APPS\Cygwin
The OS is Windows Server 2003 Enterprise Edition.

When the problem appears, the error seems to complain about
cygwin1.dll version mismatch.
I checked the Windows system path and cygwin1.dll is only found in
I ran cygcheck in a command prompt window with current dirve and
directory at D:\APPS\Cygwin\bin
I got the following error and the size of cygcheck.out is 0 byte.

D:\APPS\Cygwin\bin>cygcheck -s -v -r > d:\temp\cygcheck.out
      6 [main] ? (8048) D:\APPS\Cygwin\bin\cygcheck.exe: *** fatal
error - system shared memory version mismatch detected -
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.

This command window locked up and I closed it (clicked on the X in the
top right corner, wait for a few seconds and click End Task button in
the popped up dialog.

I renamed D:\APPS\Cygwin\bin\cygwin1.dll
to D:\APPS\Cygwin\bin\cygwin1.dll.bak
and ran cygcheck again in anohter command window with current drive
and directory the same as the last one.

D:\APPS\Cygwin\bin>cygcheck -s -v -r > d:\temp\cygcheck.out
garbled output from 'id' command - no uid= found
garbled output from 'id' command - no uid= found

Three dialogs popped up - two with title text "id.exe - Unable to
Locat Component" and one with "cygrunsrv.exe - Unable to Locat
The dialog body text are the same "This application has failed to
start becasue cygwin1.dll was not found. Re-installing the application
may fix this problem." These dialogs should prove the OS could find
only one cygwin1.dll before the renaming.

Attached is cygcheck.out from the second run.

Once, after the problem had occured, the box needed rebooted. In
another ocassion, manually terminating all zsh processes from Windows
task manager was enough to fix the problem temporarily.

Also, it is strange that, while one Windows user account (with admin
rights on the box) has the problem, another account (with only
non-admin rights), connecting to the box at the same time, does not
encounter any problem.

Is this a know issue? Is there any patch available to cure? Please
help. Many thanks.



Attachment: cygcheck.out
Description: Text document

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]