[FFmpeg-trac] #9978(undetermined:new): showwavespic with replace ends up with SIGSEGV
FFmpeg
trac at avcodec.org
Tue Oct 18 08:59:12 EEST 2022
#9978: showwavespic with replace ends up with SIGSEGV
-------------------------------------+-------------------------------------
Reporter: KE | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
showwavespic SIGSEGV |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by KE:
Old description:
> Summary of the bug:
>
> When generating IMAGE out of WAV, when setting replace=1, ffmpeg exists
> with code 139 and terminated by signal SIGSEGV (Address boundary error)
>
> Without replace=1 for showwavespic filter, the png is generated without
> issues.
>
> How to reproduce:
> {{{
> % ffmpeg -hide_banner -nostats -y -v warning -f s16le -i audio.wav
> -filter_complex
> aformat=channel_layouts=mono,showwavespic=s=600x90:colors=#bfbfbf,drawbox=x=0:y=ih/2:w=iw:h=1:replace=1:t=1:color=#bfbfbf
> -frames:v 1 audio.png
>
> ffmpeg version n5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
> built with gcc 12.2.0 (GCC)
> configuration: --prefix=/usr --disable-debug --disable-static --disable-
> stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto
> --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-
> ladspa --enable-libaom --enable-libass --enable-libbluray --enable-
> libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-
> libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack
> --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-
> libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
> --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg
> --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh
> --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-
> libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-
> libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-
> libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc
> --enable-opencl --enable-opengl --enable-shared --enable-version3
> --enable-vulkan
> }}}
> Patches should be submitted to the ffmpeg-devel mailing list and not this
> bug tracker.
New description:
Summary of the bug:
When generating IMAGE out of WAV, when setting replace=1, ffmpeg exists
with code 139 and terminated by signal SIGSEGV (Address boundary error)
Without replace=1 for showwavespic filter, the png is generated without
issues.
How to reproduce:
{{{
% ffmpeg -hide_banner -nostats -y -v warning -f s16le -i audio.wav
-filter_complex
aformat=channel_layouts=mono,showwavespic=s=600x90:colors=#bfbfbf,drawbox=x=0:y=ih/2:w=iw:h=1:replace=1:t=1:color=#bfbfbf
-frames:v 1 audio.png
}}}
Version:
{{{
ffmpeg version n5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.2.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-
stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto
--enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-
ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b
--enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi
--enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx
--enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-
libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-
libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-
libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-
libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg
--enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-
shared --enable-version3 --enable-vulkan
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9978#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list