Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin-developers/> List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com> List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Fri, 20 Jul 2001 01:29:41 +0200 From: Corinna Vinschen <vinschen AT redhat DOT com> To: cygwin-developers AT cygwin DOT com Subject: Re: fork on win95 Message-ID: <20010720012941.T730@cygbert.vinschen.de> Reply-To: cygdev <cygwin-developers AT cygwin DOT com> Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <005101c11036$06368800$806410ac AT local> <20010719131210 DOT Y730 AT cygbert DOT vinschen DOT de> <20010719113100 DOT B5093 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010719113100.B5093@redhat.com>; from cgf@redhat.com on Thu, Jul 19, 2001 at 11:31:00AM -0400 On Thu, Jul 19, 2001 at 11:31:00AM -0400, Christopher Faylor wrote: > On Thu, Jul 19, 2001 at 01:12:10PM +0200, Corinna Vinschen wrote: > >values (stdin, stdout and stderr, probably). Then the normal `ps' output > >appears. Generally, the above ERROR_INVALID_HANDLE output appears, > >then everything works fine. That's also valid for the aforementioned > >ssh session. As usual nothing happens when started under strace control. > > And, as usual, this would call for some debugging with gdb. Hmmpf, just had a first try. I tried a `gdb -nw /bin/sh' and then a `r -c ps'. It crashes reproducable in check_valid_pointer() called from pthread_mutex_lock() stuff called from read_etc_passwd(). Before reaching main(), of course. I need some sleep now, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc.