Closed SammysHP closed 8 years ago
Hi SammysHP,
I can't reproduce it, unfortunately... Did you experience issues with the 2.5.5-7 build from the ib repo? 2.6-1 is almost exactly the same library as 2.5.5-7.
Did you try rebuilding the font cache?
# fc-cache -f
did not help.
I did a quick bisect and the results are:
good: freetype2-infinality-ultimate 2.5.5-1
bad: freetype2-infinality-ultimate 2.5.5-2
Yep, I can reproduce it with a different svg file, though. Vanilla freetype2 2.6 from [testing] seems to be working correctly. We'll have to revise the Infinality patchset.
Thanks for reporting.
From what I can tell, it has to do with the changes in upstream's build configuration that causes gcc to be a little more strict wrt to C89 and C90. The crashes are coming from strcasecmp and strcasestr which are GNU extensions and the build output complains that their declarations are implicit.
As a quick fix, I was able to eliminate the crash by simply using the more standard strncmp and strstr and create the thumbnail from the test case @SammysHP provided.
@bohoomil I think the problem can be fixed by using the standard C string functions, but we'd lose case-insensitivity in the infinality-settings.sh config without rolling our own replacements. There are also functional code paths that require case-insensitivity, but I could work around that fairly easily. We could also add _GNU_SOURCE as our own build requirement to get these extensions back.
In general, the string/config-handling needs to be overhauled anyway but just as a stopgap, we could do one of the above depending on your preferences.
Still not working with 2.6-3 from Di 25 Aug 2015 04:26:04 CEST.
As far as I can tell, the recent build (2015.11.08) fixes the issues with svg files. Would you mind checking this out on your machine(s)? Thank you in advance.
freetype2-infinality-ultimate 2.6.1-2
Still the same issue.
nautilus[11931]: segfault at 7f1865a6f268 ip 00007f1886cbb04d sp 00007f1865a6f270 error 6 in libfreetype.so.6.12.1[7f1886c4f000+be000]
@SammysHP Is this still segfaulting as of the 2015-12-05 release?
It works! Thanks.
When I open a directory that contains a specific SVG file in Nautilus, a segfault in libfreetype.so occurs.
It is
freetype2-infinality-ultimate 2.6-1
from your repo:You can get the SVG file here: https://dl.dropboxusercontent.com/u/44720989/Keller-Raumschild.svg
As you can see, the backtrace might not be really helpful, but maybe you can reproduce the issue. If not, please tell me and I'll try to give more information.
And I don't know if this is infinality related at all. Might be an upstream bug, but I don't have the time to switch all related packages and test it. If you can reproduce it, you might get better results with debug symbols etc.