-
Notifications
You must be signed in to change notification settings - Fork 199
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
Access violation after importing colour (from colour-science) #661
Comments
Thanks for reporting this. Sadly, I'm unable to reproduce this. Would you be able to share more info on the system experiencing this |
OK that import numpy as np
from wand.image import Image
import PySide6
with Image.from_array(np.linspace(0, 1, 256*256).reshape([256, 256])) as img:
img.save(filename=f'test.exr')
print("saved") I tried to reproduce it with a build of ImageMagick I built locally but with that build it actually works correctly. And unfortunately the Windows binaries from ImageMagick themselves are built without debug symbols. It is crashing when
(it is getting |
The last module I can narrow it down to is I think this is some generic possible problem if a lot of modules are importing DLLs. Shiboken has a slightly older version of |
test:
This will raise an exception from the
save()
call.r = library.MagickWriteImage(self.wand, filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: exception: access violation reading 0x0000000000000000
This problem started happening after I upgraded ImageMagick:
and
The text was updated successfully, but these errors were encountered: