Page MenuHome

Blender2.8 crash when going out of editmode with bolean + bevel modifiers
Closed, ResolvedPublic


System Information
Linux debian testing
GTX 780

Blender Version
version: 2.80 (sub 21), branch: blender2.8, commit date: 2018-08-25 20:13, hash: b30d103cf63

Short description of error
I made an extrude on a mesh that got a bollean modifier and a bevel modifier, when going out of edit mode blender crash.

Exact steps for others to reproduce the error
Open the attached file, hit Tab to go out edit mode, blender should crash...

Note that if you deselect geometry and leave edit mode it works fine.



Event Timeline

Bastien Montagne (mont29) triaged this task as Needs Information from User priority.

It actually crashes on loading the file here, looks like corrupted mesh… Problem is, there are tens of objects in there, pretty hard to say which one is buggy. Can you please either submit file with only broken mesh, or at least give us its name?

Ouch sorry ! The object is called immeuble_05

Here is a new file that isn't in edit mode by default. I've gor ridden of some meshs in the scene too.

I've tried to narrow down the issue a little more. I've highlighted with the annotation tool a face.
Go to edit mode , select that face , go out edit mode , blender should crash.
I haven't checked all the faces, but some face of the mesh don't trigger the issue.

Thanks !

Bastien Montagne (mont29) raised the priority of this task from Needs Information from User to Confirmed, Medium.

OK, so indeed the mesh (from ville_02 .blend file) has some invalid (selection) data, validate(verbose=True) on it (its Plane.048) gives following report:

BKE_mesh_validate_arrays: verts(84), edges(160), loops(308), polygons(77)
	Mesh select element 0 type 2 index 68 is larger than data array size 0, resetting selection stack.

The same one from ville_04 .blend is valid before going into Edit mode and selecting the highlighted face, and indeed crashes as soon as we go out of Edit mode again.

Removing the Boolean modifier avoids the crash, then validating the mesh after going into editmode, selecting, and going back to objectmode ( in py console) shows again same invalid selection stack error.

@Campbell Barton (campbellbarton) will let you investigate further here.

Marco (nacioss) closed this task as Resolved.

It is working in 2.8 build of 2019-05-13