https://bugs.kde.org/show_bug.cgi?id=528698
Bug ID: 528698
Summary: Crash 26.08.3 Flatpak in FFmpeg
avformat_find_stream_info() while processing WAV audio
Classification: Applications
Product: kdenlive
Version First 26.08.3
Reported In:
Platform: Flatpak
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: Monitors & Playback
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 198352
--> https://bugs.kde.org/attachment.cgi?id=198352&action=edit
gdb trace
CachyOS + flatpak version
Nov 11 16:05:28 Machine systemd-coredump[44478]: [🡕] Process 41804 (kdenlive)
of user 1000 dumped core.
Stack trace of thread 599:
#0 0x00007f8eae6a2c32 n/a
(/app/lib/libavformat.so.63.1.102 + 0xa2c32)
ELF object binary
architecture: AMD x86-64
AI suggested getting debug symbols and getting exact bt in gdb as well as
giving media info for that file;, trace is in attachments.
Analysis from AI (till the end of the file):
Description
Kdenlive 26.08.3, installed from Flathub, crashed with SIGSEGV while processing
a project containing audio.
The GDB backtrace identifies a crash inside the bundled FFmpeg library
(libavformat.so.63.1.102) during avformat_find_stream_info().
MLT was opening or reinitializing the audio producer for:
/home/user/Videos/capture-0001.wav
The call originated from MLT's frame-processing pipeline, eventually reaching
consumer_read_ahead_thread().
The kernel reported a memory access violation at address 0x4. GDB shows RAX = 0
at the crashing instruction, consistent with a null-pointer dereference.
The exact cause is unknown. The crash could involve FFmpeg, MLT, the audio
file, or their interaction.
Steps to reproduce
The precise editing action and reliable reproduction steps have not yet been
determined.
The crash happened while Kdenlive was processing a project containing
capture-0001.wav.
Observed result
Kdenlive terminated unexpectedly with SIGSEGV and generated a core dump.
Expected result
Kdenlive should process audio media without crashing.
Software / OS versions
Kdenlive: 26.08.3
Installation: Flathub Flatpak (org.kde.kdenlive)
Branch: stable / x86_64
Runtime: org.kde.Platform 6.11
Distribution: CachyOS
Desktop: KDE Plasma / Wayland
Architecture: x86-64
Flatpak commit:
272abe012b6d2f2c1a1d8ecc623fcd67c7cd7530e5edc452f5a8bac881d4c029
Relevant backtrace
#0 libavformat.so.63 + 0xa2c32
#1 libavformat.so.63
#2 libavformat.so.63
#3 libavformat.so.63
#4 avformat_find_stream_info()
#5 producer_open()
producer_avformat.c:1541
#6 producer_set_up_audio()
producer_avformat.c:4400
#7 producer_get_frame()
producer_avformat.c:4501
Crash timestamp: 2026-11-11 16:05:21 EET.
The complete GDB backtrace, obtained using flatpak-coredumpctl with Flatpak
debug symbols, is attached.
The journal also contains messages concerning effect keyframes and
fade_to_black immediately before the crash. There is no confirmed causal
connection between these messages and the FFmpeg failure.
FFmpeg-specific internal function symbols were not available, but MLT function
names and source locations were resolved.
ffprobe -v warning -show_format -show_streams \
~/Videos/capture-0001.wav
[STREAM]
index=0
codec_name=pcm_s16le
codec_long_name=PCM signed 16-bit little-endian
profile=unknown
codec_type=audio
codec_tag_string=[1][0][0][0]
codec_tag=0x0001
sample_fmt=s16
sample_rate=48000
channels=2
channel_layout=unknown
bits_per_sample=16
initial_padding=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/48000
start_pts=N/A
start_time=N/A
duration_ts=30575616
duration=636.992000
bit_rate=1536000
max_bit_rate=N/A
bits_per_raw_sample=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
DISPOSITION:non_diegetic=0
DISPOSITION:captions=0
DISPOSITION:descriptions=0
DISPOSITION:metadata=0
DISPOSITION:dependent=0
DISPOSITION:still_image=0
DISPOSITION:multilayer=0
[/STREAM]
[FORMAT]
filename=/home/loh/Videos/capture-0001.wav
nb_streams=1
nb_programs=0
nb_stream_groups=0
format_name=wav
format_long_name=WAV / WAVE (Waveform Audio)
start_time=N/A
duration=636.992000
size=122302542
bit_rate=1536000
probe_score=99
TAG:encoder=Lavf61.7.100
[/FORMAT]
--
You are receiving this mail because:
You are watching all bug changes.