[Boost-bugs] [Boost C++ Libraries] #9729: crash on managed_external_buffer object construction

Subject: [Boost-bugs] [Boost C++ Libraries] #9729: crash on managed_external_buffer object construction
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-02 08:07:23


#9729: crash on managed_external_buffer object construction
------------------------------+--------------------------
 Reporter: d.khlus@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
------------------------------+--------------------------
 An managed_external_buffer object construction coursed "buffer overrun"
 exception. Exception appeared only in Release x64 build mode, other build
 configuration work perfectly (e.g. Debug x64).

 Environment: boost 1.55

 Microsoft Visual Studio Ultimate 2013
 Version 12.0.21005.1 REL

 {{{
 #include <boost/interprocess/managed_external_buffer.hpp>
 #include <boost/aligned_storage.hpp>

 #include <iostream>

 int main()
 {
         using namespace boost::interprocess;

         const int memsize = 65536;
         static boost::aligned_storage<memsize>::type static_buffer;
         managed_external_buffer objects_in_static_memory(create_only,
 &static_buffer, memsize);

         return 0;
 }
 }}}

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