Opened 6 weeks ago

Last modified 3 weeks ago

#10923 new defect

crash when encode with libx265

Reported by: Viacheslav Owned by:
Priority: normal Component: ffmpeg
Version: unspecified Keywords: crash
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Viacheslav)

Summary of the bug: when i try encode have several errors and ffmpeg crash

malloc_consolidate(): invalid chunk size or corrupted double-linked or double free or corruption or corrupted size vs. prev_size or Segmentation fault

How to reproduce:

ffmpeg -i ./sample_caused_crash_264to265.mkv -map 0 -c:v libx265 -preset medium -crf 23 ./output.mkv

sample file uploaded to videolan

ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --enable-nonfree --enable-gpl --enable-openssl --enable-libdav1d --enable-libsvtav1 --enable-libx264 --enable-libx265 --enable-libvpx --enable-libxvid --enable-libvidstab --enable-libaom --enable-libzimg --enable-lv2 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libtheora --enable-libfdk-aac --enable-libwebp --enable-libfreetype --enable-libsrt --enable-libzmq --disable-ffnvcodec --enable-amf --disable-shared --enable-pthreads --enable-static --enable-version3 --extra-cflags='-I/app/workspace/include -I/app/workspace/include/lilv-0' --extra-ldexeflags= --extra-ldflags=-L/app/workspace/lib --extra-libs='-ldl -lpthread -lm -lz' --pkgconfigdir=/app/workspace/lib/pkgconfig --pkg-config-flags=--static --prefix=/app/workspace --extra-version=
libavutil      58. 29.100 / 58. 29.100
libavcodec     60. 31.102 / 60. 31.102
libavformat    60. 16.100 / 60. 16.100
libavdevice    60.  3.100 / 60.  3.100
libavfilter     9. 12.100 /  9. 12.100
libswscale      7.  5.100 /  7.  5.100
libswresample   4. 12.100 /  4. 12.100
libpostproc    57.  3.100 / 57.  3.100

Attachments (2)

ffmpeg-20240320-153821.log (2.2 MB ) - added by Viacheslav 6 weeks ago.
gdb.log (38.2 KB ) - added by Viacheslav 6 weeks ago.

Change History (6)

by Viacheslav, 6 weeks ago

Attachment: ffmpeg-20240320-153821.log added

by Viacheslav, 6 weeks ago

Attachment: gdb.log added

comment:1 by Viacheslav, 6 weeks ago

Description: modified (diff)

comment:2 by Viacheslav, 5 weeks ago

Component: undeterminedffmpeg

comment:3 by Viacheslav, 3 weeks ago

similar https://trac.ffmpeg.org/ticket/10906
7.0 also crashing

comment:4 by Viacheslav, 3 weeks ago

Version: 6.1unspecified
Note: See TracTickets for help on using tickets.