Page MenuHome

Switching to edit mode on boolean object runs out of memory
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-08-06 17:52, hash: rB9a1ff4445b98
Worked: 2.83.4
Caused by rBdeaff945d0b9: Mesh: skip conversion from edit-mesh to mesh in edit-mode

Short description of error
Switching to edit mode on an object that is used as target in a boolean modifier exceeds all available memory. This is a regression and can be reproduced with two cubes.

It seems this only affects debug builds.

Exact steps for others to reproduce the error

  1. Duplicate the default cube
  2. Add a boolean modifier to the original cube
  3. Select the duplicated cube as target in the modifier
  4. Select the duplicated cube and switch to edit mode

Event Timeline

Robert Guetzkow (rjg) changed the task status from Needs Triage to Confirmed.Aug 6 2020, 10:54 PM
Robert Guetzkow (rjg) created this task.
Robert Guetzkow (rjg) triaged this task as High priority.Aug 6 2020, 10:56 PM
Robert Guetzkow (rjg) updated the task description. (Show Details)EditedAug 6 2020, 11:34 PM

I've just checked, release builds don't have this issue. I'm not sure and haven't investigated if this problem is really just limited to debug builds or somethings masks the underlying bug in release builds (e.g. UB, optimization, threading).