Re: [Boost-bugs] [Boost C++ Libraries] #13399: pthread_create segfaults when program is restarted after some time

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13399: pthread_create segfaults when program is restarted after some time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-01-16 09:14:23


#13399: pthread_create segfaults when program is restarted after some time
-----------------------------------+------------------------------
  Reporter: ttomas.mikalauskas@… | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords: Threads Asio TCP
-----------------------------------+------------------------------

Comment (by ttomas.mikalauskas@…):

 Actually just realised that the problem was that we created firstly tcp
 server and later client in thread pool that we map to thread id.

 The tcp server uses callback function to process message and process
 message uses map from which we get client based on thread_id

 As tcp server was getting messages and was calling callback processMessage
 while client was not created in threadpool

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13399#comment:1>
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 : 2018-01-16 09:19:01 UTC