Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb@sources.redhat.com
Subject: Re: gdb 6.2 blockers
Date: Wed, 07 Jul 2004 16:12:00 -0000	[thread overview]
Message-ID: <20040707161235.GA20681@nevyn.them.org> (raw)
In-Reply-To: <40EC1628.8050207@gnu.org>

On Wed, Jul 07, 2004 at 11:26:32AM -0400, Andrew Cagney wrote:
> More edits:
> 
> >1650: I suspect this is really a kernel race condition.
> >I remember that Jeff was pointing out that the bug this tickles is a race 
> >condition (hence isn't always reproducable).  The fix for NPTL involves 
> >kernel changes, I'm not sure about linuxthreads.
> I couldn't get the test to fail on NPTL -> linuxthreads specific.

Ditto; one failure mode on LinuxThreads is:
(gdb) PASS: gdb.threads/manythreads.exp: info threads
continue
Continuing.
PASS: gdb.threads/manythreads.exp: second continue
(gdb) Quit
(gdb) FAIL: gdb.threads/manythreads.exp: stop threads 2

We stop threads for no apparent reason and then the C-c is handled at
the prompt.

Another is:
(gdb) PASS: gdb.threads/manythreads.exp: shell stty intr '^C'
continue
Continuing.
PASS: gdb.threads/manythreads.exp: first continue
/opt/src/gdb/src/gdb/lin-lwp.c:645: internal-error: wait_lwp: Assertion `lp->status == 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
FAIL: gdb.threads/manythreads.exp: stop threads 1 (GDB internal error)

Jeff's presumably right about the race condition.  Did he investigate
at all?  The error means the waitstatus state machine in lin-lwp is
somehow broken.

-- 
Daniel Jacobowitz


  reply	other threads:[~2004-07-07 16:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06 17:07 Andrew Cagney
2004-07-07 15:26 ` Andrew Cagney
2004-07-07 16:12   ` Daniel Jacobowitz [this message]
2004-07-06 18:24 Michael Elizabeth Chastain
2004-07-06 19:14 ` Andrew Cagney
2004-07-06 19:32 ` Manoj Iyer
2004-07-06 20:03 Michael Elizabeth Chastain
2004-07-06 20:56 Michael Elizabeth Chastain

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=20040707161235.GA20681@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    /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