[Boost-bugs] [Boost C++ Libraries] #2697: Bug in the changeset 49264

Subject: [Boost-bugs] [Boost C++ Libraries] #2697: Bug in the changeset 49264
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-29 16:16:49

#2697: Bug in the changeset 49264
 Reporter: etarassov_at_[hidden] | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.38.0 | Component: serialization
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: |
 It appears that there is an error in refactoring done within the changeset
 [https://svn.boost.org/trac/boost/changeset/49264 49264].

 The second block from the bottom contains the following diff:

 -if(NULL == m_ti)
 - return;
 +if(NULL == m_ti) {
  if(! tkmap::is_destroyed()){

 After testing it appears that it should be (NULL != m_ti).


 How to reproduce the bug (on windows):

 Within the same execution:[[BR]]
 * load and unload a module (.dll) that exports a serializable class[[BR]]
 * (de)serialize an instance of that class which will crash the

 This will lead to a tkmap containing an pointer to an invalid (already
 destroyed) instance of extended_type_info_typeid_0.

 Evgeniy Tarassov

Ticket URL: <https://svn.boost.org/trac/boost/ticket/2697>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC