delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/10/14:31:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B215042.1060101@gmail.com>
Date: Thu, 10 Dec 2009 19:47:14 +0000
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] problems with compiling geos
References: <4B1F8EC9 DOT 5080805 AT cryptelium DOT net> <4B1FB774 DOT 7030307 AT gmail DOT com> <4B1FB5F6 DOT 6030400 AT cryptelium DOT net> <4B1FBEA3 DOT 8090809 AT gmail DOT com> <4B1FCC14 DOT 5000900 AT cryptelium DOT net> <4B2009EA DOT 9030505 AT cryptelium DOT net> <4B203F3C DOT 3010806 AT gmail DOT com> <4B20D69D DOT 3040309 AT cryptelium DOT net>
In-Reply-To: <4B20D69D.3040309@cryptelium.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

kiorky wrote:

> Indeed, after the rebase sshd has really strange behaviour that make it unusable.
> To explain the full context, i have a non sufficient privilegied user to start
> services.
> My procedure to launch it is:
> * In my setup, i have an host somewhere that i connect to with RDP.
> * On the host rdesktop screen, i open a new cygwin shell
> * This host is not totally open to the world, so i make a reverse tunnel going
> to my box with port 'xxxx'.
> * On this host, i launch sshd by hand with '/usr/sbin/sshd -D'
> * Then, on my box, i issue a 'ssh -l user AT localhost -pxxxx'
> * My local shell is then stalled
> * But it seems the shell spawns on the server side (rdesktop window) as i see in
> the 'cygwin shell', "Last login...," and the prompt.
> 
> - Another strange problem is with subversion on the rdesktop shell:
> $ svn st
>      20 [main] svn 1168 E:\cygwin2\bin\svn.exe: *** fatal error - cygheap base
> mismatch detected - 0x6120C6E0/0x68C6E0.
> 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.
> 
> There are no cygwin1.dll out there else.

  If you rebased while logged in over ssh, and using bash, that will have
caused the problem.  You do have two different cygwin1.dlls after that: the
one on disk that has a new base address, and the one that's still loaded into
memory in all those cygwin processes that are still running, which is still
based at the original address.  Rebasing everything is a tricky process, it
has to be done using just an 'ash' shell (not bash), and you shouldn't have
any other cygwin processes running.  Check the docs in
/usr/share/doc/Cygwin/rebase-3.0.1.README.

    cheers,
      DaveK



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

- Raw text -


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