public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4861] New: uninitialized data in the profiling code
@ 2007-07-28 10:50 thor at math dot tu-berlin dot de
  2007-07-29 22:48 ` [Bug libc/4861] " drepper at redhat dot com
  2007-10-02  4:28 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: thor at math dot tu-berlin dot de @ 2007-07-28 10:50 UTC (permalink / raw)
  To: glibc-bugs

When running multithreaded code on the above architecture using valgrind, it
detects at times the following problem:

==30381== Use of uninitialised value of size 8
==30381==    at 0x564C310: profil_counter (in /lib64/libc-2.5.so)
==30381==    by 0x55B95AF: (within /lib64/libc-2.5.so)

Apparently, something's wrong here. Unfortunately, this problem is not easy to
reproduce.

A potentially related problem seems to be that semaphores and profiling do not
seem to go well together in multithreaded code. With profiling enabled, some
semaphores seem to become spuriously available?

glibc release seems to be 2.5 on a Suse 10.2 (unfortunately with a custom kernel
patched by HP), running

gcc (GCC) 4.1.2 20061115 (prerelease) (SUSE Linux)

-- 
           Summary: uninitialized data in the profiling code
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: thor at math dot tu-berlin dot de
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

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

* [Bug libc/4861] uninitialized data in the profiling code
  2007-07-28 10:50 [Bug libc/4861] New: uninitialized data in the profiling code thor at math dot tu-berlin dot de
@ 2007-07-29 22:48 ` drepper at redhat dot com
  2007-10-02  4:28 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2007-07-29 22:48 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-07-29 22:48 -------
Either report this to your vendor who might be able to do something with the
address or provide exact information about the line in the source file.  If you
don't provide this information I'll close the bug shortly.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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

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

* [Bug libc/4861] uninitialized data in the profiling code
  2007-07-28 10:50 [Bug libc/4861] New: uninitialized data in the profiling code thor at math dot tu-berlin dot de
  2007-07-29 22:48 ` [Bug libc/4861] " drepper at redhat dot com
@ 2007-10-02  4:28 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2007-10-02  4:28 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-10-02 04:27 -------
Not enough information.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


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

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

end of thread, other threads:[~2007-10-02  4:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-28 10:50 [Bug libc/4861] New: uninitialized data in the profiling code thor at math dot tu-berlin dot de
2007-07-29 22:48 ` [Bug libc/4861] " drepper at redhat dot com
2007-10-02  4:28 ` drepper at 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).