This is the mail archive of the libc-help@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]

dl-open/dl-lookup/dl-close potential bug


Hello

looking at source it appears that calling a dlclose on a library with
DF_A_NODELETE flag positioned will fail with an assert error :

Inconsistency detected by ld.so: dl-close.c: 764: _dl_close: Assertion
`map->l_init_called' failed!

I would prefer if it could fail a bit more silently, so it will not be
necessary to choose between "closable" and "non-closable" lib when
closing libraries.
For example a error value.

Or it may be simply a bug

What do you think ?
Mathieu Westphal


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