dmlc / dmlc/decord

Segmentation fault when using torch together with decord

Open
#324 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
232
PR merge metrics
No merged PRs in 30d

Description

**EDIT: The root cause of Segmentation fault is from torch, not cv2, please see the correction below.**

I have installed opencv-python-headless and decord together. The version info is listed below.
```
opencv-python-headless 4.10.0.84
decord 0.6.0
```

I try to import two libs in a python script:

```python
import cv2
import decord

OR

import decord
import cv2
```

No matter which order I import two libs, both of them lead to `Segmentation fault (core dumped)` crash, without any other logs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.