Bug 167940 - LibreOffice Impress freezes when inserting or playing video (Linux UIs)
Summary: LibreOffice Impress freezes when inserting or playing video (Linux UIs)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
25.2.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Media-Playback
  Show dependency treegraph
 
Reported: 2025-08-13 17:08 UTC by marcelolaia
Modified: 2026-06-26 14:00 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (382.87 KB, application/vnd.oasis.opendocument.presentation)
2026-06-25 14:21 UTC, Xisco Faulí
Details
video (4.74 MB, video/mp4)
2026-06-25 14:21 UTC, Xisco Faulí
Details
Backtrace when the attached gstreamer debug logs stopped (137.85 KB, text/plain)
2026-06-26 14:00 UTC, dcbw@libreoffice.org
Details
GST_DEBUG="*:9" logs when adding the video (4.29 MB, application/x-bzip2)
2026-06-26 14:00 UTC, dcbw@libreoffice.org
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marcelolaia 2025-08-13 17:08:38 UTC
Description:
I have several lectures prepared in LibreOffice Impress, and some slides
contain videos. During a presentation, when reaching one of these slides, the
video starts automatically. Until last semester (around April), this worked
fine. However, today I ran a test: when the first slide with a video is
reached, Impress freezes and stops responding. At that point, the only option
is to force quit the application.

I also tried inserting a video into a brand-new presentation, and the same
problem occurred: Impress freezes, and the only solution is to kill the
process. In this case, the issue happens right after selecting the video file
to insert into the slide.

Below is a gdbtrace.log from brand-new presentation.

warning: Currently logging to gdbtrace.log.  Turn the logging off and on to make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fec700436c0 (LWP 31725)]
[New Thread 0x7fec6f8426c0 (LWP 31726)]
[New Thread 0x7fec6ebff6c0 (LWP 31727)]
[New Thread 0x7fec6e3fe6c0 (LWP 31728)]
[New Thread 0x7fec6dbfd6c0 (LWP 31729)]
[New Thread 0x7fec6d3fc6c0 (LWP 31730)]
[New Thread 0x7fec6cbfb6c0 (LWP 31731)]
[New Thread 0x7fec4fbff6c0 (LWP 31732)]
[New Thread 0x7fec4793f6c0 (LWP 31735)]
[Thread 0x7fec4793f6c0 (LWP 31735) exited]
[New Thread 0x7fec4793f6c0 (LWP 31736)]
[Thread 0x7fec4793f6c0 (LWP 31736) exited]
[Detaching after vfork from child process 31738]
[New Thread 0x7fec4793f6c0 (LWP 31740)]
[Thread 0x7fec4793f6c0 (LWP 31740) exited]
[New Thread 0x7fec4793f6c0 (LWP 31747)]
[Thread 0x7fec4793f6c0 (LWP 31747) exited]
[New Thread 0x7fec4793f6c0 (LWP 31761)]
[New Thread 0x7fec461c26c0 (LWP 31762)]
[New Thread 0x7fec459c16c0 (LWP 31772)]
[Thread 0x7fec459c16c0 (LWP 31772) exited]
[New Thread 0x7fec459c16c0 (LWP 31773)]
[New Thread 0x7fec451c06c0 (LWP 31774)]
[New Thread 0x7fec449bf6c0 (LWP 31775)]
[New Thread 0x7fec137ff6c0 (LWP 31777)]
[New Thread 0x7fec12ffe6c0 (LWP 31778)]
[New Thread 0x7fec127fd6c0 (LWP 31779)]
[New Thread 0x7fec11ffc6c0 (LWP 31780)]
[New Thread 0x7fec113fb6c0 (LWP 31781)]
[New Thread 0x7fec10bfa6c0 (LWP 31782)]
[New Thread 0x7febfbfff6c0 (LWP 31783)]
[New Thread 0x7febfb7fe6c0 (LWP 31784)]
[Thread 0x7fec137ff6c0 (LWP 31777) exited]
[New Thread 0x7febfaffd6c0 (LWP 31802)]
[Thread 0x7febfaffd6c0 (LWP 31802) exited]
[New Thread 0x7febfaffd6c0 (LWP 31803)]
[Thread 0x7febfaffd6c0 (LWP 31803) exited]
[New Thread 0x7febfaffd6c0 (LWP 31804)]
[New Thread 0x7febfa7fc6c0 (LWP 31805)]
[New Thread 0x7febf9ffb6c0 (LWP 31806)]
[Thread 0x7febf9ffb6c0 (LWP 31806) exited]
[Thread 0x7febfa7fc6c0 (LWP 31805) exited]
[Thread 0x7febfaffd6c0 (LWP 31804) exited]
[Thread 0x7febfb7fe6c0 (LWP 31784) exited]
[Thread 0x7febfbfff6c0 (LWP 31783) exited]
[Thread 0x7fec10bfa6c0 (LWP 31782) exited]
[Thread 0x7fec113fb6c0 (LWP 31781) exited]
[Thread 0x7fec11ffc6c0 (LWP 31780) exited]
[Thread 0x7fec127fd6c0 (LWP 31779) exited]
[Thread 0x7fec12ffe6c0 (LWP 31778) exited]
[Thread 0x7fec449bf6c0 (LWP 31775) exited]
[Thread 0x7fec459c16c0 (LWP 31773) exited]
[Thread 0x7fec461c26c0 (LWP 31762) exited]
[Thread 0x7fec4793f6c0 (LWP 31761) exited]
[Thread 0x7fec4fbff6c0 (LWP 31732) exited]
[Thread 0x7fec6cbfb6c0 (LWP 31731) exited]
[Thread 0x7fec6d3fc6c0 (LWP 31730) exited]
[Thread 0x7fec6dbfd6c0 (LWP 31729) exited]
[Thread 0x7fec6e3fe6c0 (LWP 31728) exited]
[Thread 0x7fec6ebff6c0 (LWP 31727) exited]
[Thread 0x7fec6f8426c0 (LWP 31726) exited]
[Thread 0x7fec700436c0 (LWP 31725) exited]
[Thread 0x7fec7168d180 (LWP 31722) exited]
[Thread 0x7fec451c06c0 (LWP 31774) exited]
[New process 31722]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
/usr/lib/libreoffice/program/gdbtrace:9: Error in sourced command file:
No stack.

