Boost C++ Libraries: Ticket #11100: exec_file crashes in Visual Studio 2013 with Python 3.4.3 https://svn.boost.org/trac10/ticket/11100 <p> The following code crashes with "0xC0000005: Access violation writing location": </p> <pre class="wiki">#include &lt;boost/python.hpp&gt; 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; } </pre><p> Compiler: Visual Studio 2013 Update 4 Python: v3.4.3 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11100 Trac 1.4.3 Mikhail Matrosov <mikhail.matrosov@…> Tue, 10 Mar 2015 22:47:30 GMT cc set https://svn.boost.org/trac10/ticket/11100#comment:1 https://svn.boost.org/trac10/ticket/11100#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">mikhail.matrosov@…</span> added </li> </ul> <p> Fixed in pull request n.15 on GitHub. Cannot attach a link :-/ </p> Ticket Stefan Seefeld Thu, 26 Mar 2015 12:28:42 GMT owner changed https://svn.boost.org/trac10/ticket/11100#comment:2 https://svn.boost.org/trac10/ticket/11100#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Ralf W. Grosse-Kunstleve</span> to <span class="trac-author">Stefan Seefeld</span> </li> </ul> Ticket Stefan Seefeld Thu, 26 Mar 2015 12:28:58 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11100#comment:3 https://svn.boost.org/trac10/ticket/11100#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket