www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/09/08/15:48:40

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Sun, 8 Sep 2002 15:48:30 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: hang in sig_wait waiting for debug lock
Message-ID: <20020908194830.GB7506@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <7710998905 DOT 20020828173811 AT logos-m DOT ru> <20020905153320 DOT GC16827 AT redhat DOT com> <591948241 DOT 20020906185459 AT logos-m DOT ru> <20020906151713 DOT GC21699 AT redhat DOT com> <1176882135 DOT 20020906201713 AT logos-m DOT ru> <20020906210506 DOT GB26002 AT redhat DOT com> <195826558 DOT 20020908204151 AT logos-m DOT ru> <20020908170046 DOT GB7279 AT redhat DOT com> <1615258000 DOT 20020908215542 AT logos-m DOT ru>
Mime-Version: 1.0
In-Reply-To: <1615258000.20020908215542@logos-m.ru>
User-Agent: Mutt/1.4i

On Sun, Sep 08, 2002 at 09:55:42PM +0400, egor duda wrote:
>  111 4869407 [main] expect 150 add_handle: protecting handle 'hParent', inherited flag 1
>  101 4869508 [main] expect 150 add_handle: void sigproc_init():563 - multiple attempts to add handle wait_sig_inited<0x210>
>   99 4869607 [main] expect 150 add_handle:  previously allocated by int tty::make_pipes(fhandler_pty_master*):370(to_pty<0x210>) winpid 137

And, there's the bug.  As I said in a previous message:

"There are too many places where the fd handle is manipulated but not
protected for this code to be turned on."

This indicates a place where a handle from an fd was making it into
the protected handle table.

So, this is a place that I missed when I swept through cygwin after
I changed the protected handle handling.

So, my just checked in changes should fix this.

cgf

- Raw text -


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