Opened 14 years ago

Closed 14 years ago

#2697 closed Bugs (fixed)

Bug in the changeset 49264

Reported by: etarassov@… Owned by: Robert Ramey
Milestone: Boost 1.38.0 Component: serialization
Version: Boost 1.37.0 Severity: Problem
Keywords: Cc:

Description

It appears that there is an error in refactoring done within the changeset 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:

  • load and unload a module (.dll) that exports a serializable class
  • (de)serialize an instance of that class which will crash the application

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

Evgeniy Tarassov

Change History (1)

comment:1 by Robert Ramey, 14 years ago

Resolution: fixed
Status: newclosed

thanks for spotting this. Fixed in my local copy and well migrate through the system.

Robert Ramey

Note: See TracTickets for help on using tickets.