delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/18/08:39:39

X-Spam-Check-By: sourceware.org
Date: Sat, 18 Feb 2006 01:39:30 -0800 (PST)
From: Mark Geisert <mark AT maxrnd DOT com>
To: cygwin AT cygwin DOT com
Subject: RE: cygheap base mismatch detected
In-Reply-To: <B7632F7D9BD7B04B94B475272FAD530805705904@elschivexch01.elsevier.com>
Message-ID: <Pine.BSF.4.63.0602180127000.7153@m0.truegem.net>
References: <B7632F7D9BD7B04B94B475272FAD530805705904 AT elschivexch01 DOT elsevier 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 Fri, 17 Feb 2006, Dill, Jens (END-CHI) wrote:
[...]
> I did try rebaseall.  It told me all the Oracle DLLs were not
> rebaseable.  The -v output is included below.
[...]
>
> /usr/bin/tclpip84.dll: skipped because not rebaseable
> /usr/share/terminfo/a/ansi+sgrso: skipped because not rebaseable
> /usr/share/terminfo/c/cons60-iso: skipped because not rebaseable
> /usr/share/terminfo/x/xterm-boldso: skipped because not rebaseable
> /usr/share/xemacs/xemacs-packages/etc/psgml-dtds/ISO_8879-1986/entities/ISOa
> mso: skipped because not rebaseable
> /cygdrive/d/oracle/app/oracle/product/9.2.0/bin/orasql9.dll: skipped because
> not rebaseable
> /cygdrive/d/oracle/app/oracle/product/9.2.0/bin/oracore9.dll: skipped
> because not rebaseable
> /cygdrive/d/oracle/app/oracle/product/9.2.0/bin/oranls9.dll: skipped because
> not rebaseable
> /cygdrive/d/oracle/app/oracle/product/9.2.0/bin/oraunls9.dll: skipped
> because not rebaseable
> /cygdrive/c/WINDOWS/system32/MSVCRT.dll: skipped because not rebaseable
[...]

Rebaseall calls rebase, and rebase may be failing on some or all of these 
because it has an outdated idea of where the IMAGE_NT_SIGNATURE is in 
image files.

The code at /src/rebase-2.3.1/rebase.c:255 assumes the signature is at 
offset 0x80 in the image.  This was true in the early Windows days but has 
long since been generalized.  The technique nowadays is to obtain the 
short integer value e_lfanew at offset 0x3C in the image, and use that as 
the offset to check for the signature.

I see that the /usr/bin/tclpip84.dll you mention has an e_lfanew value of 
0x80, so rebase must have some other issue with that file.  But maybe your 
Oracle DLLs use the more modern image layout.
HTH,

..mark

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