LuxCoreRender / BlendLuxCore

Blender Integration for LuxCore
GNU General Public License v3.0
733 stars 92 forks source link

Deleting light assigned to sky setting LuxCore Crash #346

Open pafurijaz opened 4 years ago

pafurijaz commented 4 years ago

System Information

Linux Ununtu 18.04 LTS Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) ' '4.5 (Core Profile) Mesa 19.2.1'

Software Version

Error message from Blender console

Blender 2.81 (sub 16), Commit date: 2019-12-04 11:32, Hash f1aa4d18d49d

bpy.ops.wm.open_mainfile(filepath="/home/pafurijaz/Documenti/blend_files/Tree_Christmas.blend", load_ui=True, use_scripts=False, display_file_selector=False, state=2) # Operator bpy.ops.wm.tool_set_by_id(name="builtin.select_box", cycle=False, space_type='NODE_EDITOR') # Operator bpy.ops.wm.tool_set_by_id(name="builtin.select_box", cycle=False, space_type='VIEW_3D') # Operator bpy.ops.object.delete(use_global=False, confirm=False) # Operator Deleted 1 object(s) # Info bpy.ops.object.delete(use_global=False, confirm=False) # Operator bpy.ops.info.reports_display_update() # Operator bpy.ops.info.reports_display_update() # Operator bpy.ops.info.reports_display_update() # Operator

backtrace

./blender(BLI_system_backtrace+0x1d) [0x14ee84d] ./blender() [0x12cbb79] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7fd25c4c0f20] ./blender(pyrna_struct_CreatePyObject+0x3b) [0x156953b] ./blender(pyrna_prop_to_py+0xa1) [0x156e081] ./blender() [0x156e23f] ./blender(_PyEval_EvalFrameDefault+0x4ef3) [0x12c3e63] ./blender(_PyEval_EvalCodeWithName+0xadc) [0x198c36c] ./blender(_PyFunction_FastCallKeywords+0xa6) [0x18da456] ./blender(_PyEval_EvalFrameDefault+0x88dc) [0x12c784c] ./blender() [0x12bdec0] ./blender(_PyEval_EvalFrameDefault+0x88dc) [0x12c784c] ./blender(_PyEval_EvalCodeWithName+0xadc) [0x198c36c] ./blender(_PyFunction_FastCallKeywords+0xa6) [0x18da456] ./blender(_PyEval_EvalFrameDefault+0x8122) [0x12c7092] ./blender(_PyEval_EvalCodeWithName+0xadc) [0x198c36c] ./blender(_PyFunction_FastCallKeywords+0xa6) [0x18da456] ./blender(_PyEval_EvalFrameDefault+0x88dc) [0x12c784c] ./blender() [0x12bdec0] ./blender(_PyFunction_FastCallDict+0x2a6) [0x18da396] ./blender() [0x156d3ae] ./blender() [0x1643e47] ./blender() [0x2d33ced] ./blender() [0x2cf77e1] ./blender(DRW_draw_render_loop_ex+0x5a0) [0x2cf8eb0] ./blender(view3d_main_region_draw+0x77) [0x2fd7137] ./blender(ED_region_do_draw+0x8f1) [0x304b9d1] ./blender(wm_draw_update+0x496) [0x16a0686] ./blender(WM_main+0x30) [0x169dce0] ./blender(main+0x2fe) [0x1237f7e] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fd25c4a3b97] ./blender() [0x12c849c]

Short description of error

When I delete a light (sun) assigned to the sky settings and do not remove the light from the sky lux settings, it stops responding as soon as I launch the rendering, however, but if I remove the link from the sky settings LuxCore t doesn't crash and it works.

Tree_Christmas.blend.zip

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/86016768-deleting-light-assigned-to-sky-setting-luxcore-crash?utm_campaign=plugin&utm_content=tracker%2F80143047&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F80143047&utm_medium=issues&utm_source=github).
Theverat commented 4 years ago

I've been investigating this and it looks like a Blender bug to me. I'll create a small script that demonstrates the problem and open a report in the Blender tracker.