Subject: [Boost-bugs] [Boost C++ Libraries] #11728: interprocess::message_queue deadlocked when process exists unexpectedly on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-10-15 07:37:45
#11728: interprocess::message_queue deadlocked when process exists unexpectedly on
Windows
---------------------------------------+--------------------------
Reporter: Lingxi Li <lilingxi.cs@â¦> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.59.0 | Severity: Showstopper
Keywords: deadlock |
---------------------------------------+--------------------------
Suppose two processes communicate via a `message_queue`. On Windows
operating systems, when either of the two exists unexpectedly (e.g., via a
crash or a kill process command), the other gets deadlocked. Attached is
code that reproduces the deadlock reliably. First, launch the server
process (reader), and then the client process (writer). Kill the server,
and the client gets deadlocked within `try_send()`.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11728> 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:19 UTC