Opened 6 years ago
Last modified 6 years ago
#12168 new Bugs
Issue with shared_ptr on boost python
Reported by: | Owned by: | Peter Dimov | |
---|---|---|---|
Milestone: | To Be Determined | Component: | smart_ptr |
Version: | Boost 1.58.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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
Attachments (2)
Change History (3)
by , 6 years ago
Attachment: | TestShared.cpp added |
---|
by , 6 years ago
Attachment: | TestShared.py added |
---|
comment:1 by , 6 years ago
Praveen,
Could you please post this to
https://github.com/boostorg/python/issues
which now seems to be the preferred channel for reporting Boost.Python issues?
Note:
See TracTickets
for help on using tickets.
C++ File