Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 18 Jun 2002 11:42:29 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: Rebase 1.5-1: Causes invalid page fault
Message-ID: <20020618154229.GA3816@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20020618143435.GG1568@tishler.net> <20020618153547.16867.qmail@web21010.mail.yahoo.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/

