This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/23329] New: The __libc_freeres infrastructure is not properly run across DSO boundaries.


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

            Bug ID: 23329
           Summary: The __libc_freeres infrastructure is not properly run
                    across DSO boundaries.
           Product: glibc
           Version: 2.29
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

The __libc_freeres infrastructure is not properly run across DSO boundaries.

In libpthread.so we have shm-directory.c which registers freeit () to free
memory, but this is never called.

Only via the function pointer table does libc.so call nptl_freeres () as a
hack.

We should harmonize the process to make it easy to support for any DSOs
registering free_res functions, and fix the libpthread.so related bug.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]