This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/23329] New: The __libc_freeres infrastructure is not properly run across DSO boundaries.
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 22 Jun 2018 13:36:17 +0000
- Subject: [Bug libc/23329] New: The __libc_freeres infrastructure is not properly run across DSO boundaries.
- Auto-submitted: auto-generated
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.