Re: [Boost-bugs] [Boost C++ Libraries] #3272: Boost::shared_ptr crash when used in stl queue (was: Boost::sherad_ptr crash when used in stl queue)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3272: Boost::shared_ptr crash when used in stl queue (was: Boost::sherad_ptr crash when used in stl queue)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-17 16:43:08


#3272: Boost::shared_ptr crash when used in stl queue
------------------------------------------+---------------------------------
 Reporter: vikash.sharma@… | Owner: pdimov
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: smart_ptr
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: Boost::shared_ptr crash |
------------------------------------------+---------------------------------
Changes (by steven_watanabe):

  * owner: grafik => pdimov
  * component: Regression Testing => smart_ptr
  * severity: Regression => Problem

Comment:

 It should be safe to use shared_ptr with std::queue.

 I don't understand exactly what you are doing.

 Does the parent thread write to the queue while the
 child thread is reading from it or does the parent
 thread fill the queue completely before launching
 the child?

 I'm assuming that this problem is reproducible.
 If you leave the process running long enough it
 will eventually crash.

 Unless you can provide a reduced test case, I doubt
 that there is much I can do to trace the problem.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3272#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 : 2017-02-16 18:50:00 UTC