Page MenuHome

Crash: Cycles render Particles System
Closed, ResolvedPublic

Description

System Information
Operating system: Ubuntu 18.04.1
Graphics card: AMD RX 580 (8GB)

Blender Version
Broken: 2.80.44, d3870471edd7, 2019-02-12

Short description of error


Blender crashes when entering rendered mode in viewport with a particles system.

  • Open default scene and append a particles system (i've used the hair type with collection)
  • Assign that particles system to an object (like a plane in the image)
  • Switch to Cycles and in the viewport change the mode to rendered
  • It crashes

Event Timeline

Marco (nacioss) updated the task description. (Show Details)
Sebastian Parborg (zeddb) triaged this task as Needs Information from User priority.

I can't reproduce this on my end.
Could you attach a .blend file that crashes for you so we can see that I didn't miss anything?

  1. This is the Particles.blend file where i saved a particles system and assigned to a plane:


  1. Open a new project, go to File > Append and choose the "Particles Test" ParticlesSettings from the blend file above:

  1. Now add a plane, go to Particles Settings and choose the "Particles Test" particles system from the list

  1. Switch to Cycles render, and enter in rendered mode for the viewport... CRASH

Sebastian Parborg (zeddb) raised the priority of this task from Needs Information from User to Confirmed, Medium.

Backtrace:

Thread 1 "blender" received signal SIGSEGV, Segmentation fault.
ccl::Shader::tag_used (this=0x0, scene=0x7fffc4c4d000) at /home/zed/programmering/blender_master/blender/intern/cycles/render/shader.cpp:336
336		if(!used) {
(gdb) bt
#0  ccl::Shader::tag_used (this=0x0, scene=0x7fffc4c4d000) at /home/zed/programmering/blender_master/blender/intern/cycles/render/shader.cpp:336
#1  0x0000555556ecdd59 in ccl::BlenderSync::find_shader (this=this@entry=0x7fffcb4c1400, id=..., used_shaders=..., default_shader=<optimized out>)
    at /home/zed/programmering/blender_master/blender/intern/cycles/blender/blender_shader.cpp:50
#2  0x0000555556ed984e in ccl::BlenderSync::sync_mesh (this=this@entry=0x7fffcb4c1400, b_depsgraph=..., b_ob=..., b_ob_instance=...,
    object_updated=<optimized out>, show_self=show_self@entry=true, show_particles=false)
    at /home/zed/programmering/blender_master/blender/intern/cycles/blender/blender_mesh.cpp:996
#3  0x0000555556eb15c0 in ccl::BlenderSync::sync_object (this=0x7fffcb4c1400, b_depsgraph=..., b_view_layer=..., b_instance=..., motion_time=0,
    show_self=<optimized out>, show_particles=<optimized out>, culling=..., use_portal=0x7fffffffca2f)
    at /home/zed/programmering/blender_master/blender/intern/cycles/blender/blender_object.cpp:407
#4  0x0000555556eb2ff7 in ccl::BlenderSync::sync_objects (this=this@entry=0x7fffcb4c1400, b_depsgraph=..., motion_time=motion_time@entry=0)
    at /home/zed/programmering/blender_master/blender/intern/cycles/blender/blender_object.cpp:558
#5  0x0000555556ea6ac4 in ccl::BlenderSync::sync_data (this=0x7fffcb4c1400, b_render=..., b_depsgraph=..., b_v3d=..., b_override=..., width=1584,
    height=1018, python_thread_state=0x7fffcb4be290) at /home/zed/programmering/blender_master/blender/intern/cycles/blender/blender_sync.cpp:204
#6  0x0000555556e9ce94 in ccl::BlenderSession::synchronize (this=this@entry=0x7fffcb4bd800, b_depsgraph_=...)
    at /home/zed/programmering/blender_master/blender/intern/cycles/blender/blender_session.cpp:860
#7  0x0000555556e9773b in ccl::sync_func (args=<optimized out>) at /home/zed/programmering/blender_master/blender/intern/cycles/blender/blender_python.cpp:387
#8  0x00007ffff75e9d59 in _PyMethodDef_RawFastCallKeywords () from /usr/lib64/libpython3.7m.so.1.0
#9  0x00007ffff75e9e05 in _PyCFunction_FastCallKeywords () from /usr/lib64/libpython3.7m.so.1.0
#10 0x00007ffff75cbb15 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.7m.so.1.0
#11 0x00007ffff75c3479 in function_code_fastcall () from /usr/lib64/libpython3.7m.so.1.0
#12 0x00007ffff75cb2b4 in _PyEval_EvalFrameDefault () from /usr/lib64/libpython3.7m.so.1.0
#13 0x00007ffff75c3479 in function_code_fastcall () from /usr/lib64/libpython3.7m.so.1.0
#14 0x00007ffff75e979d in _PyFunction_FastCallDict () from /usr/lib64/libpython3.7m.so.1.0
#15 0x00005555564d7117 in bpy_class_call (C=0x7fffe9458108, ptr=<optimized out>, func=0x555558dd93c0 <rna_RenderEngine_view_update_func>,
    parms=0x7fffffffd930) at /home/zed/programmering/blender_master/blender/source/blender/python/intern/bpy_rna.c:7919
#16 0x0000555556ad2af1 in engine_view_update (engine=0x7fffce53ab08, context=<optimized out>)
    at /home/zed/programmering/blender_master/blender/source/blender/makesrna/intern/rna_render.c:216
#17 0x0000555556418c69 in ED_render_scene_update (update_ctx=0x7fffffffda50, updated=0)
    at /home/zed/programmering/blender_master/blender/source/blender/editors/render/render_update.c:131
#18 0x0000555556bc01ab in DEG_ids_check_recalc (bmain=bmain@entry=0x7fffe93ed608, depsgraph=depsgraph@entry=0x7fffd797ad08, scene=scene@entry=0x7fffe3068008,
    view_layer=view_layer@entry=0x7fffe4357608, time=time@entry=false)
    at /home/zed/programmering/blender_master/blender/source/blender/depsgraph/intern/depsgraph_tag.cc:747
#19 0x00005555569695f2 in BKE_scene_graph_update_tagged (depsgraph=depsgraph@entry=0x7fffd797ad08, bmain=bmain@entry=0x7fffe93ed608)
    at /home/zed/programmering/blender_master/blender/source/blender/blenkernel/intern/scene.c:1505
#20 0x000055555610c4c8 in wm_event_do_depsgraph (C=C@entry=0x7fffe9458108)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:340
#21 0x000055555610c565 in wm_event_do_refresh_wm_and_depsgraph (C=C@entry=0x7fffe9458108)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:365
#22 0x0000555556112dba in wm_event_do_notifiers (C=C@entry=0x7fffe9458108)
    at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm_event_system.c:523
#23 0x0000555556108e08 in WM_main (C=0x7fffe9458108) at /home/zed/programmering/blender_master/blender/source/blender/windowmanager/intern/wm.c:420
#24 0x00005555560f3303 in main (argc=1, argv=0x7fffffffdd28) at /home/zed/programmering/blender_master/blender/source/creator/creator.c:504