Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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