Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 16 Nov 2000 00:32:32 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: What an idiot! or Update on 'make -j' hang Message-ID: <20001116003232.A17771@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i I think I found the source of the make hangs, although I haven't checked with a 'make -j2' yet. I was, instead, investigating a repeatable hang in 'zsh' due to a problem with sigsuspend(). After an embarassingly long investigation, I found some questionable code in sigproc.cc (yawn). The code was a very recent addition of mine intended to stop cygwin from hanging inappropriately. I guess that with my change it was hanging appropriately but that's not much consolation. I've backed out my change and, once again, resolved to stop programming after 2AM. I have no idea what I was thinking when I made this change. Possible excuses for the idiotic code: - It seemed like a good idea at the time. - Friends were driving. - My dog ate my C++ manual. - Odd numbered Cygwin releases are always buggy -- I was just doing my part. - Programming is hard! - It really depends on what your definition of "hangs" is. - It was like that when I got here. - I had no idea I was coding that fast, officer. - What are you looking at? Are you looking at me? - Cosmic rays. Anyway, I've just started a snapshot build. I'll probably get a new version of cygwin released in the next couple of days if this seems to work for everyone. I'll actually try 'make -j2' tomorrow. For now, I just want to go to bed thinking I've accomplished something and not trying to solve signal races in my sleep. FYI, Corinna has also noticed another, unrelated, hang in bash. That one actually seems to be a bash bug. We should have a fix for this soon, too. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com