Crash on macOS with some custom fonts installed

Andrew Udvare audvare at gmail.com
Wed Jan 27 04:58:35 UTC 2021


A user has reported that with some custom fonts installed, LibreOffice will crash at startup. This is with the latest 7.0.4.2 build.

https://trac.macports.org/ticket/62119

It appears the crash is in vcl/quartz/ctfonts.cxx in the DevFontFromCTFontDescriptor() function.

https://github.com/LibreOffice/core/blob/7a83d0a268a348a86dd31acbac94872eab82f75b/vcl/quartz/ctfonts.cxx#L304

Stack shows:

/usr/lib/system/libsystem_platform.dylib+0x3d7d(_sigtramp+0x1d)[0x7fff203b0d7d]
/usr/lib/system/libsystem_malloc.dylib+0x67aa(tiny_free_no_lock+0x45c)[0x7fff201977aa]
/Applications/MacPorts/LibreOffice.app/Contents/Frameworks/libvclplug_osxlo.dylib+0x34896 /Applications/MacPorts/LibreOffice.app/Contents/Frameworks/libvclplug_osxlo.dylib+0x35067 DevFontFromCTFontDescriptor(__CTFontDescriptor const*, bool*)
/Applications/MacPorts/LibreOffice.app/Contents/Frameworks/libvclplug_osxlo.dylib+0x35067fontEnumCallBack(void const*, void*)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation+0x4562f(CFArrayApplyFunction+0x3e)[0x7fff2042862f]
SystemFontList::Init()
GetCoretextFontList()

Don't know yet which font is causing the issue, but the user does not want to disable a font (which works fine in other apps presumably) just to use LO.

-- 
Andrew Udvare




More information about the LibreOffice mailing list