id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5535,Assert after reloading multiple times a .so linked with the static build of Boost.Thread,sorin.fetche@…,Anthony Williams,"The attached test program shows that after a few hundred reloads of a shared library linked with the static build of Boost.Thread, an assert will be raised (gcc 4.4; boost 1.46.1). As a note, the test program demonstrates the usage of a shared library that exposes a C interface and is implemented using statically linked Boost libraries. Test program output: ./a.out Call: 0 Call: 100 Call: 200 Call: 300 Call: 400 Call: 500 a.out: /home/sfetche/local/boost/src/boost_1_46_1/boost/thread/pthread/condition_variable_fwd.hpp:46: boost::condition_variable::~condition_variable(): Assertion `!pthread_mutex_destroy(&internal_mutex)' failed. Aborted ",Bugs,closed,To Be Determined,thread,Boost 1.46.1,Problem,duplicate,module leak,