As of BLC v2.11.0:
When using the engine in Debug-compiled mode, the engine crashes when the preview engine is used.
An assert is being triggered, hence Debug-only:
In BLC, the respective call is happening in the destructor:
https://github.com/LuxCoreRender/BlendLuxCore/blob/094e238a2730461d83d3cc8f6e5c84935a6be44e/engine/base.py#L81
For the time being, I can workaround by calling Stop only when the engine is not started (tested and found no adverse effects.)
It seems there is already a proper stop for each instance within BLC. I.e. the crash is due to a double-call to Stop().
However, the mechanism in LuxCore should be revised.
It seems that the value of started is only set to false inside threads, but not the main engine instance.
An Issue to consider in combination:
#693
As of BLC v2.11.0:
When using the engine in Debug-compiled mode, the engine crashes when the preview engine is used.
An assert is being triggered, hence Debug-only:
LuxCore/src/slg/engines/renderengine.cpp
Line 143 in 7721d13
In BLC, the respective call is happening in the destructor:
https://github.com/LuxCoreRender/BlendLuxCore/blob/094e238a2730461d83d3cc8f6e5c84935a6be44e/engine/base.py#L81
For the time being, I can workaround by calling Stop only when the engine is not started (tested and found no adverse effects.)
It seems there is already a proper stop for each instance within BLC. I.e. the crash is due to a double-call to
Stop().However, the mechanism in LuxCore should be revised.
It seems that the value of
startedis only set tofalseinside threads, but not the main engine instance.An Issue to consider in combination:
#693