Opened 8 years ago
Closed 8 years ago
#11100 closed Bugs (fixed)
exec_file crashes in Visual Studio 2013 with Python 3.4.3
Reported by: | Owned by: | Stefan Seefeld | |
---|---|---|---|
Milestone: | To Be Determined | Component: | python USE GITHUB |
Version: | Boost 1.57.0 | Severity: | Problem |
Keywords: | visual-studio | Cc: | mikhail.matrosov@… |
Description
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
Change History (3)
comment:1 by , 8 years ago
Cc: | added |
---|
comment:2 by , 8 years ago
Owner: | changed from | to
---|
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in pull request n.15 on GitHub. Cannot attach a link :-/