[Boost-bugs] [Boost C++ Libraries] #11100: exec_file crashes in Visual Studio 2013 with Python 3.4.3

Subject: [Boost-bugs] [Boost C++ Libraries] #11100: exec_file crashes in Visual Studio 2013 with Python 3.4.3
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-10 22:11:12


#11100: exec_file crashes in Visual Studio 2013 with Python 3.4.3
---------------------------------------------------+---------------------
 Reporter: Mikhail Matrosov <mikhail.matrosov@…> | Owner: rwgk
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Python
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: visual-studio |
---------------------------------------------------+---------------------
 The following code crashes with "0xC0000005: Access violation writing
 location":

 {{{
 #include <boost/python.hpp>

 using namespace boost::python;

 int main(int argc, char** argv)
 {
   Py_Initialize();

   object main = import("__main__");
   object ns = main.attr("__dict__");
   exec_file("action.py", ns, ns);

   return 0;
 }
 }}}

 Compiler: Visual Studio 2013 Update 4
 Python: v3.4.3

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