Bug 157309 - Crash in: SwContentFrame::MakeAll(OutputDevice *) after loading document
Summary: Crash in: SwContentFrame::MakeAll(OutputDevice *) after loading document
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-18 16:01 UTC by Yves Poissant
Modified: 2023-10-05 13:25 UTC (History)
3 users (show)

See Also:
Crash report or crash signature: ["SwContentFrame::MakeAll(OutputDevice *)"]


Attachments
The Writer document that crashes (1.08 MB, application/vnd.oasis.opendocument.text)
2023-09-18 16:01 UTC, Yves Poissant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yves Poissant 2023-09-18 16:01:02 UTC
Created attachment 189669 [details]
The Writer document that crashes

This bug was filed from the crash reporting server and is br-205a0cef-8a4e-41a5-9ed4-e852a8a67cc2.
=========================================
I got this crash signature several times today in different situations.

There are a few places in the document that use the font "Constantia", which I'm in the process of changing for "Linux Libertine G". I search for that font in the text and when found I apply "Clear direct formating". The attached file is a recovered file that crashed while doing that. And now writer crashes shortly after loading it.

Steps to reproduce:
1. Load the file in writer.
2. Wait a few seconds before it crashes.

Note, because the document still have remains of text that use the font "Constantia", you may heed to install this font.
Comment 1 Xisco Faulí 2023-09-19 09:13:30 UTC
Thanks for reporting this issue.
It doesn't crash with

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 13de5fc5396db63d4bd2f3e5fb4dc66c7ddd601f
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

without the font installed
Comment 2 Xisco Faulí 2023-09-19 09:16:07 UTC
I installed constantia font from https://www.dafontfree.io/constantia-font/ but it doesn't crash either.
Could you please point to the place where you downloaded the font from?
Comment 3 Yves Poissant 2023-09-19 20:37:16 UTC
The font probably came with Windows because I never explicitly downloaded it. I'm on Windows 11. It's possible it crashes under Windows but not under Linux.
Comment 4 Yves Poissant 2023-09-19 21:15:16 UTC
I just tried loading the document in version 24.2.0.0.alpha0+ and it didn't crash.
Comment 5 QA Administrators 2023-09-21 03:16:20 UTC Comment hidden (obsolete)
Comment 6 Stéphane Guillou (stragu) 2023-10-03 06:47:28 UTC
(In reply to Yves Poissant from comment #4)
> I just tried loading the document in version 24.2.0.0.alpha0+ and it didn't
> crash.

Thanks for testing the daily build.
Can you please also update to version 7.6.2.1 and see if it is resolved there too?
Comment 7 Yves Poissant 2023-10-05 13:00:07 UTC
I confirm that the file opens without crashing in 7.6.2.1
Comment 8 Stéphane Guillou (stragu) 2023-10-05 13:25:57 UTC
(In reply to Yves Poissant from comment #7)
> I confirm that the file opens without crashing in 7.6.2.1

That's great news, thanks for testing!
Let's mark as "resolved - worksforme" as we're unsure what exactly fixed it, and we can keep an eye on the crash report website to see if the crash signature pops up again in 7.6.2.1.