delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/04/22/16:33:27

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: Sun, 22 Apr 2001 22:33:17 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT sources DOT redhat DOT com
Cc: Chris Faylor <cgf AT redhat DOT com>
Subject: SHOWSTOPPER: [was Re: vfscanf in newlib]
Message-ID: <20010422223317.S15499@cygbert.vinschen.de>
Reply-To: Corinna Vinschen <cygwin-developers AT cygwin DOT com>
Mail-Followup-To: Corinna Vinschen <vinschen AT redhat DOT com>,
cygwin-developers AT sources DOT redhat DOT com, Chris Faylor <cgf AT redhat DOT com>
References: <987861904 DOT 20126 DOT ezmlm AT sources DOT redhat DOT com> <3AE1C5B2 DOT B63F2B54 AT ece DOT gatech DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3AE1C5B2.B63F2B54@ece.gatech.edu>; from cwilson@ece.gatech.edu on Sat, Apr 21, 2001 at 01:38:58PM -0400

On Sat, Apr 21, 2001 at 01:38:58PM -0400, Charles S. Wilson wrote:
> > On Sat, Apr 21, 2001 at 01:21:30AM -0400, Charles Wilson wrote:
> > > I've just discovered that I get a coredump with all three when I try to
> > > run ssh.  #$!@&$
> > 
> > I just build the latest from CVS and it's running fine, even ssh and
> > sshd.
> > 
> > Corinna
> 
> Thank you.  I guess that means the answer from my email is #3: I've
> somehow lost the ability to build a working cygwin snapshot from a
> perfectly good codebase.  Funny, I don't remember the surgeon saying
> "Ooops" during my recent brain surgery.... :-)

Sorry Chuck, it seems I haven't tried to build from the latest sources.
You're right, the latest code fails to run sshd. It dies with an access
violation on each connect.

I tracked it down to Robert's changes. Somewhere here:

Sat Apr 21 19:26:05 2001  Christopher Faylor <cgf AT cygnus DOT com>

        * thread.cc (MTinterface::Init): Remove accidentally checked in code.

Sun Apr 22 00:22:00 2001  Robert Collins <rbtcollins AT hotmail DOT com>

        * passwd.cc (getpwuid): Check for thread cancellation.
        (getpwuid_r): Ditto.
        (getpwname): Ditto.
        (getpwnam_r): Ditto.
        * thread.h (pthread_mutex): New constructors for pshared operation.
        (MTinterface): Associative array for pshared mutex's.
        * thread.cc (MTinterface::Init): Initailize pshared mutex array.
        (pthread_cond::BroadCast): Implementation notes.
        (pthread_cond::TimedWait): Remove use of SignalObjectAndWait on non-NT systems.
        (pthread_mutex::pthread_mutex(unsigned short)): New function.
        (pthread_mutex::pthread_mutex (pthread_mutex_t *, pthread_mutexattr *)):New function.
        (pthread_mutex::pthread_mutex(pthread_mutexattr *)): Fail on pshared mutex's.
        (__pthread_mutex_getpshared): New function.
        (__pthread_join): Check for thread cancellation.
        (__pthread_cond_timedwait): Support pshared mutex's.
        (__pthread_cond_wait): Ditto.
        (__pthread_condattr_setpshared): Error on PROCESS_SHARED requests.
        (__pthread_mutex_init): Support pshared mutex's.
        (__pthread_mutex_getprioceiling): Ditto.
        (__pthread_mutex_lock): Ditto.
        (__pthread_mutex_trylock): Ditto.
        (__pthread_mutex_unlock): Ditto.
        (__pthread_mutex_destroy): Ditto.
        (__pthread_mutex_setprioceiling): Ditto.
        (__pthread_mutexattr_setpshared): Support PTHREAD_PROCESS_PSHARED requests.  

I'm just trying to track it down further. Every help gladly appreciated.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -


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