Sorry, you'll have to be a bit more informative on this one... I don't usually debug under the osx environment and know next to nothing about the internals of VLC. Do you have some instructions I can follow?@raziel: do you know how to use strace?
Can you check that a fontconfig cache file is created somewhere?
Examining the file activity on a running VLC (a subtitled file had already been read) process through Instruments, I see the folllowing:Can you check that a fontconfig cache file is created somewhere?
How do the subsequent runs work?No fontcache could be created: the /usr/X11/var/cache/fontconfig mode is 755 for root:wheel. I now realize that the fd returned for the cache files was -1, which I assume means that they failed to be opened (in rw mode), so your hunch about the source of the problem seems correct.
A chmod o+w on the directory let the cache be built (the file ownership for the three files changed from root to my user), so after one last long pause playback was back again to being reasonably instantaneous.I have run Disk Utilities permission repair to see if that fontconfig cache directory should have other settings but it has found nothing to repair.
Fine, both after restarting and with a couple of different soft-subbed MKV files: the fontcache files are checked and there is no access to the fonts directory.How do the subsequent runs work?
Well, if you guys intend to keep it as a manual process, at least ship these instructions with the next release somehow... Like, prompt the user in-program if he tries to open something with subtitles if the permissions on that folder is not set correctly.I believe this is the correct fix.
Good luck with that. Thanks for the helpWell, we will see if we can patch fontconfig like on Windows.
Return to “VLC media player for macOS Troubleshooting”
Users browsing this forum: No registered users and 4 guests