Skip to content
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 when run decord with cv2.imshow() #322

Open
youliangtan opened this issue Oct 22, 2024 · 0 comments
Open

Segmentation fault when run decord with cv2.imshow() #322

youliangtan opened this issue Oct 22, 2024 · 0 comments

Comments

@youliangtan
Copy link

Summary

Getting seg fault when run the im.show with decord being import, no issue when comment out decord.

  • opencv Version: 4.10.0.84
  • decord Version: 0.6.0

Reproduce this

import cv2
import numpy as np
import decord  # try comment this
img = np.zeros((512, 512, 3), np.uint8)

cv2.imshow("Test Image", img)
cv2.waitKey(1000)
cv2.destroyAllWindows()
print("Done")
(base) youliang@youliang-Precision-5690:~/$ python test.py 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Segmentation fault (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant