I thing

LD_PRELOAD="/usr/lib/libgomp.so.1"

may help. Me and my colleagues feel that it is somehow connected to
thread pool management. It looks like If we preload libgomp then thread
pool management works on the level of main module, otherwise it works on
the dll level. Thus dlclose works before gomp finalize its pool of
threads. If we put sleep before dlclose - it works fine. Actually it is
only ideas without any basement...

-- 
cerr crash in dlopen'ed c++ shared object, if linked to some libs
https://bugs.launchpad.net/bugs/490744
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to