matplotlib svn bug: "Found an unknown keyword in AFM header..."?

Eric Firing <efiring@...202...> writes:

My guess is that this problem has been lurking all along, but was only
triggered when I changed font_manager to look for *all* system fonts
instead of only truetype,

Another data point: a recent svn version of matplotlib segfaults on my
OS X system, and ktrace suggests it occurs while it is reading
CharcoalCY.dfont. Running under gdb causes it to exit with a traceback
that ends like this:

  File "/Users/jks/Hacking/matplotlib/matplotlib/lib/matplotlib/font_manager.py", line 200, in get_fontconfig_fonts
    status, output = commands.getstatusoutput("fc-list file")
  File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/commands.py", line 54, in getstatusoutput
    text = pipe.read()
IOError: [Errno 4] Interrupted system call

Investigating...

···

--
Jouni K. Sepp�nen