Re: [Boost-bugs] [Boost C++ Libraries] #3716: Application crash when using Boost.Python in a plug-in DLL for that application

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: 2010-02-23 06:15:57


#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 erkki.vahala@…):

 Boost python has also other problems related to initialization via static
 variables: on Windows, loading a DLL, which defines boost python modules
 with BOOST_PYTHON_MODULE macros, causes RTTI data to be stored in a static
 registry (converter/registry.cpp). If the DLL is then unloaded, registry
 will contain danging pointers - subsequent attempts to load DLLs with
 modules/exercise the registry by other means will cause a memory access
 violation as the registry tree comparison operations try to access the
 stale RTTI data.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3716#comment:2>
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