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: Tue, 18 Jun 2002 11:42:29 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Rebase 1.5-1: Causes invalid page fault Message-ID: <20020618154229.GA3816@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20020618143435 DOT GG1568 AT tishler DOT net> <20020618153547 DOT 16867 DOT qmail AT web21010 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020618153547.16867.qmail@web21010.mail.yahoo.com> User-Agent: Mutt/1.3.23.1i On Tue, Jun 18, 2002 at 08:35:47AM -0700, Nicholas Wourms wrote: >>Use gdb by setting a breakpoint ("b" command) at the call to >>ReBaseImage() and then printing ("p" command) out the arguments. Do >>they look valid? > >Hmm gdb wouldn't let me set a breakpoint on ReBaseImage (it says the >symbol can't be found), so I just set it to line 58. When I step >through the execution, I discover that the pathname argument prints out >to: >"C:\\Cygnus\\cygwin\\bin\\cygXpm-noX4.dll\000???\030?\003x\000?\003x\001\000\000\000\233\000\212\000(?w\000J?\000x\001\000\000\000!\000\000\000&???P\212?\201\030?\003x\000?\003x\013\000\000\000\234\000\212\000P?w\000J?\000x\013\000\000\000\000\000W\000&???\001\000\000\000\000\000W\000&???P\212?\2010\n\212\000\206\002\000\000?\035\000x\234?w\000??\000x\t\000\000\000??\000xx??\201+\000\000\000\000\000W\000\000?\003x\233\000\212\000\000\000\212\00082\003x??????w\000h?w\000" > >Is all that extra junk supposed to be tacked on? Probably. It is a null terminated string so it should be fine. cgf -- 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/