BlendLuxCore icon indicating copy to clipboard operation
BlendLuxCore copied to clipboard

LuxCore crash on activation

Open neosushi68 opened this issue 6 years ago • 32 comments


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

neosushi68 avatar Mar 20 '20 15:03 neosushi68

It looks like you are using the version for Blender v2.8x with Blender v2.79 (?)

Dade916 avatar Mar 20 '20 15:03 Dade916

It looks like you are using the version for Blender v2.8x with Blender v2.79 (?)

I'm using the version for 2.8x and I tried in with Blender 2.81, 2.82 and 2.82a none of them really worked for me.

neosushi68 avatar Mar 20 '20 15:03 neosushi68

I guess your original message is an un-edited cut&paste: you have to fill relevant information (OS, error, etc.).

Dade916 avatar Mar 20 '20 15:03 Dade916

Process: Blender [26773] Path: /Applications/Blender 2.82a.app/Contents/MacOS/Blender Identifier: org.blenderfoundation.blender Version: 2.82a (2.82a 2020-03-12) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Blender [26773] User ID: 502

Date/Time: 2020-03-20 16:28:00.320 +0100 OS Version: Mac OS X 10.15.3 (19D76) Report Version: 12 Bridge OS Version: 3.0 (14Y908)

neosushi68 avatar Mar 20 '20 15:03 neosushi68

Probably related to #372 (possibly a duplicate)

Theverat avatar Mar 20 '20 15:03 Theverat

Probably related to #372 (possibly a duplicate)

This helped to get it running using Blender 2.81

https://github.com/LuxCoreRender/BlendLuxCore/issues/372#issuecomment-581070700

neosushi68 avatar Mar 20 '20 15:03 neosushi68

#372 solution worked for me too ! (2.81 on Mojave).

This should be stated somewhere I think

melMass avatar Mar 21 '20 10:03 melMass

Also some files (denoiser) are not 777 by default resulting in a permission error

melMass avatar Mar 21 '20 10:03 melMass

Same here. Using the latest BlendLuxCore downloaded from here and installed into the stable Blender 2.82a on MacOS 10.14.6 Mojave. I do have a crash when activating the add-on. I do tried different versions of the BlendLuxCore, all of them are crashing Blender.

I do launched Blender from console so I can have a feedback and this is the cause of crash:

BlendLuxCore 2.4alpha0 registered (with pyluxcore 2.4alpha0)
Bus error: 10

If somebody knows a way to fix this issue, please post.

zohozer avatar Mar 21 '20 10:03 zohozer

Searching on internet about the "Bus error:10", this seems to be a compilation problem?

zohozer avatar Mar 21 '20 10:03 zohozer

@zohozer 2.82 is not supported on Mac for now

melMass avatar Mar 21 '20 11:03 melMass

Even the standalone versions of LuxCore is crashing on my Mac. Simply I can't use any of the newest builds.

zohozer avatar Mar 21 '20 11:03 zohozer

I think that is more of a compilation problem of the binary, see the "Bus error: 10" that I do have in the console.

zohozer avatar Mar 21 '20 11:03 zohozer

Even the standalone versions of LuxCore is crashing on my Mac. Simply I can't use any of the newest builds.

Is the MacOS SIP related problem described here https://github.com/LuxCoreRender/BlendLuxCore/issues/372#issuecomment-579989560 ?

Or do you have a very old CPU ? Some SSE instruction is not supported on some very old CPU (10+ years old).

Dade916 avatar Mar 21 '20 11:03 Dade916

Guys I still have the same problem as you have (Bus Error 10) when I want to enable newest Lux (2.3). I could do that with beta version on Blender 2.81 but now I just can't do that.

Of course you can disable SIP and do that but it is not a workaround. Normal user should not touch that functionality. Any idea how we can enable Lux on MacOS?

thebuza avatar Mar 21 '20 12:03 thebuza

@DaveSledz @zohozer Did you follow the instructions there https://github.com/LuxCoreRender/BlendLuxCore/issues/372#issuecomment-581070700 ?

Works flawlessly on my end, I had to chmod +x BlendLuxCore/bin/denoise aswel

melMass avatar Mar 21 '20 12:03 melMass

@melMass please tell me - what you did exactly with denoise file? You pasted this command into terminal?

thebuza avatar Mar 21 '20 12:03 thebuza

Tried your chmod command but still Blender crashes when I want to enable that

thebuza avatar Mar 21 '20 12:03 thebuza

Did you download Embree binaries and replaced them in the bin folder ? That's what solves the crash, the denoise bin is optional for Lux to work

melMass avatar Mar 21 '20 12:03 melMass

Sure I replaced three files - libembree3.3, libtbb, libtbbmalloc. Also did the chmod +x - the denoise file changed into executable. Then run from terminal, enable and crash.

thebuza avatar Mar 21 '20 12:03 thebuza