[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#673711: kfreebsd-9: pthread_cond_timedwait returns immediately with ETIMEDOUT



Hi!

Nicolas Bourdaud <nicolas.bourdaud@gmail.com> writes:
> 	when using pthread_cond_timedwait, it often returns immediately with
> the error ETIMEDOUT regardless to the length of the timeout passed to the
> function. I have provided a C program that illustrates the problem.
>
> 	It affects the upstream version (obtained by kfreebsd-downloader).
> I have found a thread that, I believe, discusses about the issue:
> http://freebsd.1045724.n5.nabble.com/pthread-cond-timedwait-broken-in-9-stable-from-JAN-10-td5487565.html
>
> 	I would normally not report the bug since it seems already reported
> upstream. However, I stumbled into this problem while I was trying to fix an
> RC-bug (#673681) and according to the linked thread, there might be a small
> patch that could fix the issue.

Thanks for your bug report!

I'm a bit skeptical hoqwever that this build failure is caused by a
kernel bug in kfreebsd-9 ad the buildds (where this build failure
happens) are running an 8.1 kernel which (according to the linked
thread) is not affected.

However there was (IIRC) indeed some change in pthread/libc code
recently that might cause this issue.

Regards

    Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



Reply to: