https://bugs.documentfoundation.org/show_bug.cgi?id=132424

            Bug ID: 132424
           Summary: Assertion failure when opening a document in LOOL
           Product: LibreOffice
           Version: 7.0.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 105537

Created attachment 159945
  --> https://bugs.documentfoundation.org/attachment.cgi?id=159945&action=edit
Backtrace

The following requires a debug LO build to trigger.
Not sure if there's any other prerequisite, the assert seems to indicate some
kind of font fallback handling problem (not related to the repro, since that
uses Liberation Serif font).

- Build LOOL, and open the sample hello-world.odt in the browser with the URL
given on the console.
=> Repeated crashes (since LOOL tries to reload the document).

The console shows the following assert:
"vcl/unx/generic/gdi/freetypetextrender.cxx:166: virtual
std::unique_ptr<GenericSalLayout> FreeTypeTextRenderImpl::GetTextLayout(int):
Assertion `mpFreetypeFont[nFallbackLevel]' failed."

Attaching backtrace. The backtrace indicates it's triggered when populating the
font name box with the rendered name of the font when rendering headless. This
could perhaps be reproduced purely with core in some way. This font name box
and its pre-rendered contents are never shown in LOOL, btw.

This is a recent regression, bisected to the following commit. Adding CC: to
Caolán McNamara.
https://cgit.freedesktop.org/libreoffice/core/commit/?id=2e0a32b51681fb356699b4a722f461f55a46b890
author          Caolán McNamara <[email protected]>    2020-04-07 12:21:47
+0100
committer       Caolán McNamara <[email protected]>    2020-04-21 10:19:41
+0200

weld FontNameBox


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=105537
[Bug 105537] [META] Assertion failed crashes
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to