Maniphest T66686

Crash on Particle Edit, then Render
Closed, Resolved

Assigned To
Sergey Sharybin (sergey)
Authored By
Paul Hartsuyker (paulhart)
Jul 11 2019, 2:37 AM
Tags
  • BF Blender
Subscribers
Clément Foucault (fclem)
Craig Dolphin (craigdolphin)
dark999 (dark999)
Paul Hartsuyker (paulhart)
Sebastian Parborg (zeddb)
Sergio Garcia (chorizo)
Vitor Boschi (vitorboschi)

Description

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-10 15:05, hash: rBbb7b741d2f1c

Short description of error
Hard crash, after Particle Edit

Exact steps for others to reproduce the error
Hair editing, completed, Disconnect Hair (or Discount All) F12 to Render, full crash.
I have not been able to find out how to "Commit" the Edits to the Particle Hair edits, so I can go back and increase the Number.
Did a Google search on variations of this topic. Tried the Disconnect Hair as a last choice, Render, Crash.

Revisions and Commits

rB Blender
D5259

Event Timeline

Paul Hartsuyker (paulhart) created this task.Jul 11 2019, 2:37 AM
Paul Hartsuyker (paulhart) added a comment.Jul 11 2019, 2:53 AM


I have uploaded the file, which now crashes immediately. Open the file, press F12, watch Blender disappear.
I did not even try the Disconnect Hair or the Disconnect All, just Open, F12, Crash.
Hope this helps.
I appreciate the development, congratulations on the RC release.

Paul Hartsuyker (paulhart) added a comment.Jul 11 2019, 4:20 AM

Successfully opened the file, and chose Object Mode, instead of Particle Edit mode, was able to F12 Render. Apparently the crash is only in Particle Edit Mode. Still haven't figured out how to "Commit the Edits" of the Particle Edit, so I can go back and increase the number of Hair Particles??

Sebastian Parborg (zeddb) assigned this task to Clément Foucault (fclem).Jul 11 2019, 12:49 PM
Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 50.
Sebastian Parborg (zeddb) added a subscriber: Sebastian Parborg (zeddb).

Backtrace:

Thread 37 "blender" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff73fff700 (LWP 3135)]
0x0000555557d1a609 in psys_copy_particles (psys_dst=0x7fffd23eee08, psys_src=0x0) at /home/zed/prog/blender/source/blender/blenkernel/intern/particle.c:747
747	  if (psys_dst->particles != psys_src->particles) {
(gdb) bt
#0  0x0000555557d1a609 in psys_copy_particles (psys_dst=0x7fffd23eee08, psys_src=0x0) at /home/zed/prog/blender/source/blender/blenkernel/intern/particle.c:747
#1  0x0000555558af6b8f in pe_get_current (depsgraph=0x7fffc34273c8, scene=0x7fffcf437008, ob=0x7fffd0a75408, create=1)
    at /home/zed/prog/blender/source/blender/editors/physics/particle_edit.c:344
#2  0x0000555558af6c30 in PE_create_current (depsgraph=0x7fffc34273c8, scene=0x7fffcf437008, ob=0x7fffd0a75408)
    at /home/zed/prog/blender/source/blender/editors/physics/particle_edit.c:363
#3  0x0000555558771ec1 in drw_particle_update_ptcache (object_eval=0x7fffc346f608, psys=0x7fffca1c3308)
    at /home/zed/prog/blender/source/blender/draw/intern/draw_cache_impl_particles.c:1429
#4  0x0000555558772a9c in particles_ensure_procedural_data (object=0x7fffc346f608, psys=0x7fffca1c3308, md=0x7fffd4365488, r_hair_cache=0x7fff73ffcc28, subdiv=0,
    thickness_res=1) at /home/zed/prog/blender/source/blender/draw/intern/draw_cache_impl_particles.c:1655
#5  0x00005555587796d3 in drw_shgroup_create_hair_procedural_ex (object=0x7fffc346f608, psys=0x7fffca1c3308, md=0x7fffd4365488, hair_pass=0x7fff52bf52a8,
    gpu_mat=0x0, gpu_shader=0x7fff32f10248) at /home/zed/prog/blender/source/blender/draw/intern/draw_hair.c:138
#6  0x0000555558779d75 in DRW_shgroup_hair_create (object=0x7fffc346f608, psys=0x7fffca1c3308, md=0x7fffd4365488, hair_pass=0x7fff52bf52a8, shader=0x7fff32f10248)
    at /home/zed/prog/blender/source/blender/draw/intern/draw_hair.c:236
