[Bug dynamic-link/11941] ld.so: Improper assert map->l_init_called in dlclose
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Fri Dec 23 20:44:00 GMT 2016
https://sourceware.org/bugzilla/show_bug.cgi?id=11941
--- Comment #7 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, name_space/2.24/master has been created
at e9e69e468039fcd57276f783a16aa771a8e4214e (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e9e69e468039fcd57276f783a16aa771a8e4214e
commit e9e69e468039fcd57276f783a16aa771a8e4214e
Author: Carlos O'Donell <carlos@redhat.com>
Date: Fri Dec 23 13:30:22 2016 -0500
Bug 11941: ld.so: Improper assert map->l_init_called in dlclose
There is at least one use case where during exit a library destructor
might call dlclose() on a valid handle and have it fail with an
assertion. We must allow this case, it is a valid handle, and dlclose()
should not fail with an assert. In the future we might be able to return
an error that the dlclose() could not be completed because the opened
library has already been unloaded and destructors have run as part of
exit processing.
For more details see:
https://www.sourceware.org/ml/libc-alpha/2016-12/msg00859.html
(cherry picked from commit 57707b7fcc38855869321f8c7827bfe21d729f37)
-----------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list