Opened 3 years ago
Closed 3 years ago
#9783 closed defect (needs_more_info)
Segmentation fault in zscale filter
Reported by: | Michael Ruhwedel | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | git-master | Keywords: | zscale |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
ffmpeg -i <some-video> -vf 'zscale=-1:480,pad=640:480:(ow-iw)/2:(oh-ih)/2' <out>
results in:
Thread 1 "ffmpeg_g" received signal SIGSEGV, Segmentation fault.
0x00007ffff572f57c in ?? () from /usr/lib/libzimg.so.2
Attachments (3)
Change History (15)
follow-up: 2 comment:1 by , 3 years ago
comment:2 by , 3 years ago
Replying to Elon Musk:
Not here, make sure you use latest version.
Apologies, where should i file the bug ticket?
I made sure I am using the latest version.
Compiled ffmpeg from main and zimg from v3.0.4
comment:4 by , 3 years ago
Thank you for following up, please see the file attached for the full output
comment:5 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
You posted cut output. Version is not displayed.
comment:6 by , 3 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
apologies again I had used -hide_banner. Please see the newly attached log file below.
what's confusing to me is that i compiled ffmpeg from the tag n5.1-dev
yet it shows as ffmpeg version 4.4.git
by , 3 years ago
error log with segmentation fault, showing the ffmpeg version
comment:8 by , 3 years ago
We do not support anything except the master branch of all libraries involved. Just use this: https://github.com/BtbN/FFmpeg-Builds
Also where is the input, LOL? vertical.mp4
comment:9 by , 3 years ago
Thank you for the suggestion and bearing with me =).
please see the new log attached. the binary was build using "FFmpeg-Builds linux64 gpl"
...
the error is independent of the video used. and now seems to be any zscale filter chain
code 2050: active window must be positive
Last message repeated 1 times
Error while filtering: Generic error in an external library
Failed to inject frame into filter network: Generic error in an external library
by , 3 years ago
Attachment: | ffmpeg-N-106951-g8bf618884b-linux64-gpl-error.log added |
---|
error log with segmentation fault, ffmpeg build via FFmpeg-Builds
comment:10 by , 3 years ago
Well, it no longer segfaults then.
[Parsed_zscale_0 @ 0x555c378ec4c0] code 2050: active window must be positive
should be understood.
comment:11 by , 3 years ago
Well, it no longer segfaults then.
true. For what it's worth the origin of the error message is
https://github.com/sekrit-twc/zimg/blob/master/src/zimg/graph/graphbuilder.cpp#L233
...
i'd say on master one error is now covering the other.
I'll close my bug report and keep retesting until I get to the segmentation fault again =)
comment:12 by , 3 years ago
Resolution: | → needs_more_info |
---|---|
Status: | reopened → closed |
Not here, make sure you use latest version.