[Boost-bugs] [Boost C++ Libraries] #8527: signal_set goes into an infinit handling loop while handling SEGV

Subject: [Boost-bugs] [Boost C++ Libraries] #8527: signal_set goes into an infinit handling loop while handling SEGV
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-30 10:40:21


#8527: signal_set goes into an infinit handling loop while handling SEGV
-----------------------------------------------------+----------------------
 Reporter: Pichot Fabien <pichot.fabien@…> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: asio signal_set |
-----------------------------------------------------+----------------------
 When you create a signal_set handling SIGSEGV, and generate a real SEGV
 just after a call to async_wait, the program goes into an infinite loop of
 handling, burning a cpu to 100%.

 It seems that the asio handler writes the signal number into a pipe,
 returns, and is called again indefinitely (Cf the {l,s}trace log).

 I attached a small test to reproduce the problem, strace and ltrace files
 (interrupted after few seconds). Not sure if it's useful though

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8527>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC