Boost C++ Libraries: Ticket #12168: Issue with shared_ptr on boost python https://svn.boost.org/trac10/ticket/12168 <p> Hi, </p> <p> 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. </p> <p> I have attached both C++ and python file to recreate this issue. </p> <p> Thanks Praveen </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12168 Trac 1.4.3 Praveen <praveenkumar076@…> Thu, 28 Apr 2016 15:27:19 GMT attachment set https://svn.boost.org/trac10/ticket/12168 https://svn.boost.org/trac10/ticket/12168 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">TestShared.cpp</span> </li> </ul> <p> C++ File </p> Ticket Praveen <praveenkumar076@…> Thu, 28 Apr 2016 15:28:06 GMT attachment set https://svn.boost.org/trac10/ticket/12168 https://svn.boost.org/trac10/ticket/12168 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">TestShared.py</span> </li> </ul> Ticket Peter Dimov Thu, 28 Apr 2016 15:46:09 GMT <link>https://svn.boost.org/trac10/ticket/12168#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12168#comment:1</guid> <description> <p> Praveen, </p> <p> Could you please post this to </p> <p> <a class="ext-link" href="https://github.com/boostorg/python/issues"><span class="icon">​</span>https://github.com/boostorg/python/issues</a> </p> <p> which now seems to be the preferred channel for reporting Boost.Python issues? </p> </description> <category>Ticket</category> </item> </channel> </rss>