Opened 3 days ago

Closed 41 hours ago

#11385 closed defect (fixed)

Assert Error

Reported by: 0x20z Owned by:
Priority: important Component: avfilter
Version: git-master Keywords:
Cc: 0x20z Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description (last modified by 0x20z)

Summary of the bug:
Hello ,Dear developers,
I encountered assertion error when using ffmpeg version as git master,Please confirm.

How to reproduce:

unzip FFmpeg-master.zip
cd FFmpeg-master
./configure --cc=clang --cxx=clang++ --toolchain=clang-asan --enable-libvorbis
./ffmpeg -y -i poc test.mkv

crash log:

[aac @ 0x617000000080] Format aac detected only with low score of 1, misdetection possible!
[aac @ 0x617000000080] Packet corrupt (stream = 0, dts = NOPTS).
[aac @ 0x619000000580] Number of scalefactor bands in group (63) exceeds limit (47).
[aac @ 0x617000000080] Could not find codec parameters for stream 0 (Audio: aac (LTP), 5.1, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, aac, from '../AFLplusplus/output/slave/crashes/id:000001,sig:06,src:001360+001445,time:10209900,execs:57725,op:splice,rep:4':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Audio: aac (LTP), 5.1, fltp
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
[aac @ 0x619000002d80] Number of scalefactor bands in group (63) exceeds limit (47).
[aist#0:0/aac @ 0x614000000a40] [dec:aac @ 0x613000001000] Error submitting packet to decoder: Invalid data found when processing input
[aist#0:0/aac @ 0x614000000a40] [dec:aac @ 0x613000001000] Decode error rate 1 exceeds maximum 0.666667
[aist#0:0/aac @ 0x614000000a40] [dec:aac @ 0x613000001000] Task finished with error code: -1145393733 (Error number -1145393733 occurred)
[aist#0:0/aac @ 0x614000000a40] [dec:aac @ 0x613000001000] Terminating thread with return code -1145393733 (Error number -1145393733 occurred)
[af#0:0 @ 0x6150000016c0] No filtered frames for output stream, trying to initialize anyway.
Assertion frame->format != AV_SAMPLE_FMT_NONE && frame->sample_rate > 0 && frame->ch_layout.nb_channels > 0 failed at fftools/ffmpeg_enc.c:219.

ffmpeg version:

$ ./ffmpeg -version
ffmpeg version 7.1.git Copyright (c) 2000-2024 the FFmpeg developers
built with Ubuntu clang version 14.0.0-1ubuntu1.1
configuration: --enable-libx264 --cc=clang --cxx=clang++ --enable-gpl --toolchain=clang-asan
libavutil 59. 51.100 / 59. 51.100
libavcodec 61. 27.101 / 61. 27.101
libavformat 61. 9.101 / 61. 9.101
libavdevice 61. 4.100 / 61. 4.100
libavfilter 10. 6.101 / 10. 6.101
libswscale 8. 12.100 / 8. 12.100
libswresample 5. 4.100 / 5. 4.100
libpostproc 58. 4.100 / 58. 4.100

Attachments (2)

error_log.jpg (107.9 KB ) - added by 0x20z 3 days ago.
poc (326 bytes ) - added by 0x20z 3 days ago.

Download all attachments as: .zip

Change History (5)

by 0x20z, 3 days ago

Attachment: error_log.jpg added

by 0x20z, 3 days ago

Attachment: poc added

comment:1 by 0x20z, 2 days ago

Description: modified (diff)

comment:2 by 0x20z, 2 days ago

Priority: normalimportant

comment:3 by James, 41 hours ago

Analyzed by developer: set
Component: ffmpegavfilter
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.