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=ZUgGyd7kH1AsROOllesC9JYGee+cbCy2IAAldLG+KKfM4FMl3GxOH nF8zjXDKtVkpQxoXO/0SzBuV3MupwXpKzxUu01eLT01z/n30+O+ebv4PfK/FmldF YPQuSKXs8hy9Hpd+fRTWamh4Dy7TYUJyhFYSkPIE7bONpSbg/zi+GM= 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=jBWpxwt3nnr5Ft9yByZ7FG9RgRI=; b=WHYiBYqGV5Tc9EfUYQ0O7EumxisM KbaI1hXj5oWaBsfaF4o9insaYkuPKa/477ojBB1OSTZBXs7J1KEmjSx9/v3iPfkM nH9YSQF1biOCswNE1JVkN/TyPFt/0FFsejakTBvvQ4qpSHYi63PMHb1xUN3SgiC+ gmXB/vkmxtpCpbo= 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, 12 Jan 2015 11:47:33 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: SetupDiGetDeviceRegistryProperty problems on Windows 8 Message-ID: <20150112104733.GC15213@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <407424850 DOT 20150109194825 AT shcherbakov DOT info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V88s5gaDVPzZ0KCq" Content-Disposition: inline In-Reply-To: <407424850.20150109194825@shcherbakov.info> User-Agent: Mutt/1.5.23 (2014-03-12) --V88s5gaDVPzZ0KCq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ivan, On Jan 9 19:48, Ivan Shcherbakov wrote: > Hi All, >=20=20 > I=E2=80=99ve recently discovered a strange Cygwin bug on Windows 8. Calli= ng > SetupDiGetDeviceRegistryProperty() from a Cygwin thread created with > pthread_create() causes it fail unconditionally. This actually breaks > libusb for any program that uses it outside the main thread.=20 > The bug can be reproduced with a small program below.=20 > Could anyone please advise me if this could be fixed in one of the > next Cygwin releases? thanks for the testcase, but I'm not sure yet this is really a bug in Cygwin. Your bug report is missing a bit of info. Is that Windows 8 or 8.1? 32 or 64 bit? If 64 bit, native or in 32 bit mode? Which Cygwin version are you running? Personally I tried your testcase on Windows 8.1, 64 bit, with 64 bit Cygwin, 1.7.33 as well as current CVS HEAD, and your testcase works fine for me, even when running from a pthread. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --V88s5gaDVPzZ0KCq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUs6ZFAAoJEPU2Bp2uRE+geJEP/jJF1zZLxwu4atlA9+fMFGRK k3OGtFrSpxQAfL8J6u91Krk4MubMTKWvP+Cs6Iag4fkDMIHsdIKS9G2+OwmfbeeE royUqR+UrgCL0JpUXnKZgXhrsb9v2mau0WTDZ7LPOjigLs8yd7EHiTB3fxD6Uw3i whFt28jxWyrVymD5yP4m/0bzHGEf5NOAz8iOujyEUuApWES261Hd9qZv9G6hOBcK Mspc92nIt/X5xJouvXgd782MV0SGn6vj/MC4c8UB6cU3jMVqdzvmqSmEIdHTY8Ik goHSjBCQrMcmC6M8TTu1QhaTtQ7rKlpxzepjmE3Q0mXZfJLguOgAJs9uhtAbkmew 5zNP7JE7PGHc5ztrwuIdf/BjonEK8ethtYiQ2wmZeFtcQCNvE/mLWeYSCB/Ytm23 YL3EYNgafYmSlfIOBt/CeZWvRxMtt3mHjaIC1eRS5P2WPMWco6ItKn93/KGZyx9r hg6Q6NuDsyvOcztIvaRYMT0TikZuHP9dSuBry4h0X8qujO6nEa/h/BtFsLI0qXE3 jCzI8eoxzw+7tKvcWGRW3AuE8BkZvVxe4DYHWIFoNYBCTI+LB+7luZUNq+6vwo2I heHOgAsP1m7r1h2LE90pWmhDrAbUSwyCrQ6yvacHdmnEmLH94c/eu6waw1++V421 CiGskFKM/F7podJ4PTad =QW6A -----END PGP SIGNATURE----- --V88s5gaDVPzZ0KCq--