Boost C++ Libraries: Ticket #6877: bug in exception_ptr_test.cpp https://svn.boost.org/trac10/ticket/6877 <p> I think that the exception_ptr_test.cpp file has a bug that is preventing it from testing what is intended. The boost::exception_ptr object that is being used in boost::bind as part of the thread function does not have boost::ref() around it, so what is actually being passed to the thread invocation is a copy of the exception_ptr object. This means that when the thread function set the exception_ptr, the information never makes its way to the outside world after the join. A patch is attached to correct the problem. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6877 Trac 1.4.3 David Deakins Tue, 08 May 2012 23:36:19 GMT attachment set https://svn.boost.org/trac10/ticket/6877 https://svn.boost.org/trac10/ticket/6877 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-exception-exception_ptr_test.cpp.patch</span> </li> </ul> <p> patch file </p> Ticket Emil Dotchevski Tue, 19 Jun 2012 20:54:58 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6877#comment:1 https://svn.boost.org/trac10/ticket/6877#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in trunk revision number 79012 </p> Ticket