Boost C++ Libraries: Ticket #2697: Bug in the changeset 49264 https://svn.boost.org/trac10/ticket/2697 <p> It appears that there is an error in refactoring done within the changeset <a class="ext-link" href="https://svn.boost.org/trac/boost/changeset/49264"><span class="icon">​</span>49264</a>. </p> <p> The second block from the bottom contains the following diff: </p> <pre class="wiki">-if(NULL == m_ti) - return; +if(NULL == m_ti) { if(! tkmap::is_destroyed()){ </pre><p> After testing it appears that it should be (NULL != m_ti). </p> <hr /> <p> How to reproduce the bug (on windows): </p> <p> Within the same execution:<br /> </p> <ul><li>load and unload a module (.dll) that exports a serializable class<br /> </li><li>(de)serialize an instance of that class which will crash the application<br /> </li></ul><p> This will lead to a tkmap containing an pointer to an invalid (already destroyed) instance of extended_type_info_typeid_0. </p> <p> Evgeniy Tarassov </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2697 Trac 1.4.3 Robert Ramey Sat, 31 Jan 2009 18:42:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2697#comment:1 https://svn.boost.org/trac10/ticket/2697#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> thanks for spotting this. Fixed in my local copy and well migrate through the system. </p> <p> Robert Ramey </p> Ticket