Description: Exporting Spreadsheet with external file references may result in libreoffice crash, if the file is not referenced by any cells. The crash introduced by: https://gerrit.libreoffice.org/c/core/+/106895/5/sc/source/ui/docshell/externalrefmgr.cxx#2759 Steps to Reproduce: 1.Open fdo88737-SQRT.xlsx (no need to allow updating) 2.Save as xlsx Actual Results: It crash when exporting to xlsx. Expected Results: save the file without crashing Reproducible: Always User Profile Reset: No Additional Info: Version: 7.2.0.0.alpha0+ (x64) Build ID: d7ddc292b94583942d4990e132bd08bcaee9edf2 CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: CL
Created attachment 167980 [details] testfile with external reference that crash when exporting to xlsx
No issue Version: 7.2.0.0.alpha0+ (x64) Build ID: 796c7f612603490dda9277ced0f6ab3cce3bc116 CPU threads: 4; OS: Windows 10.0 Build 20180; UI render: Skia/Vulkan; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL
Attila Szűcs committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/8cfe270258d914e154b9db8b6ad02cd923984435 tdf#138741 XLSX export: fix crash in setSkipUnusedFileIds It will be available in 7.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.
Attila Szűcs committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/172b81479451f0af2978dfa2eba1f9d105b946c9 tdf#138741 XLSX export: fix crash in setSkipUnusedFileIds It will be available in 7.1.0.0.beta2. 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.