Boost C++ Libraries: Ticket #13626: Growing managed mapped file cause a pointer invalidation https://svn.boost.org/trac10/ticket/13626 en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13626 Trac 1.4.3 bvbfan@… Thu, 05 Jul 2018 15:49:17 GMT attachment set https://svn.boost.org/trac10/ticket/13626 https://svn.boost.org/trac10/ticket/13626 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">main.cpp</span> </li> </ul> <p> g++ main.cpp -o main </p> Ticket bvbfan@… Thu, 05 Jul 2018 15:53:54 GMT <link>https://svn.boost.org/trac10/ticket/13626#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13626#comment:1</guid> <description> <pre class="wiki">[toni@toni-pc ~]$ uname -a Linux toni-pc 4.16.14-1 #1 SMP PREEMPT Tue Jun 5 20:05:46 UTC 2018 x86_64 GNU/Linux </pre><p> Provided example *works* when grow size is below 7*500. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 05 Jul 2018 15:55:52 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13626#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13626#comment:2</guid> <description> <p> For some reason gcc all version is marked as spam so -&gt; gcc version 7.3.0 (GCC) Growing algorithm not work in all cases when size over 6*500 bytes which is not that much to make grow usable. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 05 Jul 2018 15:57:43 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13626#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13626#comment:3</guid> <description> <pre class="wiki">[toni@toni-pc test]$ ./main 10000 before growing: size: 10000 p is owned: 1 p-&gt;test is owned: 1 p-&gt;test = 0x7f6cd51f3090 after growing size: 13500 p is owned: 1 p-&gt;test is owned: 0 p-&gt;test = 0 </pre><p> My results of attached example. p-&gt;test *should* be valid. </p> </description> <category>Ticket</category> </item> </channel> </rss>