Description: Change slide vith video leads to crash Steps to Reproduce: 1. Open document with video (in the attachment). It contains 1 slide with video, 2 and 3 with text 2. Start presentation from the 1st slide. 3. To change the slide, click to the area inside the video. Actual Results: Crash appears See gdbtrace.log in the attachment Expected Results: No crash, normal slide changing Reproducible: Always User Profile Reset: No Additional Info: Reproduced for Version: 6.4.0.0.alpha0+ Build ID: f75c2b04785aa05cff3bcd52689feb7400a14e8e CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: kde5; TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-06-15_11:49:26 Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US Calc: threaded DOESN'T REPRODUCE for gtk3
Created attachment 152305 [details] gdbtrace.log
Created attachment 152308 [details] gdb-backtrace.txt I could reproduce crash with following build: Version: 6.4.0.0.alpha0+ Build ID: b674d3c12a5819fbcb551e83bf6862afc85ef7f3 CPU threads: 1; OS: Linux 4.19; UI render: default; VCL: kde5; TinderBox: Linux-rpm_deb-x86_64@86-TDF-dbg, Branch:master, Time: 2019-06-15_21:06:59 Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US Calc: threaded I used system with Qt 5.9.6. When I'm switching to system with Qt 5.12.2, crash doesn't reproduce anymore. There are other differences in system packages too, but this one looks most relevant.
Did you people forget the attachment?
Created attachment 152320 [details] shortened valgrind log of the crash So I can also reproduce the crash in my Ubuntu Bionic chroot with qt 5.9.5+dfsg-0ubuntu2.1. As you can see in the valgrind log Qt deletes the Qt5Object, but still delivers events to the Qt5ObjectWindow, as this is actually a child of the Qt5Frame. So we have to acknowledge deleted Qt5Objects, while the Qt5Frame is still alive keeping the Qt5ObjectWindow around. Interesting that this doesn't crash with newer Qt versions...
Jan-Marek Glogowski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/f0c9b93e5bc7976dea5de4a49be87cc9892941a7%5E%21 tdf#126020 Qt5 delete orphan Qt5ObjectWindows It will be available in 6.4.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.
Created attachment 152341 [details] slide_with_video.odp Attached example slides with video which crashed for me.
(In reply to Aleksei Nikiforov from comment #6) > Attached example slides with video which crashed for me. I want to clarify that it's slide which caused crash from my comment #2, I didn't check fix from comment #5 yet.
Jan-Marek Glogowski committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/+/86eb298506464a6138015168c00253096e3c6d05%5E%21 tdf#126020 Qt5 delete orphan Qt5ObjectWindows It will be available in 6.3.0.1. 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.