Page MenuHome

"Make Single User" function breaks under specific circumstances
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.07

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: rB26bd5ebd42e3
Worked: 2.79b

Short description of error
The "Make Single User" seems to cause edit mode to crash when executed under very specific circumstances.

Exact steps for others to reproduce the error

  1. Open default startup file
  2. Open search menu ("F3")
  3. Find and run the "Make Single User" function
  4. Select the "Selected objects" option when prompted
  5. In the floating left bottom corner options box, only select the "Object Data" option and nothing else
  6. Duplicate Linked the default cube ("Alt+D")
  7. With either of the two cubes selected, open the search menu, and run the "Make Single User" function again with the same parameters
  8. Press TAB to enter edit mode
  9. Blender should crash

Event Timeline

Hi, thanks for report.

Can confirm this crashes.

Operating system: Linux-5.3.0-20-generic-x86_64-with-Ubuntu-18.04-bionic 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.26
Blender version: 2.82 (sub 1), branch: master, commit date: 2019-11-27 11:19, hash: rBeb798de101ac

Can reproduce with rB9c4cec2de9582e9f817af7320f77ee136db29adb, embm is NULL.

OBJECT_cache_populate(void * vedata, Object * ob) Line 3523
drw_engines_cache_populate(Object * ob) Line 1147
DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * ar, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1659
DRW_draw_view(const bContext * C) Line 1576
view3d_draw_view(const bContext * C, ARegion * ar) Line 1540
view3d_main_region_draw(const bContext * C, ARegion * ar) Line 1565
ED_region_do_draw(bContext * C, ARegion * ar) Line 539
wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 628
wm_draw_window(bContext * C, wmWindow * win) Line 766
wm_draw_update(bContext * C) Line 946
WM_main(bContext * C) Line 424
main(int argc, const unsigned char * * UNUSED_argv_c) Line 498

Deselecting and re-selecting before step 8 avoids the crash.

This bug no longer exists in the latest daily build, so it appears the bug has been fixed already.

Please try the latest daily build: https://builder.blender.org/download/

If the problem persists, please let us know so we can re-open the report. Don't forget to mention the specific version you tested again.