Kodi Community Forum
[linux-external-python-2.6] python crashed on 4th run, if "ctypes" is used - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [linux-external-python-2.6] python crashed on 4th run, if "ctypes" is used (/showthread.php?tid=62056)



[linux-external-python-2.6] python crashed on 4th run, if "ctypes" is used - s7mx1 - 2009-11-20

python 2.6 may cause xbmc to crash on Py_Finalize() on 4th cycle if "ctypes" is used. To see the problem you can try to add "import uuid" into your script/plugin and run it more than 4 times.

The patch is based on python bug issue 6869
http://bugs.python.org/issue6869

You can find the modified patch in trac:

http://www.xbmc.org/trac/ticket/7785