Page MenuHome

Crash after delete material
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Linux-5.0.0-30-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: AMD Radeon (TM) Pro WX 5100 Graphics ATI Technologies Inc. 4.5.13556 Core Profile Context FireGL

Blender Version
Broken: version: 2.81 (sub 12), branch: master, commit date: 2019-10-02 08:22, hash: rBf97a64aa9b7b
Worked: (optional)

Short description of error
Crash after delete material

Exact steps for others to reproduce the error

  1. Open Blender
  2. Go to Shading
  3. Delete material output
  4. Crash

Event Timeline

I can confirm.

Operating system: Windows-10-10.0.16299 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.86
2.81 (sub 12), branch: master, commit date: 2019-10-01 19:51, hash: rB3b23685c7dc1

Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to High.Oct 2 2019, 12:30 PM

Can confirm, checking... (probably 5c79f2d0fba7?)

crashes here node_start is NULL

1   iter_backwards_ex               node.c                955  0x2e6cb4c 
2   nodeChainIterBackwards          node.c                998  0x2e6cc68 
3   ntreeGPUMaterialNodes           node_shader_tree.c    861  0x47023a9 
4   GPU_material_from_nodetree      gpu_material.c        677  0x8289a79 
5   DRW_shader_create_from_material draw_manager_shader.c 443  0x392216b 
6   EEVEE_material_mesh_get         eevee_materials.c     725  0x38c2d42 
7   material_opaque                 eevee_materials.c     1161 0x38c4058 
8   EEVEE_materials_cache_populate  eevee_materials.c     1486 0x38c518a 
9   EEVEE_cache_populate            eevee_engine.c        123  0x38b5333 
10  drw_engines_cache_populate      draw_manager.c        1145 0x3882e47 
11  DRW_draw_render_loop_ex         draw_manager.c        1663 0x38842cf 
12  DRW_draw_view                   draw_manager.c        1565 0x3883e2b 
13  view3d_draw_view                view3d_draw.c         1533 0x3db5761 
14  view3d_main_region_draw         view3d_draw.c         1557 0x3db5806 
15  ED_region_do_draw               area.c                534  0x3e7db33 
16  wm_draw_window_offscreen        wm_draw.c             629  0x33619d4 
17  wm_draw_window                  wm_draw.c             765  0x3361f53 
18  wm_draw_update                  wm_draw.c             947  0x336252b 
19  WM_main                         wm.c                  423  0x335e3bc 
20  main                            creator.c             491  0x2d036e6

Still assigning to you, @Clément Foucault (fclem), but could you check if D5969 does the trick?