public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/771] New: possible deadlock on double-free logging
@ 2005-02-26 21:35 qboosh at pld-linux dot org
  2005-02-26 21:37 ` [Bug libc/771] " qboosh at pld-linux dot org
  0 siblings, 1 reply; 2+ messages in thread
From: qboosh at pld-linux dot org @ 2005-02-26 21:35 UTC (permalink / raw)
  To: glibc-bugs

_int_free() (malloc/malloc.c), which is called from free() with arena mutex
locked, checks and eventually prints/logs error message.
So if malloc_printerr() handling do some malloc()/free() on the same memory
arena, deadlock can occur.
vsyslog() can call free() during tz manipulation.

Yes, this deadlock is triggered by buggy code.
But it's all inside libc, not caused by actual memory corruption.

-- 
           Summary: possible deadlock on double-free logging
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: qboosh at pld-linux dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=771

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

* [Bug libc/771] possible deadlock on double-free logging
  2005-02-26 21:35 [Bug libc/771] New: possible deadlock on double-free logging qboosh at pld-linux dot org
@ 2005-02-26 21:37 ` qboosh at pld-linux dot org
  0 siblings, 0 replies; 2+ messages in thread
From: qboosh at pld-linux dot org @ 2005-02-26 21:37 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From qboosh at pld-linux dot org  2005-02-26 21:37 -------
Oops, refreshed wrong page...

*** This bug has been marked as a duplicate of 770 ***

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


http://sources.redhat.com/bugzilla/show_bug.cgi?id=771

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

end of thread, other threads:[~2005-02-26 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-26 21:35 [Bug libc/771] New: possible deadlock on double-free logging qboosh at pld-linux dot org
2005-02-26 21:37 ` [Bug libc/771] " qboosh at pld-linux dot org

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).