I have a problem with Shared library created by gcc under linux with
I load libx.so library using dlopen function and unload using dlclose,
when I call dlclose segmentation fault error is generated.
I have own _ini and _fini functions there, but I termopary remove it
from library, then I have default _ini and _fini, stiil that same :-(
I use there shared memory and pthreads, mutex and conditional wariable
The most interested is thad the error is generated under glibc6 2.1.13-x
under Debian Potato and RedHat 6.2, but under unstable Debian and RedHat
7.1 beta with glibc6 2.2.1 there is not any problem?
Unfortunately I had use RedHat 6.2 with glibc6 2.1.3-x