Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 04 Jul 2002 21:25:47 -0400 From: Jason Tishler Subject: Re: Rebase 1.5-1: Causes invalid page fault In-reply-to: <20020627204841.20289.qmail@web21010.mail.yahoo.com> To: Nicholas Wourms Cc: cygwin AT cygwin DOT com Mail-followup-to: Nicholas Wourms , cygwin AT cygwin DOT com Message-id: <20020705012547.GO1776@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20020627160818 DOT GA1276 AT tishler DOT net> <20020627204841 DOT 20289 DOT qmail AT web21010 DOT mail DOT yahoo DOT com> Nicholas, On Thu, Jun 27, 2002 at 01:48:41PM -0700, Nicholas Wourms wrote: > Ok, I just tried running it on the latest libpython2.2.dll both with the > SDK version and with Microsoft's version. Here are the results: > > MS ReBase.exe: > C:\Cygnus\cygwin\tmp\automake>"C:\Program Files\Microsoft SDK\Bin\ReBase.exe" -d -b 0x68000000 libpython2.2.dll > REBASE: *** RelocateImage failed (libpython2.2.dll). Image may be > corrupted > > REBASE: Total Size of mapping 0x0000000000000000 ^^^^^^^^^^^^^^^^^^ ****************** > REBASE: Range 0x0000000068000000 -0x0000000068000000 > > Ironically, when I checked this file in cygwin with "file", it says > libpython2.2.dll: MS Windows PE Intel 80386 console DLL > > Does that mean it is ok? I don't know. Does python still work? > Did rebase actually work? I don't think so. The above indicates a size of 0 -- this is bad. You can use objdump to verify if the rebasing was successful: $ objdump -p libpython2.2.dll | fgrep ImageBase ImageBase 67f30000 Note I get the following (under Windows 2000): $ rebase -d -b 0x68000000 libpython2.2.dll REBASE: Total Size of mapping 0x000d0000 REBASE: Range 0x67f30000 -0x68000000 > Cygwin's rebase gave me the same pagefault as before. So if the > previous indicates success, then at least we know it isn't me? Sorry, I don't have access to 9x/Me so you will have to debug the problem with my rebase tool under Me. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/