[issue24544] Race condition and crash when embedding multi-thread script

2015-07-01 Thread Oleksiy Markovets
Oleksiy Markovets added the comment: attached file -- Added file: http://bugs.python.org/file39841/main.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24544

[issue24544] Race condition and crash when embedding multi-thread script

2015-07-01 Thread Oleksiy Markovets
New submission from Oleksiy Markovets: INTRODUCTION While embedding python script in c++ application I faced random crashes with error: Fatal Python error: Py_EndInterpreter: not the last thread