Bug 144366 - LO crashes when text in search field is entered in Tabbed and Tabbed Compact UI
Summary: LO crashes when text in search field is entered in Tabbed and Tabbed Compact UI
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2021-09-07 21:35 UTC by Stefan_Lange_KA@T-Online.de
Modified: 2023-06-29 16:02 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
zip file with 2 simple odt test documents and 1 screenshot (72.54 KB, application/x-zip-compressed)
2021-09-07 21:35 UTC, Stefan_Lange_KA@T-Online.de
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan_Lange_KA@T-Online.de 2021-09-07 21:35:44 UTC
Created attachment 174870 [details]
zip file with 2 simple odt test documents and 1 screenshot

In some cases LO crashes when text in the search field is entered.
The crash was reproduced
- with Writer and Calc
- when search field is displayed and user interface is set to Tabs or Tabs compact but until now not with toolbar

Reproducing the crash:
- start LO and open any document e.g. one of the both odt documents from the attached zip file
- set User Interface to Tabs ot Tabs compact that on the right border the button with 3 short lines is displayed 
- activate the search field
- close the document
- open and close both odt documents (or the remaining) from the zip file that they appear in the recent document list and after the next lo start on the start screen
- close LO
- open LO
- open one of the both odt documents (e.g. Test_Crash_#6.odt) by selecting it on the start screen
- open the second document (Test_Crash_#7.odt) by click on the button with 3 lines on the right border, choosing Recent documents [see screenshot in the zip file] and selecting it in the list
- close this document by click on the button with 3 lines on the right border and choosing Close
- set cursor in the search field of the first opened document (e.g. Test_Crash_#6.odt)
- try to enter search text
- Result: LO crashes when first characater is entered
Comment 1 Dieter 2021-09-22 06:57:20 UTC
I can't confirm it with

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: b733ccad171e6def8fbdb93f31875dfdea47bdc6
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Stefan, have you also tested in SafeMode?
Comment 2 Stefan_Lange_KA@T-Online.de 2021-09-22 09:13:00 UTC
I have tested now also in Safe Mode with reset of all settings and the user profile.
Without any changes of settings I cannot reproduce the crash but after the UI was changed to "Tabs" or "Tabs compact" I can reproduce the crash also in Safe Mode:
- start LO in Safe mode, reset all settings and user profile
- open any calc document (with Writer document not tested now)
- change UI to "Tab" or "Tabs compact" for all
- activate the search field by click in any cell and Ctrl+F
- open a second document via open button, do something or not and then close it (no difference if via the cross to the right in the title bar or a click on the 3 strokes button to the right and selecting entry "Close")
- reopen the last opened document by a click on the 3 strokes button and selecting the document in the recent document list (important to reproduce the crash!)
- close this document (no difference if via the cross to the right in the title bar or a click on the 3 strokes button to the right and selecting entry "Close")
- try to enter anything in the search field of the first opened document 
--> LO crashes
Tested with
Version: 7.2.1.2 (x64) / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 3 Tex2002ans 2022-01-16 21:43:35 UTC
I was able to successfully reproduce this by following Comment #1 exactly.

LO Information:

Version: 7.2.5.2 (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

I even uploaded a crash report:

https://crashreport.libreoffice.org/stats/crash_details/35cffaf1-fbfd-4935-889b-3fe3d410a86e
Comment 4 Stefan_Lange_KA@T-Online.de 2022-01-17 05:37:56 UTC
The minor (!) bug also still exists in LOdev 7.3.1 and LOdev 7.4.0,
reproduced with
Version: 7.3.1.0.0+ (x64) / LibreOffice Community
Build ID: eb88b41c15f6451e06b34e2ec0ef5ec4359c200c
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL

and with
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: dd497f18e5a5aaa5d1116e87b12ea23d619088e2
CPU threads: 4; OS: Windows 10.0 Build 22000; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 5 Timur 2022-01-17 10:41:14 UTC
Reproduced in 6.2.0 and 7.4+ in Windows with these steps:
1. set UI to Tabbed
2. open 2st ODT (Test_Crash_#76.odt), Ctrl+F to open Find bar and close the document, just to have it in Recent documents
4. open 1st ODT and type something in Find bar
5. open 2nd ODT (Test_Crash_#7.odt) from Recent documents and type something in Find bar and close that ODT
6. in still open 1st document try to type in Find bar > crash 

So seems like implementationError. I didn't test Tabbed Compact. 
I didn't reproduce in Linux, but that should be tested further.
Comment 6 Stefan_Lange_KA@T-Online.de 2022-12-13 21:55:23 UTC
After an other of "my" old bugs was fixed recently (Bug 105314) I have tested again this bug (reported more than one year ago).

Result:
I have reproduced the crash described in the bug report with builds until
Version: 7.4.0.0.beta1 (x64) / LibreOffice Community
Build ID: cec1fe9b57a55c032f9f118c907f34e22a63d040
CPU threads: 4; OS: Windows 10.0 Build 22623; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded

but no longer with
Version: 7.4.0.0.beta1+ (x64) / LibreOffice Community
Build ID: 9c4cfb6a95e851f5651e024e798699d71e16d968
CPU threads: 4; OS: Windows 10.0 Build 22623; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
(2022-07-01_09.35.43)
and 
Version: 7.4.0.3 (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 4; OS: Windows 10.0 Build 22623; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
and later versions (until 7.4.3, 7.5.0, 7.6.0).
This means for me the bug was fixed in LO 7.4.0 beta1 in June 2022, but I don't know the solving patch or commit.