Boost C++ Libraries: Ticket #9729: crash on managed_external_buffer object construction https://svn.boost.org/trac10/ticket/9729 <p> 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). </p> <p> Environment: boost 1.55 </p> <p> Microsoft Visual Studio Ultimate 2013 Version 12.0.21005.1 REL </p> <pre class="wiki">#include &lt;boost/interprocess/managed_external_buffer.hpp&gt; #include &lt;boost/aligned_storage.hpp&gt; #include &lt;iostream&gt; int main() { using namespace boost::interprocess; const int memsize = 65536; static boost::aligned_storage&lt;memsize&gt;::type static_buffer; managed_external_buffer objects_in_static_memory(create_only, &amp;static_buffer, memsize); return 0; } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9729 Trac 1.4.3 d.khlus@… Sun, 02 Mar 2014 08:55:41 GMT <link>https://svn.boost.org/trac10/ticket/9729#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9729#comment:1</guid> <description> <p> Additionally, if code optimization is disabled - everything works perfectly and bug is not reproduced. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Mon, 03 Mar 2014 21:53:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9729#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9729#comment:2</guid> <description> <p> This was fixed in current Git develop and master branches. Can you test if your problem goes away with that code? </p> </description> <category>Ticket</category> </item> <item> <author>d.khlus@…</author> <pubDate>Tue, 04 Mar 2014 19:15:08 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9729#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9729#comment:3</guid> <description> <p> I successfully test it on dev branch. Bug is not reproduced. Issue resolved. Thank you for quick response and your help. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Sun, 27 Apr 2014 23:31:04 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9729#comment:4 https://svn.boost.org/trac10/ticket/9729#comment:4 <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> This was fixed in: </p> <p> SHA-1: cdda0f1854ebd90997b6a2375283afd6edf921fa </p> <ul><li>Workaround for MSVC2013 x64 </li></ul> Ticket