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=orflMVXDF1d1CD2mUgHEJHEPd7QwWRD9Gx1ZJ9m1FigZjKY1iLzvy 1SCU8GIp3CMQ+clbBjQg+2VX07RSIOtmC7+GScQ92cQPDbfytx4vFC4eXgNRu/kD DPFG/6ZUKf0jq+RiT6YUZOIkBU3yozxL1DCL7SYshizCKyum+6hM4s= 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=GLe7xA5lMLTwdtSN90QMmy5NSCI=; b=KsSqtBk3CwsXM2qnmJugTumpdSpL cxsO3sJtJidxnkgMuoxjKTT8thX+b6Y2JYE0cnIdRdofpGiLgA3vjiB4dtLeqeFH C+ok7rv6oPYgojxkTq1I2nBO93IF9vTqdZX8862U/r/B1Fu8E11am6mdDJhkVGpH lICA+kC5nMDV0+U= 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: Fri, 21 Nov 2014 11:38:03 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Instability with signals and threads Message-ID: <20141121103803.GC3810@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20141121101502 DOT GA3810 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WGtO2LJjz4IIGa2c" Content-Disposition: inline In-Reply-To: <20141121101502.GA3810@calimero.vinschen.de> User-Agent: Mutt/1.5.23 (2014-03-12) --WGtO2LJjz4IIGa2c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 21 11:15, Corinna Vinschen wrote: > I can't reproduce your backtrace, but I can reproduce another one, which > is related to thread_exit. At one point after a couple thousand runs > through your testcase I have a variable number of threads hanging in > thread_exit, and a timer thread which is unable to send its signal. the > other threads all hang in thread_exit, waiting for a muto which is taken > by a thread which doesn't exist anymore. That's a very serious downside > of the muto implementation not being able to recognize being abandoned. > I wonder if that shouldn't be using a real OS mutex. s/thread_exit/exit_thread/g Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --WGtO2LJjz4IIGa2c Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUbxYLAAoJEPU2Bp2uRE+gSqIP/iFQZmVFkUPT58iVv7YVEQXc g+5U88oUYkZOs2jKUGlhj44lfiCDxtuo7Sj9NzapkRY1SS1Fl52Vq4j0O8qgTr+t KYb6tiAU15F+7LUlTujWX+4pF50dfJS+0GXTgoWoJiP81wJMOTAwLtvDHhXV017y oKRqSd8/u+/juRNXxyOA1PNCpJfpCBNvky/2m8yH6kgAHU2IzpslGL8zEe/MyYFj CgoqnFopk+/7gNQvMzs4iIe+UCWuGz1HROoU+ijoWJzL8i1up8WrVn8Ju3dn+9o5 vOhf/wEsrSJGx4Pjp+J6pBRm5tyui+IfFrXvKr0L1Z/UI00S9gAgx6lpfF6uQTtJ LtmrYt8AWSo1x3MEPldu1IWhyq3ebj1u5Pe2x8KyiWgRK2lBuMV5HrvTyOqq5TE+ PYdLdb9aCE+OaPYeETZGwadRghwHcZURc1YoVts62fxzHPF9P/7TyiTeHY7HHn9U YzM95aUuf0ATIx5gdI/xNWQvs9w9sZ6kgHLj+dmcxXoL1HtpzpjNyARYgWD/dspn TkHWrGIa8S83ZBGc02XU27bZ6iTYYBZl0CdwywzhKP6nB/MxTdBdawBSgwb2mTGk i4mJwtZhxCIGWlhzHG8JKJETadZcu8JFcxoSeSPaDZrA6P9J6BAsLVbbUeMTKDVk JgrFDQEHpTXbbI7aXXqR =CwoE -----END PGP SIGNATURE----- --WGtO2LJjz4IIGa2c--