https://bugs.documentfoundation.org/show_bug.cgi?id=140401
Patrick Luby <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|[email protected] |[email protected] |desktop.org | Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #22 from Patrick Luby <[email protected]> --- I can reproduce this crash if I manually copy the following fonts into my ~/Library/Fonts folder, launch the Font Book application, and then launch LibreOffice: HanaMin.sfont HanaMinEx.sfont HanaMinExA1.otf HanaMinExA2.otf HanaMinExB.otf If I validate the HanaMin.sfont in the Font Book application, Font Book says that the font has 1 serious problem i.e. it is a badly formatted font file. Disabling the HanaMin.sfont stops the crashing. Below is that LibreOffice crash stack. I can if I can detect a bad font like HanaMin.sfont so that LibreOffice can skip loading it: (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) * frame #0: 0x0000000188eef6d0 CoreFoundation`CF_IS_OBJC + 24 frame #1: 0x0000000188dbbe50 CoreFoundation`CFNumberGetValue + 264 frame #2: 0x00000001119c2aac libvclplug_osxlo.dylib`DevFontFromCTFontDescriptor(pFD=0x00006000004acf60, bFontEnabled=0x000000016fdfce17) at SystemFontList.cxx:121:5 frame #3: 0x00000001119c3b30 libvclplug_osxlo.dylib`fontEnumCallBack(pValue=0x00006000004acf60, pContext=0x0000600003b8d940) at SystemFontList.cxx:210:27 frame #4: 0x0000000188ddf048 CoreFoundation`CFArrayApplyFunction + 72 frame #5: 0x00000001119c3abc libvclplug_osxlo.dylib`SystemFontList::Init(this=0x0000600003b8d940) at SystemFontList.cxx:279:5 frame #6: 0x00000001119c3c8c libvclplug_osxlo.dylib`GetCoretextFontList() at SystemFontList.cxx:287:17 frame #7: 0x00000001119ceff8 libvclplug_osxlo.dylib`AquaSalGraphics::GetDevFontList(this=0x0000000152796c70, pFontCollection=0x0000600000a91898) at salgdi.cxx:275:28 frame #8: 0x000000011536eae8 libvcllo.dylib`OutputDevice::ImplInitFontList(this=0x0000000152798370) const at font.cxx:643:17 frame #9: 0x0000000115372544 libvcllo.dylib`OutputDevice::ImplNewFont(this=0x0000000152798370) const at font.cxx:700:5 frame #10: 0x000000011537048c libvcllo.dylib`OutputDevice::InitFont(this=0x0000000152798370) const at font.cxx:660:10 frame #11: 0x00000001153803ec libvcllo.dylib`OutputDevice::ImplLayout(this=0x0000000152798370, rOrigStr=0x0000000152791af0, nMinIndex=0, nLen=0, rLogicalPos=0x000000016fdfda90, nLogicalWidth=0, pDXArray=KernArraySpan @ 0x000000016fdfd890, pKashidaArray=size=0, flags=NONE, pLayoutCache=0x0000000000000000, pGlyphs=0x0000000000000000) const at text.cxx:1074:10 frame #12: 0x000000011537fef4 libvcllo.dylib`OutputDevice::DrawText(this=0x0000000152798370, rStartPt=0x000000016fdfda90, rStr=0x0000000152791af0, nIndex=0, nLen=0, pVector=0x0000000000000000, pDisplayText=0x0000000000000000, pLayoutCache=0x0000000000000000) at text.cxx:626:45 frame #13: 0x0000000105907d44 libspllo.dylib`(anonymous namespace)::SplashScreenWindow::Paint(this=0x0000600001ed4870, rRenderContext=0x0000000152792070, (null)=0x000000016fdfdc00) at splash.cxx:607:16 frame #14: 0x000000010590e918 libspllo.dylib`(anonymous namespace)::SplashScreenWindow::Redraw(this=0x0000600001ed4870) at splash.cxx:142:5 frame #15: 0x000000010590ec14 libspllo.dylib`(anonymous namespace)::SplashScreen::updateStatus(this=0x0000000152791a30) at splash.cxx:319:14 frame #16: 0x000000010590669c libspllo.dylib`(anonymous namespace)::SplashScreen::setValue(this=0x0000000152791a30, nValue=10) at splash.cxx:240:9 frame #17: 0x0000000100ffd888 libsofficeapp.dylib`desktop::Desktop::SetSplashScreenProgress(this=0x000000016fdff1f8, iProgress=10) at app.cxx:2452:26 frame #18: 0x0000000100ffb2a0 libsofficeapp.dylib`desktop::Desktop::Main(this=0x000000016fdff1f8) at app.cxx:1292:5 frame #19: 0x000000011591145c libvcllo.dylib`ImplSVMain() at svmain.cxx:229:35 frame #20: 0x000000011198e418 libvclplug_osxlo.dylib`AquaSalInstance::handleAppDefinedEvent(pEvent=0x00006000014d5500) at salinst.cxx:448:20 frame #21: 0x0000000111a22534 libvclplug_osxlo.dylib`-[VCL_NSApplication sendEvent:](self=0x0000000152706fa0, _cmd="sendEvent:", pEvent=0x00006000014d5500) at vclnsapp.mm:92:9 frame #22: 0x000000018ca1e110 AppKit`-[NSApplication _handleEvent:] + 60 frame #23: 0x000000018c5ea124 AppKit`-[NSApplication run] + 512 frame #24: 0x000000018c5c13cc AppKit`NSApplicationMain + 880 frame #25: 0x00000001119930a4 libvclplug_osxlo.dylib`AquaSalInstance::SVMainHook(this=0x00000001526077a0, pnInit=0x000000016fdff148) at salinst.cxx:1074:5 frame #26: 0x000000011591141c libvcllo.dylib`ImplSVMain() at svmain.cxx:222:54 frame #27: 0x0000000115912d1c libvcllo.dylib`SVMain() at svmain.cxx:261:12 frame #28: 0x0000000101079b64 libsofficeapp.dylib`soffice_main at sofficemain.cxx:94:12 frame #29: 0x0000000100003f44 soffice`sal_main at main.c:51:15 frame #30: 0x0000000100003f1c soffice`main(argc=1, argv=0x000000016fdff558) at main.c:49:1 frame #31: 0x00000001889c50e0 dyld`start + 2360 -- You are receiving this mail because: You are the assignee for the bug.
