TextStim lead to "Fatal Python error: (pygame parachute) Segmentation Fault" in Debian Testing

Hi,
I had the same problem on Debian. In my case, PsychoPy (which was working fine) would regularly crash when I’d lunch any experiment (with the “pygame parachute…” msg appearing on the console). I don’t know exactly when that started, but probably after I updated/installed some Debian packages. The pygame message was quite misleading, as pygame had nothing to do with it. In my case it was a pyglet related issue: a SEGMENTATION FAULT occurred when pyglet would try to set the font for a TextStim (libraries involved: libfontconfig firstly & then libffi). To make it short, I reinstalled pyglet through pip and the problem was fixed.

I hope this helps.

Cheers,
L.