🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1536

Bug#1151006: ffmpeg: simple command makes ffmpeg to segfault

#1536
From: Sebastian Ramacher
Date: Wed, 21 Oct 2026 00:00
95 lines
12531 bytes
Control: reassign -1 libsvtav1enc4 4.2.0+dfsg-1 

On 2026-10-15 19:03:25 +0200, Santiago Vila wrote:
> > I'd appreciate a backtrace from gdb since I cannot reproduce it on a
> > system with more than one CPU.
> 
> I don't have a lot of experience doing that, let's see if the output
> below is useful with several -dbgsym packages installed.
> 
> [ Note that temporarily booting with GRUB_CMDLINE_LINUX="nr_cpus=1"
>   makes your system to become a single-CPU system very easily ]
> 
> Thanks.
> 
> #0  svt_circular_buffer_empty_check (bufferPtr=0x0) at Codec/./Source/Lib/Codec/sys_resource_manager.c:134
> #1  svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691201fcd0, wrapper_dbl_ptr=0x7f6933191c70) at Codec/./Source/Lib/Codec/sys_resource_manager.c:783
> #2  0x00007f6936e22fd5 in lib_svt_encoder_send_error_exit (hComponent=<optimized out>, error_code=4874) at Globals/./Source/Lib/Globals/enc_handle.c:5765
> #3  0x00007f6936fd52f0 in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:816
> #4  0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #5  svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933191f30) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #6  0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #7  0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #8  svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f69331920c0) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #9  0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #10 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #11 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933192250) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #12 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #13 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #14 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f69331923e0) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #15 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #16 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #17 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933192570) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #18 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #19 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #20 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933192700) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #21 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #22 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #23 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933192890) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #24 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #25 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #26 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933192a20) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #27 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #28 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #29 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933192bb0) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #30 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #31 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #32 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933192d40) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #33 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #34 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #35 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933192ed0) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #36 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #37 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #38 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933193060) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #39 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #40 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #41 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f69331931f0) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #42 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #43 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #44 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933193380) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #45 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #46 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #47 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933193510) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #48 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #49 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #50 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f69331936a0) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #51 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #52 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #53 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933193830) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #54 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #55 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #56 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f69331939c0) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #57 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #58 0x00007f6937060b27 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #59 svt_get_empty_object.isra.0 (empty_fifo_ptr=0x7f691f2a0b20, wrapper_dbl_ptr=0x7f6933193b50) at Codec/./Source/Lib/Codec/sys_resource_manager.c:789
> #60 0x00007f6936fd478a in svt_aom_picture_manager_kernel_iter (context=0x7f6912052720) at Codec/./Source/Lib/Codec/pic_manager_process.c:625
> #61 0x00007f6936e29626 in svt_kernel_dispatcher_run (dispatcher=<optimized out>) at Codec/./Source/Lib/Codec/kernel_dispatch.c:41
> #62 svt_av1_enc_send_picture (svt_enc_component=<optimized out>, p_buffer=0x7f6933193cb0) at Globals/./Source/Lib/Globals/enc_handle.c:5633

This is in svt_av1. Reassinging.

Cheers

> #63 0x00007f693ed20204 in ?? () from /usr/lib/x86_64-linux-gnu/libavcodec.so.63
> #64 0x00007f693e9cec59 in ?? () from /usr/lib/x86_64-linux-gnu/libavcodec.so.63
> #65 0x00007f693e9cee65 in avcodec_send_frame () from /usr/lib/x86_64-linux-gnu/libavcodec.so.63
> #66 0x0000557e7bfc3003 in encode_frame (of=0x557eb8b06780, ost=ost@entry=0x557eb8b7f080, frame=frame@entry=0x0, pkt=0x7f692c000a80) at src/fftools/ffmpeg_enc.c:644
> #67 0x0000557e7bfc34d0 in frame_encode (ost=0x557eb8b7f080, frame=0x0, pkt=<optimized out>) at src/fftools/ffmpeg_enc.c:809
> #68 encoder_thread (arg=<optimized out>) at src/fftools/ffmpeg_enc.c:913
> #69 0x0000557e7bfded35 in task_wrapper (arg=0x557eb8b79288) at src/fftools/ffmpeg_sched.c:2723
> #70 0x00007f693dc9edb8 in ?? () from /usr/lib/x86_64-linux-gnu/libc.so.6
> #71 0x00007f693dd1cf98 in ?? () from /usr/lib/x86_64-linux-gnu/libc.so.6
> 

-- 
Sebastian Ramacher
Technical Details
Message-ID: <NQrUl-6RNk-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NOwbL-5JdK-9@gated-at.bofh.it> <NOwv8-5JmB-7@gated-at.bofh.it> <NOwbL-5JdK-9@gated-at.bofh.it> <NOx7P-5JMD-1@gated-at.bofh.it> <NOwbL-5JdK-9@gated-at.bofh.it> <NOx7P-5JMD-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sebastian Ramacher <sramacher@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1151006: ffmpeg: simple command makes ffmpeg to segfault
Date: Wed, 21 Oct 2026 02:00:01 +0200
Message-ID: <NQrUl-6RNk-5@gated-at.bofh.it>
References: <NOwbL-5JdK-9@gated-at.bofh.it> <NOwv8-5JmB-7@gated-at.bofh.it> <NOwbL-5JdK-9@gated-at.bofh.it> <NOx7P-5JMD-1@gated-at.bofh.it> <NOwbL-5JdK-9@gated-at.bofh.it> <NOx7P-5JMD-1@gated-at.bofh.it>
X-Original-To: Santiago Vila <sanvila@debian.org>, 1151006@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 20 23:55:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1151006@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-multimedia@lists.debian.org
X-Debian-Pr-Message: followup 1151006
X-Debian-Pr-Package: src:ffmpeg
X-Debian-Pr-Source: ffmpeg
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: sramacher
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997833
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 95
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 21 Oct 2026 01:53:15 +0200
X-Original-Message-ID: <atf-6-B348wTTOpq@ramacher.at>
X-Original-References: <2b660bc7-8790-4835-ac77-e188b9ae8f3d@debian.org> <atD-IjE43tG0O7lr@ramacher.at> <2b660bc7-8790-4835-ac77-e188b9ae8f3d@debian.org> <atEHXTyVeZgQRw3Q@nuc> <2b660bc7-8790-4835-ac77-e188b9ae8f3d@debian.org> <atEHXTyVeZgQRw3Q@nuc>