From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6963 invoked by alias); 18 Jun 2002 11:51:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6944 invoked from network); 18 Jun 2002 11:51:16 -0000 Received: from unknown (HELO web21002.mail.yahoo.com) (216.136.227.56) by sources.redhat.com with SMTP; 18 Jun 2002 11:51:16 -0000 Message-ID: <20020618115116.20646.qmail@web21002.mail.yahoo.com> Received: from [130.127.121.212] by web21002.mail.yahoo.com via HTTP; Tue, 18 Jun 2002 04:51:16 PDT Date: Tue, 18 Jun 2002 06:10:00 -0000 From: Nicholas Wourms Subject: Re: Rebase 1.5-1: Causes invalid page fault To: cygwin@cygwin.com Cc: jason@tishler.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00884.txt.bz2 Jason, Forgetting about apache, I want to focus on why rebase isn't working on WindowsME. First a question: In the archives you were never clear about which dll's should *NEVER* be included in the list to be rebased? Also, since these types of questions are coming up every now and then, I'm willing to write a faq the list on how to use rebase, if you want.... As to my particular issue, I went and recompiled rebase without stripping it and included debugging symbols. I thought I'd give you the output of DrMingw when I run rebase in the following way (provided by Chuck in an earlier e-mail): rebase -d -b 0x68000000 -o 0x10000 cygXpm-X4.dll cygXpm-noX4.dll \ cygbz21.0.dll cygbz2-1.dll cygform5.dll cygform6.dll \ cyggdbm.dll cyghistory4.dll cyghistory5.dll cygintl.dll \ cygitcl30.dll cygitk30.dll cygjbig1.dll cygjpeg6b.dll cygmenu5.dll \ cygmenu6.dll cygncurses++5.dll cygncurses++6.dll cygncurses5.dll \ cygncurses6.dll cygpanel5.dll cygpanel6.dll cygpcre.dll \ cygpcreposix.dll cygpng2.dll cygpng10.dll cygreadline4.dll \ cygreadline5.dll cygregex.dll cygssl.dll cygtcl80.dll \ cygtclreg80.dll cygtiff3.dll cygtk80.dll cygz.dll \ /usr/lib/python2.2/lib-dynload/*.dll \ /usr/lib/python2.2/site-packages/*.dll Here's what Dr. Mingw says: REBASE.EXE caused an Illegal Instruction at location 00000002. Registers: eax=aeebeeab ebx=0000000c ecx=0077fbac edx=84636178 esi=84636080 edi=0077fbe8 eip=00000002 esp=0077f948 ebp=0077f974 iopl=0 nv up ei ng nz na pe nc cs=0187 ss=018f ds=018f es=018f fs=4aef gs=0000 efl=00010282 Call stack: 00000002 7B967382 IMAGEHLP.DLL:7B967382 ReBaseImage64 7B96711B IMAGEHLP.DLL:7B96711B ReBaseImage 0040154C REBASE.EXE:0040154C main rebase.c:71 int main( int argc = 86, char * * argv = &0x007909d9 ) 004010EC REBASE.EXE:004010EC 00401203 REBASE.EXE:00401203 BFF7B9E4 KERNEL32.DLL:BFF7B9E4 IsDBCSLeadByte BFF7B896 KERNEL32.DLL:BFF7B896 IsDBCSLeadByte BFF7A24F KERNEL32.DLL:BFF7A24F MakeCriticalSectionGlobal Ok next, I ran gdb on it and here are the results with a backtrace: Program received signal SIGILL, Illegal instruction. 0x00000002 in ?? () (gdb) bt #0 0x00000002 in ?? () #1 0x7b967382 in _libkernel32_a_iname () #2 0x7b96711b in _libkernel32_a_iname () #3 0x0040154c in main (argc=43, argv=0x8a0a20) at rebase.c:58 I hope that this might provide some better information for you. Is there any other source of information that can help resolve this problem? Cheers, Nicholas __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- 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/