[Fontconfig-bugs] [Bug 97546] fc-cache failure with /System/Library/Fonts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 8 15:29:01 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97546

--- Comment #6 from Ed Porras <ed at motologic.com> ---
Created attachment 126308
  --> https://bugs.freedesktop.org/attachment.cgi?id=126308&action=edit
Cleaned up traces with additional font traces in the loop that causes
FcCacheOffsetsValid() to fail

First off, sorry about last night's messy post. I've been quite busy these past
two weeks between work and travel and I wanted to get a response out to help
but losing all the text I typed in when I tried attaching a file just killed
me.

Anyway, I've cleaned up the traces a bit in the attached output to be more
clear as to what is causing errors. I'm having to do this from my admin account
as I ran into problems from my regular user since the install path is on the
system. As a result, I'm not able to debug with gdb so I've been stuck with
lldb.

I added the traces to start getting some understanding of the flow. The thing
that threw me off at first is why is fc-cache trying to open a non-existent
cache. In the attached output you'll see I delete the cache from
/usr/local/var/cache/fontconfig (/usr/local/var was passed as the localstatedir
option to configure since it's where home-brew puts it), and, upon running it,
it tries to open one of the files that was there. Where is it getting that
from? I can't find this file anywhere else and I've checked the target
directory (/usr/local/Cellar/fontconfig/2.12.1-ep) and everywhere I can think
of in /usr/local.

Any ideas?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20160908/a0a3b613/attachment.html>


More information about the Fontconfig-bugs mailing list