* [Bug threads/13869] Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed
2012-03-19 21:07 [Bug threads/13869] New: Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed tmstaedt@t-mittelstaedt.de
@ 2012-05-04 6:42 ` aegges at web dot de
2012-05-23 7:29 ` qiyao at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aegges at web dot de @ 2012-05-04 6:42 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13869
Axel Müller <aegges at web dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aegges at web dot de
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug threads/13869] Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed
2012-03-19 21:07 [Bug threads/13869] New: Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed tmstaedt@t-mittelstaedt.de
2012-05-04 6:42 ` [Bug threads/13869] " aegges at web dot de
@ 2012-05-23 7:29 ` qiyao at gcc dot gnu.org
2013-02-28 14:06 ` aegges at web dot de
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: qiyao at gcc dot gnu.org @ 2012-05-23 7:29 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13869
Yao Qi <qiyao at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |qiyao at gcc dot gnu.org
AssignedTo|unassigned at sourceware |qiyao at gcc dot gnu.org
|dot org |
--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> 2012-05-23 07:29:33 UTC ---
I can reproduce this problem on CVS trunk with existing test case
gdb.thread/manythreads.c
$ ./gdb -ex "set target-async on" -ex "set non-stop on" -ex "run"
./testsuite/gdb.threads/manythreads
...
Thread <255> executing
[Thread 0xb77feb70 (LWP 12986) exited]
[New Thread 0xb77feb70 (LWP 12987)]
Cannot get thread event message: debugger service failed
(gdb) (gdb) quit
Initial analysis shows that this problem is caused by the race condition
between gdb (with libthread_db) and inferior (with libpthreads.so) on accessing
some shared state variables, such as __nptl_last_event. The code in nptl to
access shared state variables is written in a thread-safe way (using some
atomic and compare-and-swap operations), however, GDB doesn't coordinate with
inferior on accessing them. The fix would be `stopping all threads in inferior
when gdb tries to access state variables in thread library in async & non-stop
mode'.
I'll post a patch to @gdb-patches in two or three days.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug threads/13869] Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed
2012-03-19 21:07 [Bug threads/13869] New: Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed tmstaedt@t-mittelstaedt.de
2012-05-04 6:42 ` [Bug threads/13869] " aegges at web dot de
2012-05-23 7:29 ` qiyao at gcc dot gnu.org
@ 2013-02-28 14:06 ` aegges at web dot de
2013-02-28 14:13 ` qiyao at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aegges at web dot de @ 2013-02-28 14:06 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13869
--- Comment #2 from Axel Müller <aegges at web dot de> 2013-02-28 14:06:38 UTC ---
(In reply to comment #1)
> I'll post a patch to @gdb-patches in two or three days.
Any news on this? Two or three days have past :-)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug threads/13869] Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed
2012-03-19 21:07 [Bug threads/13869] New: Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed tmstaedt@t-mittelstaedt.de
` (2 preceding siblings ...)
2013-02-28 14:06 ` aegges at web dot de
@ 2013-02-28 14:13 ` qiyao at gcc dot gnu.org
2013-02-28 14:15 ` qiyao at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: qiyao at gcc dot gnu.org @ 2013-02-28 14:13 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13869
--- Comment #3 from Yao Qi <qiyao at gcc dot gnu.org> 2013-02-28 14:13:23 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > I'll post a patch to @gdb-patches in two or three days.
> Any news on this? Two or three days have past :-)
No much progress on it. I had a patch, but it caused some regressions. I
don't have much time recently to look into it. Any one interested in it, feel
free to take this bug over.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug threads/13869] Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed
2012-03-19 21:07 [Bug threads/13869] New: Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed tmstaedt@t-mittelstaedt.de
` (3 preceding siblings ...)
2013-02-28 14:13 ` qiyao at gcc dot gnu.org
@ 2013-02-28 14:15 ` qiyao at gcc dot gnu.org
2013-05-16 17:30 ` lionel at mamane dot lu
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: qiyao at gcc dot gnu.org @ 2013-02-28 14:15 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13869
Yao Qi <qiyao at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|qiyao at gcc dot gnu.org |unassigned at sourceware
| |dot org
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug threads/13869] Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed
2012-03-19 21:07 [Bug threads/13869] New: Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed tmstaedt@t-mittelstaedt.de
` (4 preceding siblings ...)
2013-02-28 14:15 ` qiyao at gcc dot gnu.org
@ 2013-05-16 17:30 ` lionel at mamane dot lu
2013-07-20 21:57 ` camilocc at gmail dot com
2014-04-05 1:26 ` malaperle at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: lionel at mamane dot lu @ 2013-05-16 17:30 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13869
Lionel Elie Mamane <lionel at mamane dot lu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lionel at mamane dot lu
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug threads/13869] Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed
2012-03-19 21:07 [Bug threads/13869] New: Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed tmstaedt@t-mittelstaedt.de
` (5 preceding siblings ...)
2013-05-16 17:30 ` lionel at mamane dot lu
@ 2013-07-20 21:57 ` camilocc at gmail dot com
2014-04-05 1:26 ` malaperle at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: camilocc at gmail dot com @ 2013-07-20 21:57 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13869
Camilo Sasuke Tsumanuma <camilocc at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |camilocc at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug threads/13869] Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed
2012-03-19 21:07 [Bug threads/13869] New: Latest gdb 7.4 (CVS HEAD) has problem with "target async": Cannot get thread event message: debugger service failed tmstaedt@t-mittelstaedt.de
` (6 preceding siblings ...)
2013-07-20 21:57 ` camilocc at gmail dot com
@ 2014-04-05 1:26 ` malaperle at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: malaperle at gmail dot com @ 2014-04-05 1:26 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=13869
Marc-Andre Laperle <malaperle at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |malaperle at gmail dot com
--- Comment #4 from Marc-Andre Laperle <malaperle at gmail dot com> ---
I have the same issue debugging Eclipse on Ubuntu 13.10 32 bit with GDB 7.6.1.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread