delorie.com/archives/browse.cgi | search |
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=yD9AQ7qQs/IXZHNIPF34iSJygB9B0FXw++zqUvUx4lMgq5jD2wpdv | |
kAPC75411vKqX4UJspMGuot9R06fEnNl18zot4scIszViVdwMVWwDLmeGJrm6w/P | |
BheVMldkRX5LNt1ogSk6lUF4smo+7Qcmy0/+GRcgSnWzQ1h5f2U2nY= | |
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=mQN2VZmQly1aF9UMMDI+7nHaUuA=; b=xaRKXfPwIQ2TRJLc6CWqwYaVKVtj | |
7EG2KpExXkuqPqzDOjYkRRpDndVZONkZ/IU1UbpuPL7dSAYbwFmsFtsUNH9ONbRl | |
nhqx0kvi1IxzXA9UQTVYRhgwRc9N8WA7q12d3DQxrFRNw2JxXoB9Un3By5+ylsed | |
GFjoVN2niegDc18= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 23 Jan 2014 11:32:09 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Win8 issue with pthread_once in ctor? (Re: Is there someone who have a same problem ?) |
Message-ID: | <20140123103209.GM2357@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CA+WgaY86qXwc9ywzjmU1x8B9WrpFnsQzFtvs6q5JLTRDFsEvHQ AT mail DOT gmail DOT com> <52DF5A6F DOT 2030509 AT users DOT sourceforge DOT net> <CA+WgaY-7sVhxcKyaY=FZpSbiG3JW8N+KHRAh=oXyh_A3bWeH5A AT mail DOT gmail DOT com> <52E03E99 DOT 9050205 AT users DOT sourceforge DOT net> <52E0A694 DOT 8090304 AT users DOT sourceforge DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <52E0A694.8090304@users.sourceforge.net> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
--B92bTrfKjyax39gr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 22 23:20, Yaakov (Cygwin/X) wrote: > On 2014-01-22 15:56, Yaakov (Cygwin/X) wrote: > >>I believe that there is a problem when p11-kit command runs on the > >>cygwin64 under Windows 8. > > > >Confirmed with a fresh Windows 8 x64 installation, but not with 8.1. > >I'll have to look into this further. >=20 > Here's what I've found so far: >=20 > So far only with Cygwin64 on Windows 8.0 x64 (but not with Cygwin32 > even on 8.0 x64, nor with Cygwin64 on Windows 7 or 8.1), running any > of the p11-kit commands in ca-certificates' postinstall under strace > shows an exception c0000005 at 0x180134b75 immediately after loading > /usr/lib/pkcs11/p11-kit-trust.so, which translates to: >=20 > $ addr2line -fp -e /usr/bin/cygwin1.dll 0x180134b75 > verifyable_object_isvalid at > /usr/src/debug/cygwin-1.7.27-2/winsup/cygwin/thread.cc:144 >=20 > And eventually on a call to that function: >=20 > verifyable_object_isvalid (objectptr=3Dobjectptr AT entry=3D0x239c68, > magic=3Dmagic AT entry=3D3742232649, static_ptr1=3Dstatic_ptr1 AT entry=3D0x0, > static_ptr2=3Dstatic_ptr2 AT entry=3D0x0, > static_ptr3=3Dstatic_ptr3 AT entry=3D0x0) > at /usr/src/debug/cygwin-1.7.27-2/winsup/cygwin/thread.cc:140 > 140 if((static_ptr1 && *object =3D=3D static_ptr1) || > 144 if((*object)->magic !=3D magic) > [Inferior 1 exited with code 030000000005] >=20 > Now the strange thing about this module is that it has a constructor > which calls pthread_once() on a function which creates a recursive > mutex, so just dlopen()ing is enough. Unfortunately, my attempts to > reproduce this with an STC have not been successful. >=20 > Corinna, cgf, any insights? Except for the content of object apparently being off, no. It would be helpful to build p11-kit with debugging and without optimization and then step right into it, otherwise it's pretty hard to say anything useful. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --B92bTrfKjyax39gr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJS4O+pAAoJEPU2Bp2uRE+glvMP/Am4o9rpdK/lyIKgDFccHmGh mIapkOHdfxkLA7Ote9dvdaM3lG1r5cklSVZuuyt600w/Xy77D0QGk0wfRoy0sZ1S Er42doB5Q/flzQXCzjIOzjW4g6roU5Iu5Psy0Jnrp/YOSn9jxMefyyI+IplcazOW ubMobIn8tlabx058gjbgAt3SYr7sq4EEXZiD0zAibKv7nMfxuWgHJ0b8kopOPV+/ C1NWP2bDIJi7wz4asP5z5xU3NbuyDuMLDYeggBLGCSaqILLRRmJa5rcti0qXO1S2 cjzu+joVNvYo3MXSBAPArSQFYxPMlXhE6Iny7Phk7x0flieqiQ73yBG908GJqplU WJnrW9IPOhICvfWLyV6JoGCf6WgE69Jkebyjy8Ctd5jN/5z5COCVCEYq8aw2seK3 GODV2acC8vUdDjEqQAXSNbLgr65eQ7K9bt5o0ndisHBBuySU7aDD8HBCfb3nJb6L D45BCVzjr78BTf3qbmDSd/XxmeAT+nbWdTtKry39wU1E2G4v8d7A8gxG1RE6Z04n EntM32vS1CGRKOzUvqsmmyRLo0jX34iKrCl+SJwIhdjJuYXbbEhOL7aI0C/J1cAc QHkjKCgaZ9LDUXSMTjSSSq4vLAYuAQM8xluCJ5FLd7Pca9eEI+NWnyynmTDUI/Wy q56qKmx6Svg1h2nTEq8u =0IbW -----END PGP SIGNATURE----- --B92bTrfKjyax39gr--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |