Boost C++ Libraries: Ticket #9602: Unexpected ABI change in boost::interprocess::rbtree_best_fit https://svn.boost.org/trac10/ticket/9602 <p> Copied from the boost-users mailing list. This is in relation to the change in the binary representation of boost::interprocess::rbtree_best_fit between boost 1.53 and boost 1.55. </p> <p> This problem was observed in MSVC 2012 x86-64 builds. </p> <p> El 22/01/2014 22:06, Arunski, Kevin escribió: </p> <blockquote class="citation"> <p> boost::interprocess::rbtree_best_fit&lt;boost::interprocess::null_mutex_family,boost::interprocess::offset_ptr&lt;void,__int64,unsigned __int64,0&gt;,0&gt; </p> <p> has size = 56 member m_header.m_imultiset has size 32 </p> <p> In code compiled with boost 1.55: </p> <p> the same type has size = 72 member m_header.m_imultiset has size 48 </p> </blockquote> <p> Wow, that's too big. I think this is related with MSVC Empty Base Implementation behaviour. I refactored those classes to avoid redundant simple forwarding functions using inheritance and that broke this for MSVC compilers. I should add some checks for 32 and 64 bit compilers to guarantee the minimum size (16 bytes in 32 bit and 32 bytes in 64 bit). Please, fill a new ticket in Boost Trac so that I don't forget this bug. And thanks for the report. Ion </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9602 Trac 1.4.3 Ion Gaztañaga Thu, 30 Jan 2014 13:24:28 GMT component changed https://svn.boost.org/trac10/ticket/9602#comment:1 https://svn.boost.org/trac10/ticket/9602#comment:1 <ul> <li><strong>component</strong> <span class="trac-field-old">interprocess</span> → <span class="trac-field-new">intrusive</span> </li> </ul> <p> Assigned to Intrusive. </p> <p> It was much harder to fix that I originally thought. I've committed changeset 2ffe6b2f8298d485b60b6d8eb4feb8111d6ff488 in Boost.Intrusive. Please let me know if this fixes the problem. </p> Ticket kevin.arunski@… Thu, 30 Jan 2014 13:38:39 GMT <link>https://svn.boost.org/trac10/ticket/9602#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9602#comment:2</guid> <description> <p> Thanks, I will test ASAP. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 04 Feb 2014 19:10:35 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9602#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9602#comment:3</guid> <description> <p> Confirmed that change set 2ffe6b2f8298d485b60b6d8eb4feb8111d6ff488 fixes the issue. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Wed, 05 Feb 2014 08:11:06 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9602#comment:4 https://svn.boost.org/trac10/ticket/9602#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> Thanks for the report, closing the issue. </p> Ticket