On a recent alpha for 24.2 (see bellow), if I go to Tools → Options and type anything on the new Filter box, LibreOffice immediately crash. Tested with both, kf5 and gtk3 VCL plugins. Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b3fdd999f87312447d03915585812b3a5cd48141 CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb) Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded
Works for me in Win11 with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b3fdd999f87312447d03915585812b3a5cd48141 CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Jumbo with or without Skia
On pc Debian x86-64 with master sources updated today + gtk3 or kf5s rendering, I don't reproduce this. Your bug is similar to tdf#157160 but this one has been already fixed and the fix is in the build you used.
I downloaded again today from here: https://dev-builds.libreoffice.org/daily/master/current.html got this Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 36163d269bd8f77a86605e4c5ff5adce17b4c66c CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb) Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded and still get the crash when I write something on the search field. If I'm fast I can write two or three characters, but then it crash.
Would it be possible you attach a backtrace? (see https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU/Linux:_How_to_get_a_backtrace) It may provide some hint about root cause.
Created attachment 189630 [details] backtrace log file Ok, this is weird. If I start LibreOffice *without* documents (by starting soffice binary) and go to Tools → Options directly from the start screen, then the search field works, but if I open Writer and *then* go to Tools → Options and use the search field, it crash. It doesn't matter if I open soffice and then select a new Writer file before going to ... options or if I directly start swriter, it crash. If I try to run the soffice binary with the backtrace option, the program crash before opening, so I was not able to arrive to destination. I'm attaching the backtrace file I got anyway.
Created attachment 189631 [details] bt with debug symbols Ok I could reproduce this when opening Writer then Tools/Options and just type "a" in search box.
Patch waiting for Jenkins check here: https://gerrit.libreoffice.org/c/core/+/156977
Reproducible only with a writer document open, not with other apps. Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 36163d269bd8f77a86605e4c5ff5adce17b4c66c CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Jumbo
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a4522ef5ce6a625054d83ec907aee07c156e94ed tdf#157266: fix crash related to tdf#157006 It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Would it be possible to have some UI test for this?
(In reply to Heiko Tietze from comment #10) > Would it be possible to have some UI test for this? I'll work on that.
Bayram Çiçek committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/0eb05b47a6d89fdfc533515483584fc739962b65 tdf#49895: search in Options: check if label exists (related to tdf#157266) It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.