Bug 167493 - LO crashes when I change the My Document path and close LO
Summary: LO crashes when I change the My Document path and close LO
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Options-Dialog-Paths
  Show dependency treegraph
 
Reported: 2025-07-13 13:29 UTC by NarayanAras
Modified: 2025-08-08 10:40 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NarayanAras 2025-07-13 13:29:07 UTC
Description:
LO crashes when I change the My Document path and close LO

Steps to Reproduce:
1. In LibreOffice UI, select Tools> Options
2. Click on LibreOfficeDev > Path node.
3. Double-click on "My documents"
4. In the dialog box, select any path other than default (I selected D:\Download)
5. Press OK
6. Close LO
7. Relaunch LO. It shows you a crash report.

If you start a document after step-6 and save it, it will work.





Actual Results:
LO crashes

Expected Results:
LO should not crash


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I have sent several crash reports (repeattedly crashing)
Comment 1 NarayanAras 2025-07-13 13:29:40 UTC
Also see bug#167388
Comment 2 m_a_riosv 2025-07-13 18:00:56 UTC
Reproducible
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b99f595b47d1a60e6af6ba742665a92803b7c68b
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded
Comment 3 m_a_riosv 2025-07-13 18:02:14 UTC
Latest version that works on the ones I have installed.
Version: 25.8.0.1.0+ (X86_64) / LibreOffice Community
Build ID: fc3baba5ee80226c0f11232dbf07ce507d4f63d1
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 4 Xisco Faulí 2025-07-15 15:47:17 UTC
Not reproduced in

Version: 25.8.0.1 (X86_64)
Build ID: 127f2cf27c25aaac008a1045ebfed22015cb3064
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: threaded
Comment 5 Saburo 2025-07-24 06:42:26 UTC
step 5.Press Apply
The previous folder or the new folder

bibisected with win64-26.2

commit 9d1e76f7da12353afc3d9479d3b2ecddbb2a71e6
author	Noel Grandin

convert PathSettings to comphelper::WeakComponentImplHelper

and make the locking more principled, fixing a TSAN reported mutex ordering issue
Comment 6 Noel Grandin 2025-07-24 07:21:49 UTC
I cannot reproduce on current master.

This might have been fixed by

commit 874b6599810c92e8564827d18b43edcb0142732f
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date:   Mon Jul 14 13:32:31 2025 +0200

    fix deadlock opening file on android
Comment 7 Xisco Faulí 2025-08-07 16:27:54 UTC
Hi NarayanAras, Miguel Angel, Saburo,
Could you please check whether this issue is still reproducible in master with the patch included from comment 6 ?
Comment 8 m_a_riosv 2025-08-07 21:30:06 UTC
Seems fine with
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7f4868348c14b305fcd75744e1e3544d0d3a5d61
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 9 Saburo 2025-08-08 10:40:21 UTC
I confirmed that it has been fixed.
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 74049389b6a0c1d44ae1bd06311463217b6c5a24
CPU threads: 12; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: CL threaded