This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: get windows error message 0xc0000142 on starting cygwin app

On Thu, Sep 20, 2001 at 08:46:07PM +0200, Ralf Habacker wrote:
>< On Wed, Sep 19, 2001 at 04:53:09PM +0200, Ralf Habacker wrote:
>> >> No, I mean that an instruction that manipulates the stack results in an
>> >> error.  That indicates to me that the stack pointer is screwed up.
>> >>
>> >But that would be code in the ntdll.dll or kernel32.dll ? But as I understand
>> >does this code uses the stack of the current process, that is for
>> example bash
>> >or ssp or gdb, isn't it ?
>> If you don't think it's the stack pointer, you can verify the issue very
>> quickly.  Inspect it in gdb.
>> (gdb) info reg $esp
>> (gdb) x/20x $esp
>Can you tell me to which adress the stack is be set on starting a new app ?

Maybe.  Can you tell me the air speed velocity of an unladen swallow?  :-)

Why are we moving on to another subject?  What was the result of the
above investigation?

You can find the answer to this question by writing an app and inspecting
its stack.  It is not at a fixed address but it probably usually shows
up in roughly the same place in most apps.  I'm not sure why that's


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]