public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable
@ 2006-05-24 20:19 drow at sources dot redhat dot com
  2006-05-24 20:28 ` [Bug nptl/2696] " roland at gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: drow at sources dot redhat dot com @ 2006-05-24 20:19 UTC (permalink / raw)
  To: glibc-bugs

In short, there is no way to either enable libthread_db at _start time for a
static binary, or find the appropriate time to initialize it later.  I propose
allowing it to initialize, and then reporting the "creation" of the first thread
once the pthreads library is initialized.

The patch is here:

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

Without a fix for this problem, GDB can not debug static executables which use NPTL.

-- 
           Summary: NPTL libthread_db misbehaves at startup of a static
                    executable
           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=2696

------- 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] 9+ messages in thread

* [Bug nptl/2696] NPTL libthread_db misbehaves at startup of a static executable
  2006-05-24 20:19 [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable drow at sources dot redhat dot com
  2006-05-24 20:28 ` [Bug nptl/2696] " roland at gnu dot org
@ 2006-05-24 20:28 ` roland at gnu dot org
  2006-06-14 16:25 ` web-sources dot redhat dot com at jankratochvil dot net
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: roland at gnu dot org @ 2006-05-24 20:28 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From roland at gnu dot org  2006-05-24 20:27 -------
I'm responsible for nptl_db and recall some poking related to this in the past.
I'll look into it, but it won't be before June 5 as I'm leaving for vacation now.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-24 20:27:00
               date|                            |


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

------- 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] 9+ messages in thread

* [Bug nptl/2696] NPTL libthread_db misbehaves at startup of a static executable
  2006-05-24 20:19 [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable drow at sources dot redhat dot com
@ 2006-05-24 20:28 ` roland at gnu dot org
  2006-05-24 20:28 ` roland at gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: roland at gnu dot org @ 2006-05-24 20:28 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drepper at redhat dot com   |roland at gnu dot org


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

------- 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] 9+ messages in thread

* [Bug nptl/2696] NPTL libthread_db misbehaves at startup of a static executable
  2006-05-24 20:19 [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable drow at sources dot redhat dot com
  2006-05-24 20:28 ` [Bug nptl/2696] " roland at gnu dot org
  2006-05-24 20:28 ` roland at gnu dot org
@ 2006-06-14 16:25 ` web-sources dot redhat dot com at jankratochvil dot net
  2006-10-25 15:03 ` drow at sources dot redhat dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: web-sources dot redhat dot com at jankratochvil dot net @ 2006-06-14 16:25 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |web-sources dot redhat dot
                   |                            |com at jankratochvil dot net


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

------- 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] 9+ messages in thread

* [Bug nptl/2696] NPTL libthread_db misbehaves at startup of a static executable
  2006-05-24 20:19 [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable drow at sources dot redhat dot com
                   ` (2 preceding siblings ...)
  2006-06-14 16:25 ` web-sources dot redhat dot com at jankratochvil dot net
@ 2006-10-25 15:03 ` drow at sources dot redhat dot com
  2006-10-25 16:03 ` mkl at pengutronix dot de
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: drow at sources dot redhat dot com @ 2006-10-25 15:03 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drow at sources dot redhat dot com  2006-10-25 15:03 -------
Roland, did you ever get a chance to look at this?  Another user just reported a
similar problem on gdb@.

-- 


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

------- 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] 9+ messages in thread

* [Bug nptl/2696] NPTL libthread_db misbehaves at startup of a static executable
  2006-05-24 20:19 [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable drow at sources dot redhat dot com
                   ` (4 preceding siblings ...)
  2006-10-25 16:03 ` mkl at pengutronix dot de
@ 2006-10-25 16:03 ` r dot schwebel at pengutronix dot de
  2006-10-25 18:55 ` roland at gnu dot org
  2007-06-27 15:50 ` drow at sources dot redhat dot com
  7 siblings, 0 replies; 9+ messages in thread
From: r dot schwebel at pengutronix dot de @ 2006-10-25 16:03 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r dot schwebel at
                   |                            |pengutronix dot de


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

------- 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] 9+ messages in thread

* [Bug nptl/2696] NPTL libthread_db misbehaves at startup of a static executable
  2006-05-24 20:19 [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable drow at sources dot redhat dot com
                   ` (3 preceding siblings ...)
  2006-10-25 15:03 ` drow at sources dot redhat dot com
@ 2006-10-25 16:03 ` mkl at pengutronix dot de
  2006-10-25 16:03 ` r dot schwebel at pengutronix dot de
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mkl at pengutronix dot de @ 2006-10-25 16:03 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mkl at pengutronix dot de


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

------- 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] 9+ messages in thread

* [Bug nptl/2696] NPTL libthread_db misbehaves at startup of a static executable
  2006-05-24 20:19 [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable drow at sources dot redhat dot com
                   ` (5 preceding siblings ...)
  2006-10-25 16:03 ` r dot schwebel at pengutronix dot de
@ 2006-10-25 18:55 ` roland at gnu dot org
  2007-06-27 15:50 ` drow at sources dot redhat dot com
  7 siblings, 0 replies; 9+ messages in thread
From: roland at gnu dot org @ 2006-10-25 18:55 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From roland at gnu dot org  2006-10-25 18:55 -------
Sorry, still back burner.  It will be a little while longer before I get to my
libc backlog.

-- 


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

------- 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] 9+ messages in thread

* [Bug nptl/2696] NPTL libthread_db misbehaves at startup of a static executable
  2006-05-24 20:19 [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable drow at sources dot redhat dot com
                   ` (6 preceding siblings ...)
  2006-10-25 18:55 ` roland at gnu dot org
@ 2007-06-27 15:50 ` drow at sources dot redhat dot com
  7 siblings, 0 replies; 9+ messages in thread
From: drow at sources dot redhat dot com @ 2007-06-27 15:50 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drow at sources dot redhat dot com  2007-06-27 15:49 -------
Roland checked in an NPTL patch for this and I fixed gdb.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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

------- 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] 9+ messages in thread

end of thread, other threads:[~2007-06-27 15:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-24 20:19 [Bug nptl/2696] New: NPTL libthread_db misbehaves at startup of a static executable drow at sources dot redhat dot com
2006-05-24 20:28 ` [Bug nptl/2696] " roland at gnu dot org
2006-05-24 20:28 ` roland at gnu dot org
2006-06-14 16:25 ` web-sources dot redhat dot com at jankratochvil dot net
2006-10-25 15:03 ` drow at sources dot redhat dot com
2006-10-25 16:03 ` mkl at pengutronix dot de
2006-10-25 16:03 ` r dot schwebel at pengutronix dot de
2006-10-25 18:55 ` roland at gnu dot org
2007-06-27 15:50 ` 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).