On Mon, 13 Oct 2014, Sébastien Marie wrote: > Initially, this problem was discover with www/vimb. But I have isolated > it, and it seems related to glib+gio with/or librthread. The mail is > cross-posted to ports@ (if glib+gio is the problem) and bugs@ (if the > problem is with librthread).
The dlopen()ed gnome-keyring-pkcs11.so calls pthread_atfork() with a function pointer from itself. Later, it gets dlclose()d and unloaded, leaving this a dangling pointer. glibc's pthread_atfork() is like atexit(): it records the __dso_handle of the caller and on unload of a shared object they unregister all atfork handlers registered by that shared object. :-( Philip
