-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] segfault when trying to use a super resolution denominator that's not 8 #123
Labels
bug
Something isn't working
Comments
Hi @TheLegendOfKitty, can you try this with mainline SVT-AV1 and see if it reproduces there too? If that's the case, you'll need to follow up with them instead: https://gitlab.com/AOMediaCodec/SVT-AV1 |
It doesn't happen on latest mainline, I'll try to post addresssantizer results |
Here is the result after compiling with AddressSanitizer. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview
svt-av1-psy segfaults when trying to use a super resolution denominator that's not 8.
Branch
In which branch does the issue appear to be occurring?
master
testing
(I have not tried testing)Reproduction
Attempt to use super resolution with a denominator that's not 8, such as 16. The command I tried is below.
ffmpeg -i in.mkv -strict -1 -f yuv4mpegpipe - | ./SvtAv1EncApp -i - -b out.mkv --crf 16 --preset 4 --superres-mode 1 --superres-denom 16
(piped through ffmpeg)Expected behavior
The video would be encoded with the super resolution mode and denominator that was selected.
Terminal Output
terminated by signal SIGSEGV (Address boundary error)
[ 2402.331807] SvtAv1EncApp[68308]: segfault at 0 ip 0000561049f1c8dc sp 00007339c4810db0 error 6 in SvtAv1EncApp[2198dc,561049d24000+690000] likely on CPU 18 (core 30, socket 0) [ 2402.331823] Code: 28 c8 f2 0f 10 05 94 bb 4a 00 48 8b 85 88 5d 00 00 f2 0f 5c c1 f2 0f 59 05 c1 c0 4a 00 f2 0f 58 84 24 88 00 00 00 48 8b 40 50 <f2> 0f 11 04 18 48 83 c3 08 e8 66 79 e0 ff f2 0f 58 44 24 58 83 44
Platform
uname:
Linux p14s 6.12.7-zen1-1-zen x86_64 unknown GNU/Linux
compiled with:
cc (GCC) 14.2.1 20240910
build command:
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DBUILD_DEC=OFF -DSVT_AV1_LTO=ON -DNATIVE=ON -DCMAKE_CXX_FLAGS="-O3" -DCMAKE_C_FLAGS="-O3" -DCMAKE_LD_FLAGS="-O3" && make -j$(nproc)
Version String (please complete the following information):
SvtAv1EncApp --version
and copy the result:SVT-AV1-PSY v2.3.0-A-5-gf560b40c (release) PSY Release: A
Additional context / Relevant Files
Any file you encode should work. Some that failed:
eva OP: https://github.com/user-attachments/assets/5d9eb9a7-789e-4c5b-bd95-d4597959a15d
a hard day's night (i tried both 4k and 1080p, but github restricts to 10mb limit, so this is 1080p): https://github.com/user-attachments/assets/f82cfc53-5214-4727-90f9-880dcacb5726
The text was updated successfully, but these errors were encountered: