Segmentation fault when you release the encoder if your pip environment has scipy==1.15.2

未關閉
#29 2 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

@jantonguirao 已經在處理了。

開始於 2026年9月3日。

評估

這個 Issue 還沒有評估資料。

描述

bug
Version

0.4.1.21

Describe the bug.

My cuda version is 12.4. Here is a simple test example:


import cupy as cp
from nvidia import nvimgcodec


def test_encode():

    encoder = nvimgcodec.Encoder()

    
    test_image = cp.random.randint(0, 256, (1024, 1024, 1), dtype=cp.uint8)

    
    nv_image = nvimgcodec.as_image(test_image)
                
             
    encoder.write("test.jpg",
                    nv_image,
                    codec='jpeg')
                    
if __name__ == "__main__":
    test_encode()
    print("Process exiting...")  

My conda command:

conda create -n test3 python=3.12
pip install nvidia-nvimgcodec-cu12 cupy-cuda12x 

everything is ok, but when you install scipy==1.15.2, there is a Segmentation fault when the test program is exiting.

Minimum reproducible example

Environment details
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

Relevant log output
python test.py
Process exiting...
Segmentation fault (core dumped)
Other/Misc.

No response

Check for duplicates
  • I have searched the open bugs/issues and have found no duplicates for this bug report
主要語言
Jupyter Notebook
星號
164
分支
26
平均合併
27 分鐘
30 天內合併 PR
1

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NVIDIA/nvImageCodec 的其他 Issue

查看 NVIDIA/nvImageCodec 的全部 Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。