-
Notifications
You must be signed in to change notification settings - Fork 755
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
aomenc tune=vmaf result in SIGFPE, Arithmetic exception #630
Comments
It seems the error is with the latest master.
Would you please try the release v1.5.2 to see if the problem persists?
…On Fri, Jul 17, 2020 at 9:08 AM Robert-André Mauchin < ***@***.***> wrote:
I wanted to try tune=vmaf on some picture but the process segfault. The
backtrace seems to involve libvmaf.
What steps will reproduce the problem?
1. /usr/bin/aomenc --tile-columns=4 --cpu-used=2
--full-still-picture-hdr --passes=2 --lossless=1
--tune=vmaf_with_preprocessing
--vmaf-model-path=/usr/share/model/vmaf_v0.6.1.pkl -o
AOM-VMAF_out/subset1/89_-*Vézelay_Basilique_2/89*-*Vézelay_Basilique_2-lossless.webm
/tmp/308324889*-_Vézelay_Basilique_2.png.y4m
What is the expected output?
A proper webm output, vmaf tuned
What do you see instead?
"aomenc" received signal SIGFPE, Arithmetic exception.
What version / commit were you testing with? (git describe can produce this
info if building from source). On what operating system?
Tested both aom 2.0.0 and the GIT tip.
libvmaf is 1.5.2
GCC 10.0.1
Fedora 32
Please provide any additional information below.
Backtrace from GDB:
Thread 2 "aomenc" received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7ffff4308640 (LWP 3101722)]
0x00007ffff74fe1e3 in adm_csf_den_scale_s ***@***.***=0x7ffff4307ab0, ***@***.***=806, ***@***.***=0, ***@***.***=630, ***@***.***=403,
***@***.***=2528, ***@***.***=0.10000000000000001) at ../src/feature/adm_tools.c:337
337 accum_inner_d += val;
(gdb) bt
#0 0x00007ffff74fe1e3 in adm_csf_den_scale_s ***@***.***=0x7ffff4307ab0, ***@***.***=806, ***@***.***=0, ***@***.***=630,
***@***.***=403, ***@***.***=2528, ***@***.***=0.10000000000000001) at ../src/feature/adm_tools.c:337
#1 0x00007ffff74fd2d5 in compute_adm ***@***.***=0x5555636889a0, ***@***.***=0x555565982f60, w=630, ***@***.***=1260, h=403, ***@***.***=806,
***@***.***=5056, ***@***.***=5056, score=0x7ffff4307cc8, score_num=0x7ffff4307cd8, score_den=0x7ffff4307ce0,
scores=0x7ffff4307d90, ***@***.***=0.10000000000000001, ***@***.***=100)
at ../src/feature/adm.c:183
#2 0x00007ffff743d330 in combo_threadfunc (vmaf_thread_data=<optimized out>) at ../src/combo.c:321
#3 0x00007ffff7a6a53a in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff7645283 in clone () from /lib64/libc.so.6
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#630>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AECVVEEXPYN5ASUI7NV6DITR4BZRHANCNFSM4O6PXYUQ>
.
|
I tried with release 1.5.2:
|
|
I see. The problem already existed with 1.5.2. Could you try it on 1.5.1 instead? |
I tried with 1.5.1 which is provided by Fedora and I tried with 1.5.2 which I compiled from source. In both case the error is the same. |
In this case, we'll have to start by reproducing the issue. I know libaom tune=vmaf keeps intermediate output. Would we be able to reproduce the error message from the intermediate video frames? |
In this case, I'm working on a single y4m video frame. My intent was to test avif. |
I've tried with this video: https://media.xiph.org/video/derf/y4m/vidyo4_720p_60fps.y4m |
Where you able to grab the intermediate video frames generated in the second pass? To be sure, you are encoding a single frame? |
Not sure how I should do that? I don't have any output from aomenc, just a segfault.
That's what I was trying to do, but as mentioned above I have the same issue with a video file. |
Have you had any successful runs using tune=vmaf on other clips? Wondering if this is a content-dependent problem or system configuration problem. |
No success, I'll be trying to recompile the entire chain in a chroot, from aom to vmaf and ffmpeg. It's probably a config issue since I seem to be the only one affected? No luck with the re-build, still fails. |
I have tried everything I can think of and I still have this issue:
|
Could this be a Fedora issue? Have you tried on an Ubuntu?
…On Tue, Jul 21, 2020 at 5:56 AM Robert-André Mauchin < ***@***.***> wrote:
I have tried everything I can think of and I still have this issue:
- installed on a pritine systemm
- rebuilt with clang to see if the error was due to the compiler
- compiled git tip of both aom and vmaf
- tried other models
- tried with no option other than tune=vmaf
- recompiled with libvmaf as a static library (it is build shared by
default on my system)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#630 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AECVVED5N73OGQJVUAGT6K3R4WGANANCNFSM4O6PXYUQ>
.
|
I wanted to try tune=vmaf on some picture but the process segfault. The backtrace seems to involve libvmaf.
What steps will reproduce the problem?
What is the expected output?
A proper webm output, vmaf tuned
What do you see instead?
"aomenc" received signal SIGFPE, Arithmetic exception.
What version / commit were you testing with? (git describe can produce this
info if building from source). On what operating system?
Tested both aom 2.0.0 and the GIT tip.
libvmaf is 1.5.2
GCC 10.0.1
Fedora 32
Please provide any additional information below.
Backtrace from GDB:
The text was updated successfully, but these errors were encountered: