From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31161 invoked by alias); 24 May 2004 13:18:27 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31036 invoked from network); 24 May 2004 13:18:21 -0000 Received: from unknown (HELO mail.metronet.co.uk) (213.162.97.75) by sourceware.org with SMTP; 24 May 2004 13:18:21 -0000 Received: from system10.lan (unknown [213.162.108.80]) by mail.metronet.co.uk (MetroNet Mail) with ESMTP id 78975417632 for ; Mon, 24 May 2004 14:17:43 +0100 (BST) Received: from roger by system10.lan with local (Exim 4.30) id 1BSFRN-0000OR-0Y for cygwin@cygwin.com; Mon, 24 May 2004 14:24:29 +0100 Date: Mon, 24 May 2004 15:48:00 -0000 From: Roger Leigh To: cygwin@cygwin.com Subject: Identifying pthread threading bug Message-ID: <20040524132428.GA1462@system10> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GPG-Key: 0x25BFB848 X-Debian: testing/unstable X-OS-Uptime: 14:14:07 up 3 min, 3 users, load average: 0.45, 0.25, 0.10 User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-05/txt/msg00787.txt.bz2 I am building glib on cygwin, using this release: http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.1/sources/glib-2.4.1.tar.bz2 When I build with ./configure -C --prefix=/usr --enable-threads --with-libiconv \ --enable-shared --disable-static the build succeeds, but the unit test test/child-test waits indefinitely on a child. When I build with ./configure -C --prefix=/usr --disable-threads --with-libiconv \ --enable-shared --disable-static the test succeeds. I infer that the problem is due to enabling threading, and since the code works on most, if not all, other platforms supporting POSIX threads, I think it's likely that it's doing something that Cygwin doesn't like, or is racy. Could anyone suggest how I might track down the cause of the problem? I'm not particularly familiar with the Cygwin internals, or threading, but I'm OK with gdb and C. Many thanks, Roger -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge.net/ GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/