Page MenuHome

Blender 2.8 - Editing instances with modifiers causes issues
Closed, DuplicatePublic

Description

System Information
Operating system: Linux 17.10
Graphics card: GTX 1080

Blender Version
Broken:234c1129715a022b5ff95ed3dcd8e275e3661f8c

Short description of error
Editing instances with modifiers causes issues

Exact steps for others to reproduce the error

  1. open attached blend file
  2. tab in (blender 2.7x keymap)
  3. notice how all the instances now have the modifier applied to them?
  4. press g and move your mouse around really fast for around 5-10 seconds
  5. crash

I previously mentioned something similar to this in T58652 but this seems like it is not to do with shape keys at all, so i created a new one.

Details

Type
Bug

Event Timeline

Dalai Felinto (dfelinto) triaged this task as Confirmed priority.

I managed to reproduce a crash. Assuming is the originally reported:

SUMMARY: AddressSanitizer: heap-use-after-free //source/blender/blenkernel/intern/mesh_runtime.c:184 in BKE_mesh_runtime_clear_edit_data
Full ASAN report: P862

@Sergey Sharybin (sergey) it seems the data is allocated in T15, yet freed by thread 0. Aren't we suppose to only allocate memory from the main thread?