public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "Boehm, Hans" <hans_boehm@hp.com>
To: linux-ia64@vger.kernel.org
Subject: RE: [Linux-ia64] Two IA-64 Linux bugs
Date: Tue, 06 Jun 2000 17:08:20 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205121@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590678205116@msgid-missing>

We also had problems around here with pthread_cond_wait.  The glibc version
we were using was used a linuxthreads snapshot taken at a bad time.
Pthread_cond_wait checked that the current thread owned the mutex.
Unfortunately, it did so even for "fast" mutexes, for which the owner field
wasn't set.

If this is the problem, I would guess that you should be able to avoid it by
using recursive or checking mutexes.  The problem is hopefully very
temporary, since the glibc on sourceware exhibited this problem for only a
day.

Hans

> Bug #1: pthread_cond_wait sometimes returns EINVAL (22).
> Run the first attachment (pingpong.c) repeatedly.
> Note that this test doesn't call pthread_cond_destroy
> so it is impossible that we are waiting on a destroyed
> condition variable.  This failure is intermittent so you
> may need to try many times to reproduce it.
> 



  parent reply	other threads:[~2000-06-06 17:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-05  5:44 [Linux-ia64] Two IA-64 Linux bugs Wan-Teh Chang
2000-06-05 20:42 ` Dan Pop
2000-06-05 20:58 ` Bill Nottingham
2000-06-05 22:10 ` Dan Pop
2000-06-06 17:08 ` Boehm, Hans [this message]
2000-06-07 14:57 ` Wan-Teh Chang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590678205121@msgid-missing \
    --to=hans_boehm@hp.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox