Boost C++ Libraries: Ticket #11290: Boost future continuations failing on OS X https://svn.boost.org/trac10/ticket/11290 <p> I have a problem with using boost future continuations via then(). I am building Boost 1.58 for both Linux 64-bit and OS X 64-bit. I have the following code that executes correctly: </p> <pre class="wiki"> auto future = session().join(m_realm); uint64_t session_id = future.get(); TRACE(trace_logger) &lt;&lt; "session joined: session_id " &lt;&lt; session_id; </pre><p> However if I re-write it as: </p> <pre class="wiki"> auto future = session().join(m_realm).then( [](boost::future&lt;uint64_t&gt;) { uint64_t session_id = future.get(); TRACE(trace_logger) &lt;&lt; "session joined: session_id " &lt;&lt; session_id; }).wait(); </pre><p> then the continuation is never called and I am stuck waiting on this future to be resolved for indefinitely. Seems to be a data race of some kind. Unfortunately, I don't have a minimal test case to reproduce the issue yet. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11290 Trac 1.4.3 viboes Thu, 14 May 2015 15:58:11 GMT owner, status changed https://svn.boost.org/trac10/ticket/11290#comment:1 https://svn.boost.org/trac10/ticket/11290#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Please, could you try the develop branch in order to see if this is already fixed? I have done a lot of changes in it. </p> Ticket anonymous Thu, 14 May 2015 16:10:37 GMT <link>https://svn.boost.org/trac10/ticket/11290#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11290#comment:2</guid> <description> <p> I will try out latest develop branch next chance I get. Might be a few days as I am waiting for a new mac. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Fri, 29 May 2015 18:04:17 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11290#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11290#comment:3</guid> <description> <p> Any news? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sun, 27 Sep 2015 13:47:06 GMT</pubDate> <title>type changed https://svn.boost.org/trac10/ticket/11290#comment:4 https://svn.boost.org/trac10/ticket/11290#comment:4 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Support Requests</span> </li> </ul> <p> PING !!! </p> Ticket viboes Sun, 11 Oct 2015 19:06:15 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11290#comment:5 https://svn.boost.org/trac10/ticket/11290#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> Ticket