public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/2697] New: NPTL can issue multiple simultaneous thread creation events
@ 2006-05-24 20:23 drow at sources dot redhat dot com
  2007-10-23 20:27 ` [Bug nptl/2697] " drow at sources dot redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: drow at sources dot redhat dot com @ 2006-05-24 20:23 UTC (permalink / raw)
  To: glibc-bugs

This seems like a feature, but in fact it isn't very useful, and complicates
debugging.  GDB is not affected, because it uses a slower technique.  However,
this breaks gdbserver.  Because multiple threads could hit the thread creation
breakpoint simultaneously, gdbserver would have to stop all threads in order to
remove the breakpoint after any thread hit it.  If other threads serialized and
waited for the previous event to be acknowledged, then gdbserver would not need
the extra overhead of stopping and resuming threads.

My proposed change, which only affects NPTL behavior when debugging events are
enabled, is here:

  http://sourceware.org/ml/libc-alpha/2006-03/msg00104.html

-- 
           Summary: NPTL can issue multiple simultaneous thread creation
                    events
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: drow at sources dot redhat dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2697

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nptl/2697] NPTL can issue multiple simultaneous thread creation events
  2006-05-24 20:23 [Bug nptl/2697] New: NPTL can issue multiple simultaneous thread creation events drow at sources dot redhat dot com
@ 2007-10-23 20:27 ` drow at sources dot redhat dot com
  2007-11-30  7:45 ` anemo at mba dot ocn dot ne dot jp
  2007-11-30 16:40 ` drow at sources dot redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: drow at sources dot redhat dot com @ 2007-10-23 20:27 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drow at sources dot redhat dot com  2007-10-23 20:27 -------
I have worked around this in gdbserver so there is no longer any need to change
NPTL.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=2697

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nptl/2697] NPTL can issue multiple simultaneous thread creation events
  2006-05-24 20:23 [Bug nptl/2697] New: NPTL can issue multiple simultaneous thread creation events drow at sources dot redhat dot com
  2007-10-23 20:27 ` [Bug nptl/2697] " drow at sources dot redhat dot com
@ 2007-11-30  7:45 ` anemo at mba dot ocn dot ne dot jp
  2007-11-30 16:40 ` drow at sources dot redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: anemo at mba dot ocn dot ne dot jp @ 2007-11-30  7:45 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From anemo at mba dot ocn dot ne dot jp  2007-11-30 07:44 -------
(In reply to comment #1)
> I have worked around this in gdbserver so there is no longer any need to change
> NPTL.

Could you show us a link to the gdb patch you committed (or changelog entry) for
reference ?


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2697

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nptl/2697] NPTL can issue multiple simultaneous thread creation events
  2006-05-24 20:23 [Bug nptl/2697] New: NPTL can issue multiple simultaneous thread creation events drow at sources dot redhat dot com
  2007-10-23 20:27 ` [Bug nptl/2697] " drow at sources dot redhat dot com
  2007-11-30  7:45 ` anemo at mba dot ocn dot ne dot jp
@ 2007-11-30 16:40 ` drow at sources dot redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: drow at sources dot redhat dot com @ 2007-11-30 16:40 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drow at sources dot redhat dot com  2007-11-30 16:40 -------
http://sourceware.org/ml/gdb-patches/2007-10/msg00547.html

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2697

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-30 16:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-24 20:23 [Bug nptl/2697] New: NPTL can issue multiple simultaneous thread creation events drow at sources dot redhat dot com
2007-10-23 20:27 ` [Bug nptl/2697] " drow at sources dot redhat dot com
2007-11-30  7:45 ` anemo at mba dot ocn dot ne dot jp
2007-11-30 16:40 ` drow at sources dot redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).