Bug 155450 - Writer crashes when search and replace with different font size
Summary: Writer crashes when search and replace with different font size
Status: RESOLVED DUPLICATE of bug 131431
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.3.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-23 12:20 UTC by Sangokuss
Modified: 2023-05-24 08:32 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example (85.44 KB, application/vnd.oasis.opendocument.text)
2023-05-23 13:44 UTC, Sangokuss
Details
sreenshot of function crashes (88.97 KB, image/png)
2023-05-23 14:49 UTC, Sangokuss
Details
Screenshot when crashes on Windows (56.84 KB, image/png)
2023-05-23 14:59 UTC, Sangokuss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sangokuss 2023-05-23 12:20:47 UTC
Description:
Crash when trying to apply a font size to italicized text in a document with line breaks.
This bug is reproducible on Ubuntu 22.04LTS and Windows 11.

Steps to Reproduce:
1.open writer *.odt with italicized text in a document with line breaks,
2.apply a font size to italicized text,
3.apply.

Actual Results:
Crashes.

Expected Results:
apply a font size to italicized text in a document with line breaks.


Reproducible: Always


User Profile Reset: No

Additional Info:
This bug is reproducible on Ubuntu 22.04LTS and Windows 11.
Comment 1 Stéphane Guillou (stragu) 2023-05-23 13:34:40 UTC
I can't reproduce in:

Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Please provide:
- an example document
- more precise steps (including how the change in font size is applied)
- version information copied from Help > About LibreOffice


Thank you!
Comment 2 Sangokuss 2023-05-23 13:44:10 UTC
Created attachment 187455 [details]
Example

In this document :
- apply font size 14 to italicized text,
- apply font size 11 to normal text (no bold et no italicized)

Crash observed with Winows 11 & Ubuntu 22.04LTS (snap LOo)
Comment 3 Sangokuss 2023-05-23 13:45:03 UTC
With same *.odt without line breaks, all is good.
Comment 4 Stéphane Guillou (stragu) 2023-05-23 14:29:27 UTC
(In reply to Sangokuss from comment #2)
> In this document :
> - apply font size 14 to italicized text,
> - apply font size 11 to normal text (no bold et no italicized)

I still can't see any crash by following those steps on the first page. I tried changing the font size with both the sidebar and the toolbar.

Please still provide the full version information.
Please also test in safe mode: Help > Restart in Safe mode.
Comment 5 Sangokuss 2023-05-23 14:44:47 UTC
This is when we use the function "search & replace" to apply it to all the document ;-)
Comment 6 Sangokuss 2023-05-23 14:49:06 UTC
Created attachment 187456 [details]
sreenshot of function crashes

Screenshot : if click to apply, LOo crashes ;-)
Comment 7 Sangokuss 2023-05-23 14:55:25 UTC
Version on Ubuntu 22.04LTS :
- LibreOffice 7.5.3.2 (x86_64) on Snap / kernel 5.19
- Environnement : 4 CPU
- Locale : fr-FR

Version on Win 11 :
- LibreOffice 7.5.3.2 (x86_64) 
- Environnement : 8 CPU
- Locale : fr-FR
Comment 8 Sangokuss 2023-05-23 14:59:37 UTC
Created attachment 187457 [details]
Screenshot when crashes on Windows

Screenshot when crashes on Windows
Comment 9 Sangokuss 2023-05-23 15:00:19 UTC
(In reply to Stéphane Guillou (stragu) from comment #4)
> (In reply to Sangokuss from comment #2)
> > In this document :
> > - apply font size 14 to italicized text,
> > - apply font size 11 to normal text (no bold et no italicized)
> 
> I still can't see any crash by following those steps on the first page. I
> tried changing the font size with both the sidebar and the toolbar.
> 
> Please still provide the full version information.
> Please also test in safe mode: Help > Restart in Safe mode.

Crash with the Safe mode :-/
Comment 10 QA Administrators 2023-05-24 03:15:13 UTC Comment hidden (obsolete)
Comment 11 Stéphane Guillou (stragu) 2023-05-24 08:32:55 UTC
Right, I understand better now that I know the replacement is done with Search and Replace :)
I can reproduce, and this was already reported in bug 131431 so I am marking as a duplicate.
Thank you!

*** This bug has been marked as a duplicate of bug 131431 ***