[Python-modules-team] Bug#871487: python-pyglet: Segmentation fault when using fonts
Mark Hymers
mhy at debian.org
Tue Aug 8 12:15:42 UTC 2017
Package: python-pyglet
Version: 1.1.4.dfsg-3
Severity: important
Tags: upstream patch
Dear Maintainer,
pyglet in stretch causes a segmentation fault when using the font
routines. This can be trivially reproduced:
import pyglet
pyglet.font.load("", 30)
Segmentation fault
This problem does not occur in jessie.
I have tracked this down to the way that ctypes is being used to
call the fontconfig library. Please find attached a patch which
fixes this.
This is probably important enough to consider a stable update once the
fix is in unstable, as any application which calls pyglet.font.load in
stretch will segmentation fault (e.g. psychopy as soon as a TextStim
object is created).
Thanks,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fontconfig_ctypes_fixes
Type: text/x-diff
Size: 905 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170808/784b7a65/attachment.diff>
More information about the Python-modules-team
mailing list