[Bug libc/23329] New: The __libc_freeres infrastructure is not properly run across DSO boundaries.
carlos at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Jun 22 13:36:00 GMT 2018
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.
More information about the Glibc-bugs
mailing list