public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library
       [not found] <bug-9721-131@http.sourceware.org/bugzilla/>
@ 2011-02-04  1:32 ` pasky at suse dot cz
  2013-12-19 13:06 ` dichlofos-mv at yandex dot ru
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pasky at suse dot cz @ 2011-02-04  1:32 UTC (permalink / raw)
  To: glibc-bugs

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

Petr Baudis <pasky at suse dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |pasky at suse dot cz
         Resolution|                            |WORKSFORME

--- Comment #2 from Petr Baudis <pasky at suse dot cz> 2011-02-04 01:32:44 UTC ---
Unfortunately, no self-contained testcase has been provided.

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

* [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library
       [not found] <bug-9721-131@http.sourceware.org/bugzilla/>
  2011-02-04  1:32 ` [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library pasky at suse dot cz
@ 2013-12-19 13:06 ` dichlofos-mv at yandex dot ru
  2013-12-19 23:10 ` neleai at seznam dot cz
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dichlofos-mv at yandex dot ru @ 2013-12-19 13:06 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=9721

Mikhail Veltishchev <dichlofos-mv at yandex dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |dichlofos-mv at yandex dot ru
         Resolution|WORKSFORME                  |---

--- Comment #4 from Mikhail Veltishchev <dichlofos-mv at yandex dot ru> ---
So let's reopen it since testcase is now provided.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library
       [not found] <bug-9721-131@http.sourceware.org/bugzilla/>
  2011-02-04  1:32 ` [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library pasky at suse dot cz
  2013-12-19 13:06 ` dichlofos-mv at yandex dot ru
@ 2013-12-19 23:10 ` neleai at seznam dot cz
  2014-01-12  7:25 ` ppluzhnikov at google dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: neleai at seznam dot cz @ 2013-12-19 23:10 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=9721

Ondrej Bilka <neleai at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |neleai at seznam dot cz

--- Comment #5 from Ondrej Bilka <neleai at seznam dot cz> ---
Now when there is a __signal_safe_malloc / __signal_safe_free we could use
these
in linker to fix this bug and avoid most of allocator bootstrap problems.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library
       [not found] <bug-9721-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-12-19 23:10 ` neleai at seznam dot cz
@ 2014-01-12  7:25 ` ppluzhnikov at google dot com
  2014-01-12 16:55 ` ppluzhnikov at google dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ppluzhnikov at google dot com @ 2014-01-12  7:25 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=9721

Paul Pluzhnikov <ppluzhnikov at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppluzhnikov at google dot com
           Assignee|drepper.fsp at gmail dot com       |ppluzhnikov at google dot com

--- Comment #6 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
This very likely has been fixed by the async-signal safe TLS patch(es), at
least for non GNU2 TLS variant: tls_get_addr uses __signal_safe_memalign and
__signal_safe_free (private to ld-linux), and should no longer interfere with
any user-supplied allocators.

Assigning to myself. I'll test with the example from comment#3, and close if it
no longer crashes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library
       [not found] <bug-9721-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-01-12  7:25 ` ppluzhnikov at google dot com
@ 2014-01-12 16:55 ` ppluzhnikov at google dot com
  2014-01-12 17:24 ` cvs-commit at gcc dot gnu.org
  2014-06-13 11:16 ` fweimer at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: ppluzhnikov at google dot com @ 2014-01-12 16:55 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=9721

Paul Pluzhnikov <ppluzhnikov at google dot com> changed:

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

--- Comment #7 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
I have removed hard-coded paths from the test, removed gratuitous dependency on
boost:thread, and verified the crash when using more than 1 thread and linking
with jemalloc (the crash goes away when jemalloc is removed from the link).

I then verified that the crash also goes away when I use current libc build.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library
       [not found] <bug-9721-131@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2014-01-12 16:55 ` ppluzhnikov at google dot com
@ 2014-01-12 17:24 ` cvs-commit at gcc dot gnu.org
  2014-06-13 11:16 ` fweimer at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-01-12 17:24 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  497b1e69f9ad6d11341735d81b7c9181d168df90 (commit)
      from  e732c5f04958e535fa309b0fae50d67063a1a203 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=497b1e69f9ad6d11341735d81b7c9181d168df90

commit 497b1e69f9ad6d11341735d81b7c9181d168df90
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Sun Jan 12 09:23:10 2014 -0800

    Mention BZ 9721

-----------------------------------------------------------------------

Summary of changes:
 NEWS |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library
       [not found] <bug-9721-131@http.sourceware.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2014-01-12 17:24 ` cvs-commit at gcc dot gnu.org
@ 2014-06-13 11:16 ` fweimer at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 11:16 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=9721

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library
  2009-01-08 11:14 [Bug libc/9721] New: " cr at progress dot com
@ 2009-01-08 15:28 ` drepper at redhat dot com
  0 siblings, 0 replies; 8+ messages in thread
From: drepper at redhat dot com @ 2009-01-08 15:28 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-01-08 15:28 -------
Where is the test code?  You have to provide a simple, self-contained program.

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


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

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

end of thread, other threads:[~2014-06-13 11:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-9721-131@http.sourceware.org/bugzilla/>
2011-02-04  1:32 ` [Bug libc/9721] dl-tls.c: tls_get_addr, etc, allocate using __libc_memalign but free with free - causes problems if you link a different malloc/free/etc library pasky at suse dot cz
2013-12-19 13:06 ` dichlofos-mv at yandex dot ru
2013-12-19 23:10 ` neleai at seznam dot cz
2014-01-12  7:25 ` ppluzhnikov at google dot com
2014-01-12 16:55 ` ppluzhnikov at google dot com
2014-01-12 17:24 ` cvs-commit at gcc dot gnu.org
2014-06-13 11:16 ` fweimer at redhat dot com
2009-01-08 11:14 [Bug libc/9721] New: " cr at progress dot com
2009-01-08 15:28 ` [Bug libc/9721] " 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).