boostorg / boostorg/python

crash under python3.5

Đang mở
#51 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
537
Fork
223
Merge trung bình
11 giờ 22 phút
Pull request đã merge (30 ngày)
2

Mô tả

# 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.