<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Assertion failure when opening a document in LOOL"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=132424">132424</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failure when opening a document in LOOL
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0.0.0.alpha0+ Master
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Keywords</th>
<td>bibisected, bisected, regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>baron@caesar.elte.hu
</td>
</tr>
<tr>
<th>CC</th>
<td>caolanm@redhat.com
</td>
</tr>
<tr>
<th>Blocks</th>
<td>105537
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=159945" name="attach_159945" title="Backtrace">attachment 159945</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=159945&action=edit" title="Backtrace">[details]</a></span>
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.
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=2e0a32b51681fb356699b4a722f461f55a46b890">https://cgit.freedesktop.org/libreoffice/core/commit/?id=2e0a32b51681fb356699b4a722f461f55a46b890</a>
author Caolán McNamara <<a href="mailto:caolanm@redhat.com">caolanm@redhat.com</a>> 2020-04-07 12:21:47
+0100
committer Caolán McNamara <<a href="mailto:caolanm@redhat.com">caolanm@redhat.com</a>> 2020-04-21 10:19:41
+0200
weld FontNameBox</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - [META] Assertion failed crashes"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=105537">Bug 105537</a>] [META] Assertion failed crashes
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>