[issue34205] Ansible: _PyImport_LoadDynamicModuleWithSpec() crash on an invalid object (UNREF invalid object)

2018-11-06 Thread Julien Palard
Julien Palard added the comment: Can't reproduce in 3.6.7. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue34205] Ansible: _PyImport_LoadDynamicModuleWithSpec() crash on an invalid object (UNREF invalid object)

2018-07-24 Thread Julien Palard
Julien Palard added the comment: I think it's already compiled in debug mode (https://github.com/pyenv/pyenv/blob/c057a80c8296a7c694e4ef80ecbac0d0c169df7a/plugins/python-build/bin/python-build#L2050). `-X dev` won't help (it's a 3.6.6 not a 3.7). The debug come from _Py_ForgetReference

[issue34205] Ansible: _PyImport_LoadDynamicModuleWithSpec() crash on an invalid object (UNREF invalid object)

2018-07-24 Thread STINNER Victor
STINNER Victor added the comment: Recently, there was a discussion to find to detect earlier inconsistent objects: https://mail.python.org/pipermail/python-dev/2018-June/153857.html In the meanwhile, if you have time, you can try to run Ansible with a Python compiled in debug mode

[issue34205] Ansible: _PyImport_LoadDynamicModuleWithSpec() crash on an invalid object (UNREF invalid object)

2018-07-24 Thread STINNER Victor
Change by STINNER Victor : -- title: Segmentation fault in _PyObject_Dump -> Ansible: _PyImport_LoadDynamicModuleWithSpec() crash on an invalid object (UNREF invalid object) ___ Python tracker