Boost C++ Libraries: Ticket #6933: Access-violations in C:boost\boost\boost\asio\basic_io_object.hpp https://svn.boost.org/trac10/ticket/6933 <p> Moin Moin. </p> <p> If the basic_io_object constructor is being interrupted by an exception, it will be creating an access-violation within the destructor due to the fact, that te reference will not have been initialised. For my local installation, I added a bool variable, tracking the initialisation and throw an exception in the get* functions, and do nothing within the destructor . </p> <blockquote> <p> Tschuess, </p> <blockquote> <p> Michael. </p> </blockquote> </blockquote> <p> Moin Moin. If the basic_io_object constructor is being interrupted by an exception, </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6933 Trac 1.4.3 anonymous Wed, 23 May 2012 11:26:21 GMT attachment set https://svn.boost.org/trac10/ticket/6933 https://svn.boost.org/trac10/ticket/6933 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">basic_io_object.hpp</span> </li> </ul> Ticket chris_kohlhoff Mon, 28 May 2012 23:35:36 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6933#comment:1 https://svn.boost.org/trac10/ticket/6933#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">invalid</span> </li> </ul> <p> Sorry, I do not understand your bug report. If the constructor exits with an exception then the destructor should not run at all. </p> <p> Please reopen this ticket if you can supply a complete compilable test case that shows the problem, thanks. </p> Ticket