dlclose() from threaded program segfaults
the code bellow crashes on GNU/kFreeBSD.
It crashes from both initial thread and created thread,
but a thread have to be created (thread manager have to be started),
it does not crash without RTLD_GLOBAL, loaded lib
(i.e. /lib/libutil.so.1) is not important.
It is a regression compared to etch glibc.
It might be GNU/kFreeBSD specific or linuxthreads specific.
Please, could someone with access to hppa test whether
it crashes also on hppa debian 2.7 glibc ?
Thanks in advance
/* gcc a.c -ldl -pthread -O2 */
p = dlopen("/lib/libutil.so.1", RTLD_NOW | RTLD_GLOBAL);