mitsuba-renderer / mitsuba-blender

Mitsuba integration add-on for Blender
BSD 3-Clause "New" or "Revised" License
278 stars 36 forks source link

Installation: Crash when choosing custom mitsuba path #41

Closed arpit15 closed 10 months ago

arpit15 commented 2 years ago

Bug Description Blender crashes when I switch on the mitsuba-blender addon and add the custom path to mitsuba, which is compiled from the source.

free(): invalid pointer
Aborted (core dumped)

To Reproduce Steps to reproduce the behavior:

  1. Compile mitsuba 121a637d) from source.
  2. Switch on the addon from blender -> preferences -> addons
  3. Click on Use custom Mitsuba path
  4. Select the build directory

Expected behavior The plugin to load properly without any crashes

Environment (please complete the following information):

Additional context The crash also occurs when I install mitsuba using pip.

ros-dorian commented 2 years ago

As discussed in #38, the bug comes from Mitsuba 3.0.2 which is the version you are trying to use. I would suggest either waiting for Mitsuba 3.0.3 or using an older version of Mitsuba (tag v3.0.1).

EsteBran commented 1 year ago

Hello, I built Mitsuba v3.0.1 as outlined in the compile and build instructions, then tried to set the custom mitsuba build path to the Release folder containing mitsuba.exe and got the same result. "Failed to load custom Mitsuba. Please verify the path to the build directory."