Closed jeroen closed 8 years ago
judging from the error message, that would be gdtools. I'll look into it.
This problem does not appear on mac and windows I think.
I ran revdep_check()
on a mac :/
On mac you can test using docker for mac:
docker pull fedora:latest
docker run -i -t fedora:latest /bin/bash
And then install R and svglite, etc.
Could you give the result of gdtools::version_fontconfig()
please.
Seems to be the same issue: https://groups.google.com/forum/#!topic/shiny-discuss/5kuGWnEb_LE
I just checked on Windows 10, and no error. It did hang for a while but eventually worked.
The hang is fontconfig building a cache of the system fonts and should only happen once.
second try was quick as you suggest. Thanks!
The Cairo svg device initialises fontconfig only once per session:
and doesn't finalise it. Maybe it does not clean up other related resources correctly and this triggers the crash when we try to finalise fontconfig in gdtools. Quick solution: not finalising fontconfig in gdtools to be on the safe side.
An example in the
rsvg
package is segfaulting after thesvglite
update (or perhaps one of it's dependencies). The problem is in svglite; I can reproduce the problem without rsvg as well (on the latest Fedora stable).The crash appears somewhat randomly which suggests a memory corruption caused earlier on. A reproducible example without rsvg:
This problem does not appear on mac and windows I think.