[Boost-bugs] [Boost C++ Libraries] #12168: Issue with shared_ptr on boost python

Subject: [Boost-bugs] [Boost C++ Libraries] #12168: Issue with shared_ptr on boost python
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-04-28 15:19:19


#12168: Issue with shared_ptr on boost python
-------------------------------+-----------------------
 Reporter: praveenkumar076@… | Owner: pdimov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
  Version: Boost 1.58.0 | Severity: Problem
 Keywords: |
-------------------------------+-----------------------
 Hi,

 I have a struct A defined in C++ and exposed to python as shared_ptr.
 There are two global vectors of shared_ptrs of A.
 I create and add a object of type A from python to C++ in the two vectors
 Clear one vector
 Then when the python exits the program crashes with access violation
 error.

 I have attached both C++ and python file to recreate this issue.

 Thanks
 Praveen

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