SkiaSharp
SkiaSharp copied to clipboard
[BUG] Regression: libHarfBuzzSharp.so uses symbols from the system libharfbuzz.so.0 which causes SIGSEGV
This was previously fixed by https://github.com/mono/SkiaSharp/pull/2247, however LibraryLoader is only used for netfx builds, net6.0 build doesn't contain it anymore.
As of the issue details, see the original PR
Repro:
Use GtkSharp and the following code:
class Program
{
static void Main(string[] args)
{
// Causes SIGSEGV
Gtk.Application.Init();
var font = new HarfBuzzSharp.Font(new Face((_, _) => null));
font.TryGetGlyph(65, out _);
Console.WriteLine("Survived");
}
}