mitsuba-blender: Installation: Blender crash after installing with pip
Hi, blender is crashing after I installed mitsuba via the “install dependencies using pip” button. The error I get in the command line is:
munmap_chunk(): invalid pointer
[1] 6518 IOT instruction (core dumped) ./blender
, crash log At any further launch of blender I get the following error:
Writing: /tmp/blender.crash.txt
[1] 6723 segmentation fault (core dumped) ./blender
To Reproduce Steps to reproduce the behavior:
- Download blender 3.3 and run it
- Download latest release of mitsuba-blender (9d9a4cb) and install it
- Install mitsuba using the button “install dependencies using pip”
- Blender crashes
Resources If applicable, add screenshots or other files (Blender projects, Mitsuba scenes) to help explain or demonstrate your problem.
Environment (please complete the following information):
- OS: Linux (Fedora 36)
- Blender Version: 3.3.0, 3.2.2, 2.93.10
- Add-on Version: latest (9d9a4cb)
Thanks for your help.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (3 by maintainers)
@arpit15 the crash comes from the fact that the dynamic loading of the plugin DLLs also use the
RTLD_DEEPBINDflag internally. I have been working on a work-around for this issue today, hopefully will be able to push this in the coming days (then we will also need to wait for the next release).Temporaly if you are compiling Mitsuba locally, you can edit the
plugin.cppfile and remove the usage of theRTLD_DEEPINGflag. This is only really necessary when working with PyTorch and Mitsuba in the same Python script.