#7  0x00005555586f12b4 in EEVEE_hair_cache_populate (vedata=0x7fffc347fe88, sldata=0x7fff6afe1308, ob=0x7fffc346f608, cast_shadow=0x7fff73ffcdca)
    at /home/zed/prog/blender/source/blender/draw/engines/eevee/eevee_materials.c:1747
#8  0x00005555586f443c in EEVEE_render_cache (vedata=0x7fffc347fe88, ob=0x7fffc346f608, engine=0x7fffc34c1288, UNUSED_depsgraph=0x7fffc34273c8)
    at /home/zed/prog/blender/source/blender/draw/engines/eevee/eevee_render.c:185
#9  0x00005555586aa294 in DRW_render_object_iter (vedata=0x7fffc347fe88, engine=0x7fffc34c1288, depsgraph=0x7fffc34273c8, callback=
    0x5555586f4302 <EEVEE_render_cache>) at /home/zed/prog/blender/source/blender/draw/intern/draw_manager.c:2071
#10 0x00005555586db675 in eevee_render_to_image (vedata=0x7fffc347fe88, engine=0x7fffc34c1288, render_layer=0x7fffc357a988, rect=0x7fff73ffd540)
    at /home/zed/prog/blender/source/blender/draw/engines/eevee/eevee_engine.c:449
#11 0x00005555586a9fe3 in DRW_render_to_image (engine=0x7fffc34c1288, depsgraph=0x7fffc34273c8)
    at /home/zed/prog/blender/source/blender/draw/intern/draw_manager.c:2012
#12 0x0000555557ffba5a in RE_engine_render (re=0x7fffc4bfc008, do_all=0) at /home/zed/prog/blender/source/blender/render/intern/source/external_engine.c:778
#13 0x0000555557fff1e6 in do_render_3d (re=0x7fffc4bfc008) at /home/zed/prog/blender/source/blender/render/intern/source/pipeline.c:1147
#14 0x0000555557fff51f in do_render (re=0x7fffc4bfc008) at /home/zed/prog/blender/source/blender/render/intern/source/pipeline.c:1224
#15 0x0000555557fffd25 in do_render_composite (re=0x7fffc4bfc008) at /home/zed/prog/blender/source/blender/render/intern/source/pipeline.c:1445
#16 0x0000555558000a65 in do_render_all_options (re=0x7fffc4bfc008) at /home/zed/prog/blender/source/blender/render/intern/source/pipeline.c:1719
#17 0x0000555558001b68 in RE_RenderFrame (re=0x7fffc4bfc008, bmain=0x7fffd26f0d08, scene=0x7fffcf437008, single_layer=0x0, camera_override=0x0, frame=1,
    write_still=false) at /home/zed/prog/blender/source/blender/render/intern/source/pipeline.c:2121
#18 0x000055555c739e1d in render_startjob (rjv=0x7fffe67daa88, stop=0x7fffbfbbd844, do_update=0x7fffbfbbd842, progress=0x7fffbfbbd848)
    at /home/zed/prog/blender/source/blender/editors/render/render_internal.c:670
#19 0x00005555582434cd in do_job_thread (job_v=0x7fffbfbbd7c8) at /home/zed/prog/blender/source/blender/windowmanager/intern/wm_jobs.c:383
#20 0x0000555557f2017b in tslot_thread_start (tslot_p=0x7fffd09d9388) at /home/zed/prog/blender/source/blender/blenlib/intern/threads.c:260
#21 0x00007ffff6a15458 in start_thread () from /lib64/libpthread.so.0
#22 0x00007ffff327b71f in clone () from /lib64/libc.so.6
Sebastian Parborg (zeddb) reassigned this task from Clément Foucault (fclem) to Sergey Sharybin (sergey).Jul 11 2019, 12:50 PM
Sebastian Parborg (zeddb) added a subscriber: Clément Foucault (fclem).

Or actually, this crashes with cycles too...

Sebastian Parborg (zeddb) merged a task: T66771: Render Crash .Jul 12 2019, 5:15 PM
Sebastian Parborg (zeddb) added subscribers: Sergio Garcia (chorizo), Craig Dolphin (craigdolphin).
Brecht Van Lommel (brecht) added subscribers: Vitor Boschi (vitorboschi), dark999 (dark999).
Sergey Sharybin (sergey) changed the task status from Unknown Status to Resolved by committing rB914427afd512: Fix T66686: Crash on Particle Edit, then Render.Jul 15 2019, 3:55 PM
Sergey Sharybin (sergey) added a commit: rB914427afd512: Fix T66686: Crash on Particle Edit, then Render.