Boost C++ Libraries: Ticket #5815: booast asio crash in io_service run https://svn.boost.org/trac10/ticket/5815 <p> Boost Asio crashes on slackware linux with g++ (GCC) 4.5.2 I made a simple http server startig from the examples on the website. When I add a deadline timer to shutdown the connection, only adding it in the connection class and and initializing it with the io_service makes the program to seg fault in io_service run. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5815 Trac 1.4.3 mileandrei@… Fri, 26 Aug 2011 17:46:34 GMT attachment set https://svn.boost.org/trac10/ticket/5815 https://svn.boost.org/trac10/ticket/5815 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">http_connection.cpp</span> </li> </ul> Ticket mileandrei@… Fri, 26 Aug 2011 17:47:03 GMT attachment set https://svn.boost.org/trac10/ticket/5815 https://svn.boost.org/trac10/ticket/5815 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">http_connection.h</span> </li> </ul> Ticket mileandrei@… Fri, 26 Aug 2011 17:47:34 GMT attachment set https://svn.boost.org/trac10/ticket/5815 https://svn.boost.org/trac10/ticket/5815 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">http_server.h</span> </li> </ul> Ticket mileandrei@… Fri, 26 Aug 2011 17:48:05 GMT attachment set https://svn.boost.org/trac10/ticket/5815 https://svn.boost.org/trac10/ticket/5815 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">http_server.cpp</span> </li> </ul> Ticket mileandrei@… Fri, 26 Aug 2011 17:49:26 GMT attachment set https://svn.boost.org/trac10/ticket/5815 https://svn.boost.org/trac10/ticket/5815 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">trace.txt</span> </li> </ul> Ticket mileandrei@… Fri, 26 Aug 2011 18:47:50 GMT <link>https://svn.boost.org/trac10/ticket/5815#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5815#comment:1</guid> <description> <p> you can remove the unnecessary code, the only code involved is the one with boost classes io_service, signals, deadlie_timer, socket etc. The functions in the connection.cpp are not called, the program crash happens before this, when the browser makes the first connection to the server and the io_service tries to dispatch the first task as you can see from the call stack in the trace file </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sun, 16 Oct 2011 18:00:21 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/5815#comment:2 https://svn.boost.org/trac10/ticket/5815#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">chris_kohlhoff</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">asio</span> </li> </ul> Ticket