https://bugs.documentfoundation.org/show_bug.cgi?id=158664

            Bug ID: 158664
           Summary: Crash when deleting or adding a slide after presenting
                    with presenter console visible
           Product: LibreOffice
           Version: 24.2.0.0 alpha1+ Master
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: critical
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 103610, 124438, 133092

Steps:
1. Open Impress
2. If only using one monitor: Slide Show > Slide Show Settings > Display >
Presenter Console > Windowed > OK (otherwise, Presenter Console won't be shown)
3. Slide Show > Start from first slide
4. Close slide show
5. Add a slide with a double-click in the Slide pane, or with Ctrl + M, or with
Slide > New Slide. (Or delete one, if there is more than one.)

Result: crash

Repro in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 76400f66096a5cdc64cbd72ed9a94961b3200216
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 0ddd9f7e055a0c1ecb120de3e40c3fdb8373e9dc
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

In console:

warn:legacy.tools:1390649:1390649:sd/source/ui/view/drviews1.cxx:664:
sd::DrawViewShell::getCurrentPage(), illegal page index!

No repro with gen VCL plugin.
No repro in 7.6.4.1 -> regression.

Bibisected with linux-64-24.2 bibisect repo to first bad build commit
[0610b0f19139461ff2370ed34511fde491f570ae] which points to:

commit  878b4ffc3e2c80c7f65b75c35fea26b978b71daf
author  Armin Le Grand (allotropia)     Fri Nov 24 16:02:17 2023 +0100
committer       Armin Le Grand  Tue Nov 28 11:52:04 2023 +0100
Update SlideShow on DrawModel changes II
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159930

Armin, can you please have a look?
Will get a backtrace when I've got a recent debug build.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103610
[Bug 103610] [META] Slide show (presentation mode) bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=124438
[Bug 124438] [META] Presenter console bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=133092
[Bug 133092] [META] Crash bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to