Opened 2 years ago

Closed 2 years ago

#9978 closed defect (fixed)

showwavespic with replace ends up with SIGSEGV

Reported by: KE Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: showwavespic SIGSEGV
Cc: KE Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by KE)

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.

Attachments (2)

ffmpeg-20221018-090829.log (66.3 KB ) - added by KE 2 years ago.
FFMPEG log file
ffmpeg-20221018-101515.log (63.8 KB ) - added by KE 2 years ago.
FFmpeg Log

Download all attachments as: .zip

Change History (7)

by KE, 2 years ago

Attachment: ffmpeg-20221018-090829.log added

FFMPEG log file

comment:1 by KE, 2 years ago

Description: modified (diff)

comment:2 by Carl Eugen Hoyos, 2 years ago

Please test current FFmpeg git head, the only version supported on this bug tracker, and please understand that using hide_banner makes every bug report invalid.

in reply to:  2 comment:3 by KE, 2 years ago

I will test against the version from HEAD github.

Banner I have attached in the description of this issue.

Replying to Carl Eugen Hoyos:

Please test current FFmpeg git head, the only version supported on this bug tracker, and please understand that using hide_banner makes every bug report invalid.

by KE, 2 years ago

Attachment: ffmpeg-20221018-101515.log added

FFmpeg Log

comment:4 by KE, 2 years ago

Issue no longer exists in this version

ffmpeg version N-108709-g3bd0bf76fb Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.2.0 (GCC)
  configuration: --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl --enable-libsoxr --enable-libx264 --enable-encoder='mjpeg,png' --enable-decoder=png --enable-muxer=image2 --enable-demuxer=image2 --enable-libmp3l
ame --enable-filter='overlay,showwavespic,drawbox' --disable-lzma --disable-ffplay --disable-doc --disable-mmx --disable-debug --disable-protocols --enable-protocol=file --enable-zlib
  libavutil      57. 39.101 / 57. 39.101
  libavcodec     59. 50.101 / 59. 50.101
  libavformat    59. 34.101 / 59. 34.101
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 49.101 /  8. 49.101
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
  libpostproc    56.  7.100 / 56.  7.100

comment:5 by KE, 2 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.