Rebase 1.5-1: Causes invalid page fault

Christopher Faylor cgf@redhat.com
Tue Jun 18 10:03:00 GMT 2002


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/



More information about the Cygwin mailing list