[FFmpeg-trac] #9832(ffmpeg:new): Avisynth source on Linux: Address boundary error
FFmpeg
trac at avcodec.org
Sat Jul 16 01:00:46 EEST 2022
#9832: Avisynth source on Linux: Address boundary error
-------------------------------------+-------------------------------------
Reporter: Hanuman | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: unspecified | Resolution:
Keywords: avisynth, | Blocked By:
ffmpeg |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by Hanuman:
Old description:
> Running this command to encode an Avisynth script works on Windows but
> not on Linux.
>
> {{{
> "ffmpeg" -y -i "Avisynth.avs" -vcodec libx264 -an -preset ultrafast
> "AvisynthToFFmpeg Avisynth.mp4"
>
> ffmpeg version n5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
> built with gcc 12.1.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-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-
> shared --enable-version3
> libavutil 57. 17.100 / 57. 17.100
> libavcodec 59. 18.100 / 59. 18.100
> libavformat 59. 16.100 / 59. 16.100
> libavdevice 59. 4.100 / 59. 4.100
> libavfilter 8. 24.100 / 8. 24.100
> libswscale 6. 4.100 / 6. 4.100
> libswresample 4. 3.100 / 4. 3.100
> libpostproc 56. 3.100 / 56. 3.100
> Guessed Channel Layout for Input Stream #0.1 : mono
> Input #0, avisynth, from 'Avisynth.avs':
> Duration: 00:00:04.17, start: 0.000000, bitrate: 0 kb/s
> Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480, 24
> fps, 24 tbr, 24 tbn
> Stream #0:1: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
> Stream mapping:
> Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
> Press [q] to stop, [?] for help
> [libx264 @ 0x55d73af1f240] using cpu capabilities: MMX2 SSE2Fast SSSE3
> SSE4.2 AVX FMA3 BMI2 AVX2
> [libx264 @ 0x55d73af1f240] profile Constrained Baseline, level 3.0,
> 4:2:0, 8-bit
> [libx264 @ 0x55d73af1f240] 264 - core 164 r3081 19856cc - H.264/MPEG-4
> AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html -
> options: cabac=0 ref=1
> deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00
> mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0
> deadzone=21,11 fast_pskip=1
> chroma_qp_offset=0 threads=15 lookahead_threads=2 sliced_threads=0 nr=0
> decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0
> weightp=0 keyint=250
> keyint_min=24 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0
> qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
> Output #0, mp4, to 'AvisynthToFFmpeg Avisynth.mp4':
> Metadata:
> encoder : Lavf59.16.100
> Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(progressive),
> 640x480, q=2-31, 24 fps, 12288 tbn
> Metadata:
> encoder : Lavc59.18.100 libx264
> Side data:
> cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
> frame= 100 fps=0.0 q=-1.0 Lsize= 4kB time=00:00:04.12 bitrate=
> 7.5kbits/s speed= 123x
> video:3kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
> muxing overhead: 47.157574%
> [libx264 @ 0x55d73af1f240] frame I:1 Avg QP:20.00 size: 932
> [libx264 @ 0x55d73af1f240] frame P:99 Avg QP:12.02 size: 11
> [libx264 @ 0x55d73af1f240] mb I I16..4: 100.0% 0.0% 0.0%
> [libx264 @ 0x55d73af1f240] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0%
> 0.0% 0.0% 0.0% 0.0% skip:100.0%
> [libx264 @ 0x55d73af1f240] coded y,uvDC,uvAC intra: 0.0% 0.1% 0.0% inter:
> 0.0% 0.0% 0.0%
> [libx264 @ 0x55d73af1f240] i16 v,h,dc,p: 97% 0% 3% 0%
> [libx264 @ 0x55d73af1f240] i8c dc,h,v,p: 100% 0% 0% 0%
> [libx264 @ 0x55d73af1f240] kb/s:3.88
> fish: Job 1, '"ffmpeg" -y -i "Avisynth.avs" -…' terminated by signal
> SIGSEGV (Address boundary error)
> }}}
New description:
Running this command to encode an Avisynth script works on Windows but not
on Linux: terminated by signal SIGSEGV (Address boundary error)
OS: Garuda Linux (arch-based)
{{{
"ffmpeg" -y -i "Avisynth.avs" -vcodec libx264 -an -preset ultrafast
"AvisynthToFFmpeg Avisynth.mp4"
ffmpeg version n5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.1.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-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-
shared --enable-version3
libavutil 57. 17.100 / 57. 17.100
libavcodec 59. 18.100 / 59. 18.100
libavformat 59. 16.100 / 59. 16.100
libavdevice 59. 4.100 / 59. 4.100
libavfilter 8. 24.100 / 8. 24.100
libswscale 6. 4.100 / 6. 4.100
libswresample 4. 3.100 / 4. 3.100
libpostproc 56. 3.100 / 56. 3.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, avisynth, from 'Avisynth.avs':
Duration: 00:00:04.17, start: 0.000000, bitrate: 0 kb/s
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480, 24
fps, 24 tbr, 24 tbn
Stream #0:1: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x55d73af1f240] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x55d73af1f240] profile Constrained Baseline, level 3.0, 4:2:0,
8-bit
[libx264 @ 0x55d73af1f240] 264 - core 164 r3081 19856cc - H.264/MPEG-4 AVC
codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options:
cabac=0 ref=1
deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0
deadzone=21,11 fast_pskip=1
chroma_qp_offset=0 threads=15 lookahead_threads=2 sliced_threads=0 nr=0
decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0
weightp=0 keyint=250
keyint_min=24 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
Output #0, mp4, to 'AvisynthToFFmpeg Avisynth.mp4':
Metadata:
encoder : Lavf59.16.100
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(progressive),
640x480, q=2-31, 24 fps, 12288 tbn
Metadata:
encoder : Lavc59.18.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame= 100 fps=0.0 q=-1.0 Lsize= 4kB time=00:00:04.12 bitrate=
7.5kbits/s speed= 123x
video:3kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 47.157574%
[libx264 @ 0x55d73af1f240] frame I:1 Avg QP:20.00 size: 932
[libx264 @ 0x55d73af1f240] frame P:99 Avg QP:12.02 size: 11
[libx264 @ 0x55d73af1f240] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0x55d73af1f240] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0%
0.0% 0.0% 0.0% 0.0% skip:100.0%
[libx264 @ 0x55d73af1f240] coded y,uvDC,uvAC intra: 0.0% 0.1% 0.0% inter:
0.0% 0.0% 0.0%
[libx264 @ 0x55d73af1f240] i16 v,h,dc,p: 97% 0% 3% 0%
[libx264 @ 0x55d73af1f240] i8c dc,h,v,p: 100% 0% 0% 0%
[libx264 @ 0x55d73af1f240] kb/s:3.88
fish: Job 1, '"ffmpeg" -y -i "Avisynth.avs" -…' terminated by signal
SIGSEGV (Address boundary error)
}}}
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9832#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list