boostorg / boostorg/python

crash under python3.5

未關閉
#51 1 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
537
分支
223
平均合併
11 小時 22 分鐘
30 天內合併 PR
2

描述

# include

using namespace boost::python;
int main()
{
Py_Initialize();
object main_module = import("**main**");
}

There is an exception:

Exception thrown at 0x00000000004E126A (python35.dll) in test.exe: 0xC0000005: Access violation reading location 0x0000000000000025.

Call stack:

python35.dll!PyUnicode_InternInPlace(_object \* \* p) Line 15007 C python35.dll!PyImport_Import(_object \* module_name) Line 1752 C python35.dll!PyImport_ImportModule(const char \* name) Line 1260 C test.exe!boost::python::import(boost::python::str name) Line 20 C++

I try static link or dynamic link, all the same. I use vs2015, python 3.5.1, x64 build, Unicode set

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。