X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=DR6Hhc90cd+s0GwRQr93bap6rZqWQkTjbVG4H3fSZSyN3vzf9gQ1D Y7uiOczS2U3pg0HLdeAujvvimK0x5JuAqEijRQsxV/rjcqjSjOGqMooPdfsdiE52 0BSdQ/9wj22hq01XBHWbokL0OKZbOfbuEx9ajYpH1SOyJWWWpVJgsc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=0I1/XffyDRsM3NCzoIhDvZfstJU=; b=MKCmWvgsH/kVOhwO7C24RdSma/GD rEkJPAwtZK6Y5BumcxaUM/+bvFonXvuEFTj4844d3rImTd3bgvNO6SM1uKpnQibv cmNbbWu3SKM1NyTSeefKIJHv6Srf46Un27Y9NOdNdjpFWu4igEy4XlyLl7Qlh7Ff hGQXDBGmw3Zs9y8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 21 Jul 2014 18:37:40 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: Cygwin 1.7.31-1 Message-ID: <20140721163740.GA18996@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <53CD056A DOT 8D423E81 AT boland DOT nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <53CD056A.8D423E81@boland.nl> User-Agent: Mutt/1.5.23 (2014-03-12) --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 21 14:19, D. Boland wrote: > Hi Corinna, >=20 > Corinna Vinschen wrote: > >=20 > > [Now with correct subject, sorry] > >=20 > > Hi Cygwin friends and users, > >=20 > > I just released Cygwin 1.7.31-1. This is mostely a bugfix release. > >=20 >=20 > $ uname -a > CYGWIN_NT-5.1 dimension 1.7.31s(0.272/5/3) 20140716 11:15:29 i686 Cygwin >=20 > With the snapshot in place, the ftp client hangs indefinitely after enter= ing the > password. Switching back to my old Cygwin DLL, it works again. I could easily reproduce it. The cause is our switch from defaulting to PTHREAD_MUTEX_ERRORCHECK to PTHREAD_MUTEX_NORMAL to align the behaviour more closely to Linux. The problem is a mutex which is part of every (p)thread. This mutex is set to PTHREAD_MUTEX_RECURSIVE for all threads... except for the main thread. This is actually a long-standing bug. By defaulting to PTHREAD_MUTEX_ERRORCHECK the bug was just not visible. Only by switching to PTHREAD_MUTEX_NORMAL as default it became apparent, so I'm rather glad this has been catched now. This could have subtil side-effects in multi-threaded applications. I'm going to release a fixed 1.7.31-2 in a few minutes. Thanks for the report, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTzUHUAAoJEPU2Bp2uRE+gKCgP/iTLS+g4RoFiYU3SrkAjGXsC 63iT72O1vh3JwT09gwAikAOHrM0pfTa27thppZt26DpeRPlESRbT/BAEKnAZClXX X21gD3CROudTrYH6Ug1u2XZZiA4vcSIMtxK12ufWmZZxPIW+gojB/d8eFJxKv4TW VL/2wO3ujjcx6yoZ7WC7K/gSoehRWGE/XEblpuqk3zP2JRnsXCgo1eBxhBK/dtfy MiNwHax97Pt/yZlWSLOyI2I6eNbDaK46IUcuDO42SVFpFZG6CSYVXta0VvjLcCE0 E/lubWesaizQd9PL61pyo/Mm6ZD9nIEMJbGGG+rU4zdqz4qd/1+bvJalL9UVLZ4V DR/GKPWpOmlBe/jj0oq/3qQu6rUSVnY6tEGMpevVDB2t73SoI/rK5AwI4uP1dXA9 MMEps7IxKXnU4gU/GykZfGA3c1SToPAt3FCcd4dtPv3P+IkyG3LjZi4t/DC+6aRK hy6BQwWJEoqy3UHT/OWQDjRRN6ouhyC3Juq6dpxzjOxGJ3MZji1L2ZI/kFLlAGHz wKcXdKLTQkEai6hqNlSZakORLqGic1imuvh8JBMLYCPbuAHvz9ihcG9PShJhY8li GGnh6XIf2IAVHlXNJEvaG/5g+3hWGVYPmsO8HvtPf5mKJId4z2wwE/nGZ7G0Wuzj vqWEOe3i2jhQZjWuGwKK =0ScZ -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--