Boost C++ Libraries: Ticket #11611: boost::executors::serial_executor_cont stack overflow during destruction https://svn.boost.org/trac10/ticket/11611 <p> I'm getting stack overflow in destructor of serial_executor_cont under Visual Studio 2015 RTM. </p> <pre class="wiki">#include &lt;iostream&gt; #include &lt;thread&gt; #define BOOST_THREAD_PROVIDES_FUTURE #define BOOST_THREAD_PROVIDES_EXECUTORS #define BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION #include &lt;boost/thread/executors/loop_executor.hpp&gt; #include &lt;boost/thread/executors/serial_executor_cont.hpp&gt; using namespace std; int main() { boost::loop_executor ex; thread t([&amp;ex]() { ex.loop(); }); { boost::serial_executor_cont serial(ex); for (size_t i = 0; i &lt; 100000; i++) serial.submit([] {}); serial.close(); } ex.close(); t.join(); cout &lt;&lt; "end" &lt;&lt; endl; } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11611 Trac 1.4.3 viboes Wed, 02 Sep 2015 17:49:18 GMT owner, status changed https://svn.boost.org/trac10/ticket/11611#comment:1 https://svn.boost.org/trac10/ticket/11611#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> Ticket viboes Wed, 02 Sep 2015 21:00:01 GMT <link>https://svn.boost.org/trac10/ticket/11611#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11611#comment:2</guid> <description> <p> serial_executor_cont class is not supported. Please, could you try serial_executor? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Thu, 03 Sep 2015 06:54:27 GMT</pubDate> <title>type changed https://svn.boost.org/trac10/ticket/11611#comment:3 https://svn.boost.org/trac10/ticket/11611#comment:3 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Support Requests</span> </li> </ul> <p> serial_executor_cont implementation has this stack drawback as it uses continuations. When one one of the task is executed the next task in executed on the continuation which will make the future to be ready starting again the continuation ... </p> Ticket viboes Sun, 27 Sep 2015 13:49:19 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11611#comment:4 https://svn.boost.org/trac10/ticket/11611#comment:4 <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">invalid</span> </li> </ul> Ticket