Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3B7B9CCE.12D42541@sibbald.com> Date: Thu, 16 Aug 2001 12:13:35 +0200 From: Kern Sibbald X-Mailer: Mozilla 4.77 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Collins CC: cygwin AT cygwin DOT com Subject: Re: [Fwd: pthread_cond_timedwait() problem] References: <3B7B75C0 DOT 430C3E25 AT sibbald DOT com> <997950365 DOT 29719 DOT 8 DOT camel AT lifelesswks> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, The timedwait that is causing me problems is the pthread_cond_timedwait(); In the test program, it segment faults immediately. In the real program, it seems to survive the first call to pthread_cond_timedwait, but on the second call, it gets a page fault in cygwin1.dll (version 1.3.2). It would be helpful if you could verify whether or not the program works on your fixed version (time permitting). If so, I'll apply the changes made to thread.cc to version of 1.3.2. Thank you for your help. Best regards, Kern Robert Collins wrote: > On 16 Aug 2001 09:26:56 +0200, Kern Sibbald wrote: > > Hello, > > > > Please find the program attached. I apparently made > > a stupid mistake and added the -c option to the compile: > > > > gcc -c xxx.c -o xxx > > > > > > which is, of course, not correct. So, I did not actually > > test it on the new dll -- my mistake. > > > > In any case, I cannot use the new dll since my bash which > > runs in an rxvt with an X simulator immediate crashes. > > Ah, well. thats not so good. Still your program doesn't look to > different to ones I know to work. I've got a queue of cygwin stuff > building up, I'll try and give this a shot. My suggestion for you for > now is to identify _which_ timed_wait call is causing you grief. > Rob > > > > > Best regards, > > > > Kern -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/