-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Segmentation fault for Python 3.9 for video #3367
Comments
Which FFmpeg did you use? |
Should be this one:
|
cc @bjuncek as the segmentation fault happens in the new VideoReader implementation |
I think @seemethere installed the faulty 4.3 FFmpeg version, i.e., the one that had that AVX/SSE bug in assembly |
I think that's the issue - I've just build tv with 3.9 and my legacy 4.2 from and it passes for me. |
@seemethere for reference, in #2650 (comment) we found out that the 4.3 version of FFmpeg (which was present in conda unfortunately). Using FFmpeg 4.2 fixes the issue. |
If everyone agrees, I'll document this in #3460 and close this issue. |
@prabhat00155 should we reopen this? Or create a new issue? Looks like #3460 which was supposed to supersede this one hasn't been addressed yet, and it would be nice to have an issue that tracks the 3.9 problems since we deactivated the builds in #4417 |
@NicolasHug I think we should either augment the #3460 or start a new issue; |
@NicolasHug I have created an issue to track it here: #4430 |
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
Build torchvision for the latest version using python 3.9 with the latest pytorch nightly, run
pytest -v test/test_video.py
.Output:
Expected behavior
No segmentation fault
Environment
Please copy and paste the output from our
environment collection script
(or fill out the checklist below manually).
You can get the script and run it with:
Additional context
This was found as part of the effort to introduce Python 3.9 to the main branch here: #3341
cc @bjuncek @fmassa @andfoy
The text was updated successfully, but these errors were encountered: