[Boost-bugs] [Boost C++ Libraries] #5021: io_service destructor hangs on Mac OS X

Subject: [Boost-bugs] [Boost C++ Libraries] #5021: io_service destructor hangs on Mac OS X
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-24 22:32:09


#5021: io_service destructor hangs on Mac OS X
-----------------------------------------------+----------------------------
 Reporter: Remko Tronçon <remko@…> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
-----------------------------------------------+----------------------------
 Sometimes, when destroying an io_service object on Mac OS X, my
 application is locked indefinitely. I have the feeling this happens when I
 destroy the io_service object right at the time when something's wrong
 with my network connection.

 I have attached Instruments, and this seems to point that it's stuck in
 the destructor of pipe_secet_interrupter(), in the call to close() (See
 screenshot attached).

 Is there something that can be done to avoid this?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5021>
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:05 UTC