Created attachment 181256 [details] Sample slide (PPTX)u Trying to open the sample PPTX presentation Impress consistently crashes with Read error. Error reading file. Seen with: Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: a93d7e7df6804cd6f1f2fa1ef0e6e95ce6c3752a CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US This is a recent regression. Not seen with: Version: 7.4.0.0.alpha1+ / LibreOffice Community Build ID: b2467d6c7af988f8ed4e090ebf9472be6c84fb06 CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US all the way back to 6.4.8.0.0.
Regression introduced by: author Noel Grandin <noel.grandin@collabora.co.uk> 2022-06-21 13:17:09 +0200 committer Noel Grandin <noel.grandin@collabora.co.uk> 2022-06-27 11:32:42 +0200 commit 04073c5fedd33654f242fecb7e39afb07cf0e273 (patch) tree 467852ad2c7ca41b90c89eff2b6c9e4ae5544617 parent 5b21b65572610df88986e700b81f1156aff14f65 (diff) replace oox::OptValue with std::optional Bisected with: bibisect-linux64-7.5 Adding Cc: to Noel Grandin
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/310a787e1b03ba6d9c99996dfbd380296a8da825 tdf#149985 pptx crash on a one-slide presentation (with a chart) It will be available in 7.5.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.
Thank you for the bisection, Xisco, and the quick fix, Noel! Verified as fixed with Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: ce29e6299932fc079b05b60662ba95c8342990bc CPU threads: 8; OS: Linux 5.18; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Interestingly enough, the original document triggering this regression is the one behind https://gerrit.libreoffice.org/c/core/+/109161 , if with a different root cause.
Actually, one thing Noel: Are you planning to also add a regression testcase?
(In reply to Gerald Pfeifer from comment #4) > Actually, one thing Noel: Are you planning to also add a regression > testcase? I'll do it
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/93b07a377b93875b28464546f1292e4aa5f9e17d tdf#149985: sd_import_tests2: Add unittest It will be available in 7.5.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.