* Is there someone who have a same problem ? @ 2014-01-22 4:18 kou1okada 2014-01-22 5:43 ` Yaakov (Cygwin/X) 0 siblings, 1 reply; 18+ messages in thread From: kou1okada @ 2014-01-22 4:18 UTC (permalink / raw) To: cygwin If you are using the cygwin64 under the Windows 8, please check a following command sequence and please tell me a result. #------------------ uname -srvmp cygcheck -c | grep ca-certificates ls -lnG /etc/setup/ca-certificates.lst.gz find /etc/pki/ca-trust/extracted/ -mindepth 1 -type f -not -iname README -exec ls -lnG {} + wget -O /dev/null https://google.com #------------------ Thanks. --------- kou1okada https://github.com/kou1okada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 4:18 Is there someone who have a same problem ? kou1okada @ 2014-01-22 5:43 ` Yaakov (Cygwin/X) 2014-01-22 8:35 ` kou1okada 0 siblings, 1 reply; 18+ messages in thread From: Yaakov (Cygwin/X) @ 2014-01-22 5:43 UTC (permalink / raw) To: cygwin On 2014-01-21 22:18, kou1okada wrote: > If you are using the cygwin64 under the Windows 8, please check a > following command sequence and please tell me a result. > > #------------------ > uname -srvmp > cygcheck -c | grep ca-certificates > ls -lnG /etc/setup/ca-certificates.lst.gz > find /etc/pki/ca-trust/extracted/ -mindepth 1 -type f -not -iname > README -exec ls -lnG {} + > wget -O /dev/null https://google.com > #------------------ WFM on my main Win7 system and a fresh Win8.1 installation. If there are no non-empty files (besides README) in /etc/pki/ca-trust, it means the postinstall script didn't finish successfully. The most likely cause would be choosing not to install all dependencies when prompted, but to be sure: http://cygwin.com/problems.html Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 5:43 ` Yaakov (Cygwin/X) @ 2014-01-22 8:35 ` kou1okada 2014-01-22 12:17 ` Tim Prince 2014-01-22 21:56 ` Yaakov (Cygwin/X) 0 siblings, 2 replies; 18+ messages in thread From: kou1okada @ 2014-01-22 8:35 UTC (permalink / raw) To: cygwin Sorry, I made a mistake. The parent article of this thread is http://cygwin.com/ml/cygwin/2014-01/msg00262.html. I tried to install cygwin64 to Windows 7 Ultimate and Windows8 as below: $ setup-x86_64 -s http://ftp.jaist.ac.jp/pub/cygwin -P wget,ca-certificates Windows 7 doesn't have no problems. But Windows 8 causes a problem at verify SSL certification. Maybe the cause of this problem is not dependencies. I believe that there is a problem when p11-kit command runs on the cygwin64 under Windows 8. For details, please see below: http://cygwin.com/ml/cygwin/2014-01/msg00262.html 2014/1/22 Yaakov (Cygwin/X) <yselkowitz@users.sourceforge.net>: > On 2014-01-21 22:18, kou1okada wrote: >> >> If you are using the cygwin64 under the Windows 8, please check a >> following command sequence and please tell me a result. >> >> #------------------ >> uname -srvmp >> cygcheck -c | grep ca-certificates >> ls -lnG /etc/setup/ca-certificates.lst.gz >> find /etc/pki/ca-trust/extracted/ -mindepth 1 -type f -not -iname >> README -exec ls -lnG {} + >> wget -O /dev/null https://google.com >> #------------------ > > > WFM on my main Win7 system and a fresh Win8.1 installation. If there are no > non-empty files (besides README) in /etc/pki/ca-trust, it means the > postinstall script didn't finish successfully. The most likely cause would > be choosing not to install all dependencies when prompted, but to be sure: > > http://cygwin.com/problems.html > > > Yaakov > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 8:35 ` kou1okada @ 2014-01-22 12:17 ` Tim Prince 2014-01-22 16:29 ` kou1okada 2014-01-22 21:56 ` Yaakov (Cygwin/X) 1 sibling, 1 reply; 18+ messages in thread From: Tim Prince @ 2014-01-22 12:17 UTC (permalink / raw) To: cygwin On 1/22/2014 3:35 AM, kou1okada wrote: > 2014/1/22 Yaakov (Cygwin/X) <yselkowitz@users.sourceforge.net>: >> On 2014-01-21 22:18, kou1okada wrote: >>> If you are using the cygwin64 under the Windows 8, please check a >>> following command sequence and please tell me a result. >>> >>> #------------------ >>> uname -srvmp >>> cygcheck -c | grep ca-certificates >>> ls -lnG /etc/setup/ca-certificates.lst.gz >>> find /etc/pki/ca-trust/extracted/ -mindepth 1 -type f -not -iname >>> README -exec ls -lnG {} + >>> wget -O /dev/null https://google.com >>> #------------------ >> >> $ uname -srvmp CYGWIN_NT-6.3 1.7.27(0.271/5/3) 2013-12-09 11:54 x86_64 unknown ... $ wget -O /dev/null https://google.com --2014-01-22 07:10:00-- https://google.com/ Resolving google.com... 2607:f8b0:4009:804::1006, 74.125.225.7, 74.125.225.8, .. . Connecting to google.com|2607:f8b0:4009:804::1006|:443... failed: Connection tim ed out. Connecting to google.com|74.125.225.7|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.google.com/ [following] --2014-01-22 07:10:21-- https://www.google.com/ Resolving www.google.com... 2607:f8b0:4009:802::1014, 74.125.225.112, 74.125.225 .113, ... Connecting to www.google.com|2607:f8b0:4009:802::1014|:443... failed: Connection timed out. Connecting to www.google.com|74.125.225.112|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `/dev/null' [ <=> ] 10,876 --.-K/s in 0.001s 2014-01-22 07:10:42 (9.74 MB/s) - `/dev/null' saved [10876] -- Tim Prince -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 12:17 ` Tim Prince @ 2014-01-22 16:29 ` kou1okada 2014-01-22 16:36 ` Adam Dinwoodie 0 siblings, 1 reply; 18+ messages in thread From: kou1okada @ 2014-01-22 16:29 UTC (permalink / raw) To: cygwin Thanks ! It seems a result under the Windows 8.1, and verifying for SSL certificate is succeeded. Hmm, can someone provide results under the Windows 8 ? I checked it on 2 environments which are Windows 8 version of SONY VAIO Duo 11 and acer Aspire V5-171. These 2 environments can not be installed correctly ca-certificates on cygwin 64 at least. --------- kou1okada https://github.com/kou1okada 2014/1/22 Tim Prince <n8tm@aol.com>: > > On 1/22/2014 3:35 AM, kou1okada wrote: >> >> 2014/1/22 Yaakov (Cygwin/X) <yselkowitz@users.sourceforge.net>: >>> >>> On 2014-01-21 22:18, kou1okada wrote: >>>> >>>> If you are using the cygwin64 under the Windows 8, please check a >>>> following command sequence and please tell me a result. >>>> >>>> #------------------ >>>> uname -srvmp >>>> cygcheck -c | grep ca-certificates >>>> ls -lnG /etc/setup/ca-certificates.lst.gz >>>> find /etc/pki/ca-trust/extracted/ -mindepth 1 -type f -not -iname >>>> README -exec ls -lnG {} + >>>> wget -O /dev/null https://google.com >>>> #------------------ >>> >>> >>> > $ uname -srvmp > CYGWIN_NT-6.3 1.7.27(0.271/5/3) 2013-12-09 11:54 x86_64 unknown > ... > $ wget -O /dev/null https://google.com > --2014-01-22 07:10:00-- https://google.com/ > Resolving google.com... 2607:f8b0:4009:804::1006, 74.125.225.7, > 74.125.225.8, .. > . > Connecting to google.com|2607:f8b0:4009:804::1006|:443... failed: Connection > tim > ed out. > Connecting to google.com|74.125.225.7|:443... connected. > HTTP request sent, awaiting response... 301 Moved Permanently > Location: https://www.google.com/ [following] > --2014-01-22 07:10:21-- https://www.google.com/ > Resolving www.google.com... 2607:f8b0:4009:802::1014, 74.125.225.112, > 74.125.225 > .113, ... > Connecting to www.google.com|2607:f8b0:4009:802::1014|:443... failed: > Connection > timed out. > Connecting to www.google.com|74.125.225.112|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [text/html] > Saving to: `/dev/null' > > [ <=> ] 10,876 --.-K/s in 0.001s > > 2014-01-22 07:10:42 (9.74 MB/s) - `/dev/null' saved [10876] > > -- > Tim Prince > > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 16:29 ` kou1okada @ 2014-01-22 16:36 ` Adam Dinwoodie 2014-01-22 17:15 ` Balaji Venkataraman ` (2 more replies) 0 siblings, 3 replies; 18+ messages in thread From: Adam Dinwoodie @ 2014-01-22 16:36 UTC (permalink / raw) To: cygwin On 22 January 2014 16:29, kou1okada wrote: > Thanks ! > It seems a result under the Windows 8.1, and verifying for SSL > certificate is succeeded. > Hmm, can someone provide results under the Windows 8 ? > > I checked it on 2 environments which are Windows 8 version of SONY > VAIO Duo 11 and acer Aspire V5-171. > These 2 environments can not be installed correctly ca-certificates on > cygwin 64 at least. > > --------- > kou1okada > https://github.com/kou1okada > > 2014/1/22 Tim Prince <<snip>>: Please don't top post, and please don't include email addresses in your replies. See http://cygwin.com/acronyms/#PCYMTNQREAIYR, http://cygwin.com/lists.html, and http://cygwin.com/acronyms/#TOFU. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 16:36 ` Adam Dinwoodie @ 2014-01-22 17:15 ` Balaji Venkataraman 2014-01-22 20:33 ` Csaba Raduly 2014-01-22 21:43 ` Thomas Wolff 2014-01-23 3:07 ` kou1okada 2 siblings, 1 reply; 18+ messages in thread From: Balaji Venkataraman @ 2014-01-22 17:15 UTC (permalink / raw) To: Cygwin On Wed, Jan 22, 2014 at 8:36 AM, Adam Dinwoodie wrote: > See http://cygwin.com/acronyms/#PCYMTNQREAIYR, > http://cygwin.com/lists.html, and http://cygwin.com/acronyms/#TOFU. Sorry - if this is off topic. How did those emails make it through? Whenever I have accidentally included the sender's email address my email was rejected. And I would appreciate any tips on configuring browser based Gmail from not quoting real email addresses. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 17:15 ` Balaji Venkataraman @ 2014-01-22 20:33 ` Csaba Raduly 0 siblings, 0 replies; 18+ messages in thread From: Csaba Raduly @ 2014-01-22 20:33 UTC (permalink / raw) To: cygwin list On Wed, Jan 22, 2014 at 6:15 PM, Balaji Venkataraman wrote: (snip) > And I would > appreciate any tips on configuring browser based Gmail from not > quoting real email addresses. AFAIK it's not possible. I always had to delet those manually (like yours in this reply). Plus, the blasted thing seems to default to top-posting nowadays :( Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 16:36 ` Adam Dinwoodie 2014-01-22 17:15 ` Balaji Venkataraman @ 2014-01-22 21:43 ` Thomas Wolff 2014-01-23 3:19 ` kou1okada 2014-01-23 3:07 ` kou1okada 2 siblings, 1 reply; 18+ messages in thread From: Thomas Wolff @ 2014-01-22 21:43 UTC (permalink / raw) To: cygwin Am 22.01.2014 17:36, schrieb Adam Dinwoodie: > On 22 January 2014 16:29, kou1okada wrote: >> Thanks ! >> It seems a result under the Windows 8.1, and verifying for SSL >> certificate is succeeded. >> Hmm, can someone provide results under the Windows 8 ? >> >> I checked it on 2 environments which are Windows 8 version of SONY >> VAIO Duo 11 and acer Aspire V5-171. >> These 2 environments can not be installed correctly ca-certificates on >> cygwin 64 at least. >> >> --------- >> kou1okada >> https://github.com/kou1okada >> >> 2014/1/22 Tim Prince <<snip>>: > Please don't top post, and please don't include email addresses in your > replies. And please use meaningful subjects. Thomas --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 21:43 ` Thomas Wolff @ 2014-01-23 3:19 ` kou1okada 0 siblings, 0 replies; 18+ messages in thread From: kou1okada @ 2014-01-23 3:19 UTC (permalink / raw) To: cygwin > And please use meaningful subjects. > Thomas Sorry. I replied to my previous post ( http://cygwin.com/ml/cygwin/2014-01/msg00262.html ) with the Sent folder of GMail. So I thought the mail subject is meaningful enough on the thread. But in fact "References" field of mail header was not appended. Because that was just an accident, sorry. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 16:36 ` Adam Dinwoodie 2014-01-22 17:15 ` Balaji Venkataraman 2014-01-22 21:43 ` Thomas Wolff @ 2014-01-23 3:07 ` kou1okada 2 siblings, 0 replies; 18+ messages in thread From: kou1okada @ 2014-01-23 3:07 UTC (permalink / raw) To: cygwin > Please don't top post, and please don't include email addresses in your > replies. Oops, I'm sorry. I didn't care so that was inserted automatically. I'll care it. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 8:35 ` kou1okada 2014-01-22 12:17 ` Tim Prince @ 2014-01-22 21:56 ` Yaakov (Cygwin/X) 2014-01-23 5:20 ` Win8 issue with pthread_once in ctor? (Re: Is there someone who have a same problem ?) Yaakov (Cygwin/X) 2014-01-23 9:08 ` Yaakov (Cygwin/X) 1 sibling, 2 replies; 18+ messages in thread From: Yaakov (Cygwin/X) @ 2014-01-22 21:56 UTC (permalink / raw) To: cygwin On 2014-01-22 02:35, kou1okada wrote: > Windows 7 doesn't have no problems. > But Windows 8 causes a problem at verify SSL certification. > Maybe the cause of this problem is not dependencies. No, it seems not. > 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. Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Win8 issue with pthread_once in ctor? (Re: Is there someone who have a same problem ?) 2014-01-22 21:56 ` Yaakov (Cygwin/X) @ 2014-01-23 5:20 ` Yaakov (Cygwin/X) 2014-01-23 10:32 ` Corinna Vinschen 2014-01-23 9:08 ` Yaakov (Cygwin/X) 1 sibling, 1 reply; 18+ messages in thread From: Yaakov (Cygwin/X) @ 2014-01-23 5:20 UTC (permalink / raw) To: cygwin 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. Here's what I've found so far: 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: $ 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 And eventually on a call to that function: verifyable_object_isvalid (objectptr=objectptr@entry=0x239c68, magic=magic@entry=3742232649, static_ptr1=static_ptr1@entry=0x0, static_ptr2=static_ptr2@entry=0x0, static_ptr3=static_ptr3@entry=0x0) at /usr/src/debug/cygwin-1.7.27-2/winsup/cygwin/thread.cc:140 140 if((static_ptr1 && *object == static_ptr1) || 144 if((*object)->magic != magic) [Inferior 1 exited with code 030000000005] 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. Corinna, cgf, any insights? Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Win8 issue with pthread_once in ctor? (Re: Is there someone who have a same problem ?) 2014-01-23 5:20 ` Win8 issue with pthread_once in ctor? (Re: Is there someone who have a same problem ?) Yaakov (Cygwin/X) @ 2014-01-23 10:32 ` Corinna Vinschen 2014-01-23 13:09 ` Christopher Faylor 2014-01-24 7:57 ` Is there someone who have a same problem ? Yaakov (Cygwin/X) 0 siblings, 2 replies; 18+ messages in thread From: Corinna Vinschen @ 2014-01-23 10:32 UTC (permalink / raw) To: cygwin [-- Attachment #1: Type: text/plain, Size: 2018 bytes --] 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. > > Here's what I've found so far: > > 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: > > $ 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 > > And eventually on a call to that function: > > verifyable_object_isvalid (objectptr=objectptr@entry=0x239c68, > magic=magic@entry=3742232649, static_ptr1=static_ptr1@entry=0x0, > static_ptr2=static_ptr2@entry=0x0, > static_ptr3=static_ptr3@entry=0x0) > at /usr/src/debug/cygwin-1.7.27-2/winsup/cygwin/thread.cc:140 > 140 if((static_ptr1 && *object == static_ptr1) || > 144 if((*object)->magic != magic) > [Inferior 1 exited with code 030000000005] > > 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. > > 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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat [-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Win8 issue with pthread_once in ctor? (Re: Is there someone who have a same problem ?) 2014-01-23 10:32 ` Corinna Vinschen @ 2014-01-23 13:09 ` Christopher Faylor 2014-01-24 7:57 ` Is there someone who have a same problem ? Yaakov (Cygwin/X) 1 sibling, 0 replies; 18+ messages in thread From: Christopher Faylor @ 2014-01-23 13:09 UTC (permalink / raw) To: cygwin On Thu, Jan 23, 2014 at 11:32:09AM +0100, Corinna Vinschen wrote: >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. >> >> Here's what I've found so far: >> >> 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: >> >> $ 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 >> >> And eventually on a call to that function: >> >> verifyable_object_isvalid (objectptr=objectptr@entry=0x239c68, >> magic=magic@entry=3742232649, static_ptr1=static_ptr1@entry=0x0, >> static_ptr2=static_ptr2@entry=0x0, >> static_ptr3=static_ptr3@entry=0x0) >> at /usr/src/debug/cygwin-1.7.27-2/winsup/cygwin/thread.cc:140 >> 140 if((static_ptr1 && *object == static_ptr1) || >> 144 if((*object)->magic != magic) >> [Inferior 1 exited with code 030000000005] >> >> 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. >> >> 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. What she said. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-23 10:32 ` Corinna Vinschen 2014-01-23 13:09 ` Christopher Faylor @ 2014-01-24 7:57 ` Yaakov (Cygwin/X) 2014-01-24 12:53 ` kou1okada 1 sibling, 1 reply; 18+ messages in thread From: Yaakov (Cygwin/X) @ 2014-01-24 7:57 UTC (permalink / raw) To: cygwin On 2014-01-23 04:32, Corinna Vinschen wrote: > On Jan 22 23:20, Yaakov (Cygwin/X) wrote: >> 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. >> >> 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. And, of course, without optimization it works. So, I managed to narrow this down to the ctor itself: compiling it with -O0 or -O1 works, but not with -O2 or -O3; other functions seem to be fine at -O2. The diffstat between the resulting assemblies of that file is huge, so I haven't diagnosed the actual cause yet. Feel free to let me know if you're interested. :-) In the meantime, the workaround is easy, so I just uploaded p11-kit-0.18.7-2 and ca-certificates-1.96-2 for x64 only. If you are running 64-bit Cygwin on Windows 8.0 x64, those releases should fix this for you. Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-24 7:57 ` Is there someone who have a same problem ? Yaakov (Cygwin/X) @ 2014-01-24 12:53 ` kou1okada 0 siblings, 0 replies; 18+ messages in thread From: kou1okada @ 2014-01-24 12:53 UTC (permalink / raw) To: cygwin > And, of course, without optimization it works. So, I managed to narrow this > down to the ctor itself: compiling it with -O0 or -O1 works, but not with > -O2 or -O3; other functions seem to be fine at -O2. The diffstat between > the resulting assemblies of that file is huge, so I haven't diagnosed the > actual cause yet. Feel free to let me know if you're interested. :-) > > In the meantime, the workaround is easy, so I just uploaded p11-kit-0.18.7-2 > and ca-certificates-1.96-2 for x64 only. If you are running 64-bit Cygwin > on Windows 8.0 x64, those releases should fix this for you. Oh! It's brilliant! I checked it. I reinstalled p11-kit, p11-kit-trust and libp11-kit0. And it works fine at the cygwin64 under the Windows 8. Thanks so much! --------- kou1okada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Is there someone who have a same problem ? 2014-01-22 21:56 ` Yaakov (Cygwin/X) 2014-01-23 5:20 ` Win8 issue with pthread_once in ctor? (Re: Is there someone who have a same problem ?) Yaakov (Cygwin/X) @ 2014-01-23 9:08 ` Yaakov (Cygwin/X) 1 sibling, 0 replies; 18+ messages in thread From: Yaakov (Cygwin/X) @ 2014-01-23 9:08 UTC (permalink / raw) To: cygwin 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. As a temporary workaround, Win8 x64 users may download the following: ftp://ftp.cygwinports.org/pub/cygwinports/temp/ca-certs-extracted-1.96-1.tar.xz Then run (from an elevated prompt if necessary): tar xf ca-certs-extracted-1.96-1.tar.xz -C / HTH, Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2014-01-24 12:53 UTC | newest] Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-01-22 4:18 Is there someone who have a same problem ? kou1okada 2014-01-22 5:43 ` Yaakov (Cygwin/X) 2014-01-22 8:35 ` kou1okada 2014-01-22 12:17 ` Tim Prince 2014-01-22 16:29 ` kou1okada 2014-01-22 16:36 ` Adam Dinwoodie 2014-01-22 17:15 ` Balaji Venkataraman 2014-01-22 20:33 ` Csaba Raduly 2014-01-22 21:43 ` Thomas Wolff 2014-01-23 3:19 ` kou1okada 2014-01-23 3:07 ` kou1okada 2014-01-22 21:56 ` Yaakov (Cygwin/X) 2014-01-23 5:20 ` Win8 issue with pthread_once in ctor? (Re: Is there someone who have a same problem ?) Yaakov (Cygwin/X) 2014-01-23 10:32 ` Corinna Vinschen 2014-01-23 13:09 ` Christopher Faylor 2014-01-24 7:57 ` Is there someone who have a same problem ? Yaakov (Cygwin/X) 2014-01-24 12:53 ` kou1okada 2014-01-23 9:08 ` Yaakov (Cygwin/X)
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).