boostorg / boostorg/python

crash under python3.5

Abierto
#51 1 comentario 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
537
Forks
223
Merge medio
11 h 22 min
PR fusionados (30 d)
2

Descripción

# 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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.