delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/10/13:06:46

X-Spam-Check-By: sourceware.org
Date: Sat, 10 Dec 2005 13:06:38 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: JeDi <jedi200581 AT yahoo DOT co DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: 1.5.18-1: issue with cygwin1.dll: "system shared memory version mismatch detected"
In-Reply-To: <20051210175558.2546.qmail@web86804.mail.ukl.yahoo.com>
Message-ID: <Pine.GSO.4.63.0512101257320.6859@slinky.cs.nyu.edu>
References: <20051210175558 DOT 2546 DOT qmail AT web86804 DOT mail DOT ukl DOT yahoo DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Sat, 10 Dec 2005, JeDi wrote:

> > It's irrelevent what the name of the .exe is.  As Igor already said,
> > even if a third party packages a cygwin1.dll that has simply been
> > renamed, it will still have the same shared memory name, so that if
> > the two DLLs are ever loaded at the same time they will clash.  This
> > is exactly what the error message you're getting indicates -- that you
> > have two incompatible Cygwin libraries on your system somewhere, even
> > if one of them has been renamed to something you don't recognise.
>
> Brian,
>
> I have uninstall OpenSSH and every software that was including
> cygwin1.dll (WinBoard, ...), and I obtain the same message when I try to
> launch cygwin. Pardon my insistance, I'm not familiar to the dll
> mechanism, and I understand that the name in the shared memory af a DLL
> instance does not correspond to the dll filename, but if I rename a .dll
> file, how can it be loaded again ?
> Furthermore, I have, right now, just one and only one cygwin1.dll, and
> it is the original one from the latest release. So maybe another program
> has loaded this dll from a totally different filename. Is there a way to
> know which dll is loaded in memory and which filename or program it is
> loaded from ?

Yes, you could try using ProcessExplorer or some other tools (e.g.,
"handle") from SysInternals.com (ProcessExplorer can give you a list of
all loaded DLLs, for example).  However, I don't think they will let you
search by the shared memory region name...

> I don't mean to bother, just trying to understand and fix the problem as
> cygwin is a great tool and would help me in what I'm doing.

Have you rebooted since you've uninstalled all of those programs?  A
program still running with the old DLL will cause your error message to be
produced, even if the uninstall succeeded.

> PS: attached my latest cygcheck output.

This looks suspicious:

> HKEY_CURRENT_USER\Software\Cygnus Solutions
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
> HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

(you seem to be missing all your mounts).  So does this:

> Cygwin Package Information
> No setup information found
> Use -h to see help about each section

Do you have the /etc/setup directory in your Cygwin installation?

I suggest you re-run Cygwin setup and reinstall all of your packages.  If
you haven't cleared the local package cache, you should even be able to do
this without any downloads.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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