sharedlibrary loaded through LD_PRELOAD
, constructor of the same library calls dlopen("libc.so.6")
the problem is dlopen
takes forever, debugging showes the following
dlopen
calls __dlopen
which calls calloc
, and unknow function ??,
then at last __GI___pthread_mutex_lock
.
providing unlimited resources before dlopen as I suspected, but doesn't solve the problem.
the problem only happen if LD_PRELOAD is set with sharedlibrary (mentioned above) with target application Firefox
at Linux any other application works without problems(dlopen
doesn't block)!