Boost C++ Libraries: Ticket #5060: MSM deferred events do not work with g++ 4.2 https://svn.boost.org/trac10/ticket/5060 <p> When cbuilt with the g++, the deferred events either loop endlessly or result in a crash due to the stack overflow. I've changed the sample Orthogonal-Defered2.cpp void test() </p> <blockquote> <p> { </p> <blockquote> <p> player p; <em> needed to start the highest-level SM. This will call on_entry and mark the start of the SM p.start(); </em> test deferred event <em> deferred in Empty and Open, will be handled only after event cd_detected p.process_event(play()); </em></p> </blockquote> </blockquote> <blockquote> <blockquote> <p> <em> tests some flags std::cout &lt;&lt; "CDLoaded active:" &lt;&lt; std::boolalpha &lt;&lt; p.is_flag_active&lt;CDLoaded&gt;() &lt;&lt; std::endl; </em>=&gt; false (no CD yet) <em> go to Open, call on_exit on Empty, then action, then on_entry on Open </em> LINES ADDED cout &lt;&lt; "--------------------" &lt;&lt; endl; p.process_event(open_close()); pstate(p); p.process_event( play() ); pstate(p); cout &lt;&lt; "--------------------" &lt;&lt; endl; <em> ...etc </em></p> </blockquote> </blockquote> <p> and got a core ( Solaris 10 ) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5060 Trac 1.4.3 anonymous Tue, 11 Jan 2011 09:31:19 GMT attachment set https://svn.boost.org/trac10/ticket/5060 https://svn.boost.org/trac10/ticket/5060 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">Orthogonal-deferred3.cpp</span> </li> </ul> Ticket Steven Watanabe Tue, 18 Jan 2011 17:06:46 GMT component changed; owner set https://svn.boost.org/trac10/ticket/5060#comment:1 https://svn.boost.org/trac10/ticket/5060#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Christophe Henry</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">msm</span> </li> </ul> Ticket Christophe Henry Tue, 18 Jan 2011 18:50:02 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/5060#comment:2 https://svn.boost.org/trac10/ticket/5060#comment:2 <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> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.46.0</span> </li> </ul> <p> Fixed for 1.46 and trunk (rev 66490). See also: <a class="ext-link" href="http://lists.boost.org/Archives/boost/2010/11/172873.php"><span class="icon">​</span>http://lists.boost.org/Archives/boost/2010/11/172873.php</a> </p> Ticket