ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/09/20/14:49:48

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Thu, 20 Sep 2001 14:50:15 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com
Subject: Re: get windows error message 0xc0000142 on starting cygwin app
Message-ID: <20010920145015.A30281@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com
References: <20010919110507 DOT H13403 AT redhat DOT com> <015c01c14204$8200d6c0$af6407d5 AT BRAMSCHE>
Mime-Version: 1.0
In-Reply-To: <015c01c14204$8200d6c0$af6407d5@BRAMSCHE>
User-Agent: Mutt/1.3.21i

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
important.

cgf

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019