Description: Crash when pressing cancel in the insert password dialog when recovering a file (swlo!SwDocShell::SetModified+4b) Steps to Reproduce: 1. Open the attached file (password: ABC)(or create a passworded file yourself) 2. Tools -> Options -> Load/Save -> General -> Set autosave to 1 minute (and press OK) 3. Make some change.. and wait 60 seconds 4. Force quite LibreOffice from the task manager 5. Click recover selected 5. In Enter password dialog -> press Cancel -> Crash Actual Results: Crash Expected Results: No crash Reproducible: Always User Profile Reset: No Additional Info: Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: a9ad36ae46ff76c0d59b0d170314fdd3a9ee5d35 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL threaded
Created attachment 191660 [details] Sample
Reproduced in: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: e83c7ec2f4d801365235bf56d7cc8cf31ef4a00e CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded
I used kill -9 but it doesn't launch recovery afterwards so can't reproduce this.
Fix is posted at: https://gerrit.libreoffice.org/c/core/+/161844
Matt K committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/e004c9dd2cc0da7f27503d14bfc13975889eea77 tdf#158937 Allow cancel of password dialog during recovery It will be available in 24.8.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.