bug: Nuke crash when using OIIO to read or write images
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- computer-graphics, operating-systems
Direzione di ricerca
Start by reproducing the crash with the Nuke 17.0v1 Python command and the pip-installed OpenImageIO 3.1.17.0 build on Windows, then compare it with the standalone Python result. Trace the Windows image-write path and Python/Nuke integration; done means writing the test JPEG no longer crashes Nuke and produces a valid image.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
We noticed that the pip OIIO builds cause Nuke to crash when reading or writing images.
This only seems to happen on Windows. On Linux we haven't seen this issue yet.
Also with a very old self compiled OIIO build we didn't have this problem.
We can reproduce this crash in Nuke 17.0v1 and OIIO 3.1.17.0 (Python 3.11, installed from pip) on Windows 11.
OpenImageIO version and dependencies
oiiotool --buildinfo:
OIIO 3.1.17.0 | Windows/x86_64
Build compiler: MSVS 1944 | C++17/199711
HW features enabled at build: sse2
No CUDA support (disabled / unavailable at build time)
Dependencies: BZip2 NONE, DCMTK NONE, expat 2.6.3, FFmpeg NONE, fmt 12.1.0, Freetype 2.14.1, GIF 5.2.1, Imath 3.1.10,
JPEG 80, JXL NONE, libdeflate 1.23, libdeflate 1.23, Libheif NONE, libjpeg-turbo 3.1.2, LibRaw NONE, libuhdr 1.4.0,
minizip-ng 4.0.10, OpenColorIO 2.5.1, OpenCV NONE, OpenEXR 3.3.5, OpenGL, OpenJPEG 2.5.4, openjph NONE, PNG 1.6.50,
Ptex NONE, Ptex NONE, pybind11 3.1.0, pystring NONE, Python3 3.11.9, Qt5 NONE, Qt6 NONE, Robinmap 1.4.0, TBB NONE,
TIFF 4.7.1, WebP 1.6.0, yaml-cpp 0.8.0, ZLIB 1.3.1, ZLIB 1.3.1
No custom plugins loaded in Nuke.
To Reproduce
Steps to reproduce the behavior:
-
Install OIIO in an empty folder:
"C:\Program Files\Nuke17.0v1\python.exe" -m pip install OpenImageIO -t D:/tmp/nukeoiio -
Open Nuke and in the Script Editor run this:
sys.path.append(r"D:\tmp\nukeoiio")
import OpenImageIO as oiio
buf = oiio.ImageBuf(oiio.ImageSpec(1024, 1024, 3, oiio.UINT16))
buf.write("D:/tmp/test.jpg")```
3. Nuke will close without error and show the submit report to Foundry window. The image file got created with 0kb, so it probably crashed just before writing to it. Running the same python command in a standalone python shell creates the image just fine.
- Lingua principale
- C++
- Stelle
- 2.4k
- Fork
- 727
- Merge medio
- 4g 8h
- PR unite (30g)
- 67
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AcademySoftwareFoundation/OpenImageIO
-
bug: Python ImageBuf.get_pixels(oiio.UNKNOWN) returns None silently or segfaultsForse di nuovo libera @stevwya77 l’ha presa 9 giorni fa e non c’è nessuna pull request aperta. Apertabug good first issue python
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
AcademySoftwareFoundation/OpenImageIO#5698 · 3 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
AcademySoftwareFoundation/OpenImageIO#5619 · 2 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
AcademySoftwareFoundation/OpenImageIO#5570 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
AcademySoftwareFoundation/OpenImageIO#5558 ·
I maintainer di solito rispondono entro 3 giorni
-
define which color metadata OpenImageIO trusts, and when it resolves itForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
AcademySoftwareFoundation/OpenImageIO#5516 ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di AcademySoftwareFoundation/OpenImageIO
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
godotengine/godot#125913 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
期待增加虚线线条样式Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
vllm-project/vllm#70568 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
mw00/project-maya#1368 ·
I maintainer di solito rispondono entro 2 giorni