Crash on macOS with some custom fonts installed

Xisco Fauli xiscofauli at libreoffice.org
Wed Jan 27 08:14:33 UTC 2021


Hello,

it would be hard to reproduce it / investigate it if the font is not
mentioned.

Could you please ask the user to report the bug in Bugzilla <
https://bugs.documentfoundation.org/enter_bug.cgi?product=LibreOffice&format=guided
> providing all the information required in order to reproduce the issue ?

Thanks

On 27/1/21 5:58, Andrew Udvare wrote:
> 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.
>
-- 
Xisco Faulí
LibreOffice QA Team
IRC: x1sc0



More information about the LibreOffice mailing list