Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3716: Application crash when using Boost.Python in a plug-in DLL for that application
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-04 18:01:00
#3716: Application crash when using Boost.Python in a plug-in DLL for that
application
------------------------------------------------------+---------------------
Reporter: Emmanuel Giasson <zirconia_@â¦> | Owner: dave
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: Python
Version: Boost 1.41.0 | Severity: Showstopper
Keywords: |
------------------------------------------------------+---------------------
Comment(by Emmanuel Giasson <zirconia_@â¦>):
I just realized that my fix may cause another bug should the application
"reset" the Python interpreter (such as calling Py_Finalize then
Py_Initialize) while the DLL with Boost.Python is still loaded. The
pointer in function.cpp on the Boost.Python.function object then becomes a
dangling reference. Perhaps a cleanup function registered with Py_AtExit
could fix that.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3716#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:02 UTC