I'm using Debian 
Package: libreoffice-impress
Version: 4:25.2.3-2
Kernel: Linux 6.12.35+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_DIE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Steps to Reproduce:
1. Open a new presentation
2. Insert a mp4 video
3. Impress will crash

or

1. open a presentation that contain a video
2. go to that slide that video are inserted
3. impress will be crashed

Actual Results:
impress will be crashed

Expected Results:
play the video


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Debian package version: 4:25.2.3-2
Calc: threaded
Comment 1 Olivier Hallot 2025-08-14 17:38:32 UTC
We need more information to reproduce. Can you attach a sample file for Impress and the video where the issues occurs?
Comment 2 Ilya Zverev 2026-05-31 19:34:44 UTC
I also have encountered it. Steps to reproduce:

1. Open https://textual.ru/empty_pres.odp
2. Add an empty slide.
3. Download https://textual.ru/delfi_rattas2_edit.mp4
4. Choose a menu item Insert -> Audio or Video
5. Choose the downloaded mp4 file.

On Fedora 44, Wayland, KDE Plasma 6.6.5, Qt 6.11.1, Kernel 7.0.8-200.fc44.

Version: 26.2.3.2 (X86_64)
Build ID: 620(Build:2)
CPU threads: 16; OS: Linux 7.0; UI render: default; VCL: kf6 (cairo+wayland)
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded
Comment 3 Buovjaga 2026-06-17 16:49:57 UTC
(In reply to Ilya Zverev from comment #2)
> I also have encountered it. Steps to reproduce:
> 
> 1. Open https://textual.ru/empty_pres.odp
> 2. Add an empty slide.
> 3. Download https://textual.ru/delfi_rattas2_edit.mp4
> 4. Choose a menu item Insert -> Audio or Video
> 5. Choose the downloaded mp4 file.
> 
> On Fedora 44, Wayland, KDE Plasma 6.6.5, Qt 6.11.1, Kernel 7.0.8-200.fc44.

Repro with all Linux UIs.

Arch Linux 64-bit
Version: 27.2.0.0.alpha0+ (X86_64)
Build ID: 5a5aed1b1bf5b254628b5f056e3145bdb3b22cfe
CPU threads: 8; OS: Linux 7.0; UI render: default; VCL: kf6
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 17 June 2026
Comment 4 Xisco Faulí 2026-06-25 14:21:31 UTC
Created attachment 207544 [details]
sample file
Comment 5 Xisco Faulí 2026-06-25 14:21:48 UTC
Created attachment 207545 [details]
video
Comment 6 raal 2026-06-25 15:06:29 UTC
No crash, but video doesn't play
Version: 26.8.0.0.beta1+ (X86_64)
Build ID: 43ba8a1ecaedc4d62a245116759ef11637fcb606
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 7 dcbw@libreoffice.org 2026-06-25 15:37:04 UTC
For me (Fedora 43, Intel i7-8700) with Fedora's libreoffice-26.2.4.1-3.fc45 RPM I get hangs in gstreamer. The video appears to play OK in Firefox, but that's not using gstreamer.

Using:

gst-launch-1.0 playbin uri=file://<etc>

I don't get any video (using ffmpeg for decoding, not hardware even though I have an Nvidia card) but after about 37 seconds the pipeline does exit.

You can get more gstreamer info from LibreOffice using:

GST_DEBUG="*:9" soffice

and at least under gdb when adding the movie it will dump a ton of debugging that might be useful. It turns out that the video does get embedded, but it takes as LONG time for gstreamer to handle it (~45 seconds) during which LO is hung.

Can provide the gstreamer logs if you'd like.
Comment 8 dcbw@libreoffice.org 2026-06-25 15:41:20 UTC
Latest LO git master from yesterday (28886f9a7c4e90b0) hangs and does not progress. I'll grab logs from that soon.
Comment 9 dcbw@libreoffice.org 2026-06-26 14:00:06 UTC
Created attachment 207551 [details]
Backtrace when the attached gstreamer debug logs stopped
Comment 10 dcbw@libreoffice.org 2026-06-26 14:00:44 UTC
Created attachment 207552 [details]
GST_DEBUG="*:9" logs when adding the video