public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/27403] New: aarch64: tlsdesc htab is not freed on dlclose
@ 2021-02-12 11:48 nsz at gcc dot gnu.org
  2021-02-12 11:49 ` [Bug dynamic-link/27403] " nsz at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: nsz at gcc dot gnu.org @ 2021-02-12 11:48 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 27403
           Summary: aarch64: tlsdesc htab is not freed on dlclose
           Product: glibc
           Version: 2.33
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: nsz at gcc dot gnu.org
  Target Milestone: ---

aarch64 has a dl_unmap that properly frees per module
tlsdesc data but DL_UNMAP_IS_SPECIAL is not defined
so the default cleanup is used.

this means the hash table for tls descriptors is leaked
on dlclose.

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

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

* [Bug dynamic-link/27403] aarch64: tlsdesc htab is not freed on dlclose
  2021-02-12 11:48 [Bug dynamic-link/27403] New: aarch64: tlsdesc htab is not freed on dlclose nsz at gcc dot gnu.org
@ 2021-02-12 11:49 ` nsz at gcc dot gnu.org
  2021-04-06 16:01 ` cvs-commit at gcc dot gnu.org
  2021-04-13 10:25 ` nsz at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: nsz at gcc dot gnu.org @ 2021-02-12 11:49 UTC (permalink / raw)
  To: glibc-bugs

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

Szabolcs Nagy <nsz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |aarch64*

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

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

* [Bug dynamic-link/27403] aarch64: tlsdesc htab is not freed on dlclose
  2021-02-12 11:48 [Bug dynamic-link/27403] New: aarch64: tlsdesc htab is not freed on dlclose nsz at gcc dot gnu.org
  2021-02-12 11:49 ` [Bug dynamic-link/27403] " nsz at gcc dot gnu.org
@ 2021-04-06 16:01 ` cvs-commit at gcc dot gnu.org
  2021-04-13 10:25 ` nsz at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-04-06 16:01 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Szabolcs Nagy <nsz@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=69499bb6eeb4f5d1b3502758208301d21042a783

commit 69499bb6eeb4f5d1b3502758208301d21042a783
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Feb 11 13:38:10 2021 +0000

    aarch64: free tlsdesc data on dlclose [BZ #27403]

    DL_UNMAP_IS_SPECIAL and DL_UNMAP were not defined. The definitions are
    now copied from arm, since the same is needed on aarch64. The cleanup
    of tlsdesc data is handled by the custom _dl_unmap.

    Fixes bug 27403.

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

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

* [Bug dynamic-link/27403] aarch64: tlsdesc htab is not freed on dlclose
  2021-02-12 11:48 [Bug dynamic-link/27403] New: aarch64: tlsdesc htab is not freed on dlclose nsz at gcc dot gnu.org
  2021-02-12 11:49 ` [Bug dynamic-link/27403] " nsz at gcc dot gnu.org
  2021-04-06 16:01 ` cvs-commit at gcc dot gnu.org
@ 2021-04-13 10:25 ` nsz at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: nsz at gcc dot gnu.org @ 2021-04-13 10:25 UTC (permalink / raw)
  To: glibc-bugs

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

Szabolcs Nagy <nsz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |2.34
         Resolution|---                         |FIXED

--- Comment #2 from Szabolcs Nagy <nsz at gcc dot gnu.org> ---
Fixed for 2.34.

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

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

end of thread, other threads:[~2021-04-13 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12 11:48 [Bug dynamic-link/27403] New: aarch64: tlsdesc htab is not freed on dlclose nsz at gcc dot gnu.org
2021-02-12 11:49 ` [Bug dynamic-link/27403] " nsz at gcc dot gnu.org
2021-04-06 16:01 ` cvs-commit at gcc dot gnu.org
2021-04-13 10:25 ` nsz at gcc dot gnu.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).