www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/07/19/19:56:09

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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: fork on win95
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
Date: Fri, 20 Jul 2001 09:40:01 +1000
Message-ID: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F133@itdomain002.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: fork on win95
Thread-Index: AcEQq9rBYa/XqPgqRDqXUO5yOCAcJwAAAvYQ
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "cygdev" <cygwin-developers AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id TAA06604

> -----Original Message-----
> From: Corinna Vinschen [mailto:vinschen AT redhat DOT com]
> Sent: Friday, July 20, 2001 9:30 AM
> To: cygwin-developers AT cygwin DOT com
> Subject: Re: fork on win95
> 
> 
> 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
> 

Sleep(); Right now thats done :]. The IsBad*Ptr functions, when a
debugger is attached, generate a signal if the pointer is bad. And the
pointer is bad for most pthread_*_create|init calls unless the memory
region is initialised to '\0'. 

Just 'cont' from that first exception.

Rob

- Raw text -


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