id summary reporter owner description type status milestone component version severity resolution keywords cc 3295 throwing exception / assert in destructor BDM Ion Gaztañaga "hello, there is, I think, a bad use of exception in the destructor of http://svn.boost.org/svn/boost/trunk/boost/interprocess/sync/posix/interprocess_mutex.hpp I have learned a rule at school: ""no exception must be thrown within a destructor"" (also see https://www.securecoding.cert.org/confluence/display/cplusplus/ERR33-CPP.+Destructors+must+be+exception-safe or http://www.parashift.com/c++-faq-lite/exceptions.html#faq-17.3) In the destructor of interprocess_mutex, an assert check for the good destruction of the posix mutex, if it fails, it throws an exception ... which is really bad in my case :) (even if I unlock the mutex just before the destructor call) Regards, BDM." Bugs closed Boost 1.40.0 interprocess Boost 1.38.0 Problem invalid exception assert destructor