Description: Crash on new document or possibly any document containing only one page. Adding page to the document fixes the bug partly. Steps to Reproduce: 1. Open a new draw document 2. Press ctrl+pgUp or ctrl+pgDown 3. Actual Results: Immidiate crash Expected Results: No action really, since it's a single page document Reproducible: Always User Profile Reset: No Additional Info: libre office community version: 25.8.2.1
I repro the crash with: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 0d986755e4153230670c820dc52cc40cd72dfa87 CPU threads: 2; OS: Linux 6.14; UI render: default; VCL: x11 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Seems this patch is where it started: commit 3cb0678a9cac9a681903b5a082d1c5dd5f25f665 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Tue Mar 4 15:37:15 2025 +0200 (7 months ago) fix dodgy DrawController::fireChangeLayer code
https://gerrit.libreoffice.org/c/core/+/191593
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/16a0b42a4f79a20a2aaf8dd443c55b81a8084351 tdf#168599: don't create Any from a direct reference to an interface It will be available in 26.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.
(In reply to T eriksson from comment #0) > Expected Results: > No action really, since it's a single page document In fact, there *is* an expected action, which is changing the current layer :-)
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/ecb65b032dc169cda9e5beed2d2a61ab47619bdb tdf#168599: don't create Any from a direct reference to an interface It will be available in 25.8.3. 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.
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7c1c72095af014d1635b76dff58cc91fb807abcc Related: tdf#168599 Disallow constructing Any from const XInterface& It will be available in 26.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.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-25-8-2": https://git.libreoffice.org/core/commit/c2c6290671c3c3696a07af28d8b50641fcedde2a tdf#168599: don't create Any from a direct reference to an interface It will be available in 25.8.2. 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.
Thanks Mike for the fix and detailed explanation of the cause of the crash included in the patch comment. Setting this ticket to Verified Fixed. Tested with: Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 4f33bb0f672a450ee5f2a4fd502398f2008fd7a8 CPU threads: 2; OS: Linux 6.14; UI render: default; VCL: x11 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded