i have a hughe problem in my company. i have a quite complex application (distributed, corba, mulithreaded, Boost, QT 3.3)
and after closing the program (int closeevent() pApp->exit())
the program closes but after ca 5 sec. there comes an ASSERTION
attached_thread_count == 0
the code in boost looks like that:
attached_threadcount == 0 in tss_hooks.cpp. der code dazu sieht so aus:
+ catch( ... )
- boost::call_once(init_threadmon_mutex, once_init_threadmon_mutex);
- boost::mutex::scoped_lock lock(*threadmon_mutex);
- BOOST_ASSERT(attached_thread_count == 0);
+ return -1;
even with the help of some c++ gurus and DevPartnerStudio we could not find the problem.
actually it isnt that annoying because only at exit it happens. but we cant deliver it to the customer like that.
does enyone has an idea what to do against it, even a trick to just dont show the assertion?
unfortunately i cant make a release-version for different reasons.
thanx for any input!!