[Boost-bugs] [Boost C++ Libraries] #7553: interprocess/asio interference issue

Subject: [Boost-bugs] [Boost C++ Libraries] #7553: interprocess/asio interference issue
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-22 23:45:38


#7553: interprocess/asio interference issue
----------------------------------------------------+-----------------------
 Reporter: Todd Chadwick <ctchadwick@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: ipc, asio, exception |
----------------------------------------------------+-----------------------
 I am experiencing an issue where trying to access a previously created
 shared memory segment causes the following exception to be thrown when
 using the IPC and ASIO (TCP sockets specifically) libraries together:

 terminate called after throwing an instance of
 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error>
>'
   what(): resolve: No such host is known

 This is issue does not occur when I utilize 1.49 libraries. When the
 shared memory is removed the application does not throw this exception but
 when subsequently restarted, the exception is thrown. My goal for
 utilizing the shared memory structure is that it provide a persistence
 mechanism for a collection of IDs generated by the application that need
 to be available should a crash happen. Accessing the shared memory at
 different application instances without creating the socket works as
 expected (the previously created shared segment is accessible). The
 exception happens whenever the shared memory segment exists prior to the
 application start up. Again this does not happen with the verion 1.49
 libraries.

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