[FFmpeg-trac] #10329(undetermined:new): ffmpeg output: *** stack smashing detected ***: terminated

FFmpeg trac at avcodec.org
Sat Apr 22 08:06:15 EEST 2023


#10329: ffmpeg output: *** stack smashing detected ***:  terminated
-------------------------------------+-------------------------------------
             Reporter:  hydra3333    |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by hydra3333):

 Ah.  Damn.

 Even building commit 774d358e0fd520ab9503447c5f8f5e1633b96e39 (2023.04.02)
 with almost nothing enabled
 {{{
 ./configure
 --prefix=/home/u/Desktop/_working/workdir/win64_output/ffmpeg_testonly.installed
 --arch=x86_64 --target-os=mingw64 --cross-prefix=x86_64-w64-mingw32-
 --pkg-config=pkg-config --pkg-config-flags=--static --disable-shared
 --enable-static --disable-w32threads --enable-pthreads --enable-cross-
 compile --target-exec=wine --enable-runtime-cpudetect --enable-gpl
 --enable-version3 --extra-version="testonly" --enable-pic --enable-gray
 --disable-autodetect --disable-ffplay --disable-ffprobe --disable-doc
 }}}

 still yields:
 {{{
 ffmpeg.exe -h
 *** stack smashing detected ***:  terminated
 }}}

 Since the build system is effectively unchanged between producing a
 working ffmpeg and producing a broken one like the above,
 it means the combination of the latest Ubuntu 20.04.2 / mingw64 git head
 is unusable for building ffmpeg any more.
 When run in a VM, Ubuntu 20.04.1 (which used to be OK) effecitvely forces
 one to upgrade to 20.04.2 ... and that breaks mingw64 tagged version 10
 ... which means mingw64 git head ust be used ... and that combo fails.

 I'm inclined to try an old Ubuntu 20.04.1 without any 'sudo apt -y update'
 nor 'sudo apt -y upgrade' and mingw tagged as v10, and see what happens
 just in case something nefarious is going on.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10329#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list