I encounter this problem almost always when i am working on a python-pygame project. Every second time when i evaluate the whole buffer with
C-c C-c or with
C-c C-l the pygame window open for a very short time and then every thing crashes including the python interpreter, and i get this error message:
Process Python segmentation fault (core dumped)
Does anyone know what the reason is and how can i fix it? I am on ubuntu 16.04 and using the default python-mode of emacs24.