[Boost-bugs] [Boost C++ Libraries] #10118: boost::interprocess windows_intermodule_singleton crashes when mixing compilers

Subject: [Boost-bugs] [Boost C++ Libraries] #10118: boost::interprocess windows_intermodule_singleton crashes when mixing compilers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-12 12:04:12


#10118: boost::interprocess windows_intermodule_singleton crashes when mixing
compilers
------------------------------+--------------------------
 Reporter: emil.styrke@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
------------------------------+--------------------------
 windows_semaphore_based_map uses an std::map to communicate between
 modules. However, the ABI of std::map is different between (for example)
 VS2008 and VS2012, which means that if a DLL compiled with VS2012 is
 linked with an application compiled with VS2008, the second module to use
 the intermodule singleton will crash.

 This is essentially the same problem as #9262, but with different compiler
 versions instead of different build types.

 A simple workaround is to comment out
 {{{#!cpp
 #define BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME
 }}}

 in `interprocess/detail/workaround.hpp`.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10118>
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:50:16 UTC