LuxCore icon indicating copy to clipboard operation
LuxCore copied to clipboard

RTPathOCL hangs when kernel compilation fails

Open Theverat opened this issue 6 years ago • 0 comments

When the exception in the following line is thrown, RTPathOCL hangs (freezes), including Blender (user has to kill Blender manually). https://github.com/LuxCoreRender/LuxCore/blob/95d85566d9adc87fa4ea367cd7530f0a25e64d1d/src/slg/engines/pathoclbase/pathoclbaseoclthreadkernels.cpp#L840 I suspect it might be caused by missing exception handling + mutex in this line: https://github.com/LuxCoreRender/LuxCore/blob/95d85566d9adc87fa4ea367cd7530f0a25e64d1d/src/slg/engines/rtpathocl/rtpathoclthread.cpp#L252

PathOCL engine works as expected.


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

Theverat avatar May 16 '19 17:05 Theverat