[Libreoffice-bugs] [Bug 132424] New: Assertion failure when opening a document in LOOL

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Apr 26 02:02:27 UTC 2020


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: baron at caesar.elte.hu
                CC: caolanm at redhat.com
            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 <caolanm at redhat.com>    2020-04-07 12:21:47
+0100
committer       Caolán McNamara <caolanm at redhat.com>    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200426/0d6ba18b/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list