From: Andrew Cagney <cagney@gnu.org>
To: Michael Chastain <mec.gnu@mindspring.com>
Cc: eliz@gnu.org, gdb-patches@sources.redhat.com
Subject: Re: [rfa/PROBLEMS] document threads/1650, thread internal error
Date: Mon, 26 Jul 2004 19:51:00 -0000 [thread overview]
Message-ID: <410560B4.70207@gnu.org> (raw)
In-Reply-To: <20040726154838.4E0E44B104@berman.michael-chastain.com>
> +
> + *** Threads
> +
> + threads/1650: manythreads.exp
> +
> + A program which creates many threads which exit very quickly (hundreds
> + of thousands of threads in the test program) can cause gdb to generate
> + an internal error. The internal error often looks like:
> +
> + lin-lwp.c:744: internal-error: stop_callback: Assertion `lp->status == 0' failed.
> + A problem internal to GDB has been detected.
> + further debugging may prove unreliable.
> + Quit this debugging session? (y or n)
> +
> + This has been observed on native i686-pc-linux-gnu with linuxthreads,
> + the old threading model. With NPTL threads, this internal error has not
> + been observed.
> +
I think it more clearly needs to convey the following information:
- that it is (to the best of our knowledge) GNU/Linux and LinuxThreads
specific
So the opening sentence should mention both of those data points.
Something like ``On a GNU/Linux system that uses linuxthreads, a program
....''
- switching to NPTL highly recommended
So the closing paragraph should make this clearer. Something like
``This problem has not been observed on GNU/Linux systems that use NPTL
(New Posix Threads Library[?]). People still using linuxthreads are
strongly encouraged to migrate to NPTL''.
We should also mention that on GNU/Linux NPTL based systems a problem
with GDB loosing track of threads was fixed.
Andrew
next prev parent reply other threads:[~2004-07-26 19:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-26 15:48 Michael Chastain
2004-07-26 17:45 ` Eli Zaretskii
2004-07-27 0:08 ` Michael Chastain
2004-07-26 19:51 ` Andrew Cagney [this message]
2004-07-27 0:32 ` Michael Chastain
2004-07-27 15:28 ` Andrew Cagney
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=410560B4.70207@gnu.org \
--to=cagney@gnu.org \
--cc=eliz@gnu.org \
--cc=gdb-patches@sources.redhat.com \
--cc=mec.gnu@mindspring.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