Page MenuHome

Seg fault crash with various edit functions
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Linux-5.10.55-1-MANJARO-x86_64-with-glibc2.33 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 21.1.6

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-08-08 20:09, hash: rB4c26bb02327f
Worked: An older daily build from about a week ago, also 2.93
Caused by rB647a8bff06bf: Fix T90256: faces are flat shaded in edit mode with auto smooth

Short description of error
Newest Blender master daily build immediately crashes when trying to edit the attached test mesh. Also the shading on it in edit mode appears broken. None of these problems are present in Blender 2.93 from distro repo.

Exact steps for others to reproduce the error

  1. Open the attached Blend-file edit crash 1.blend
  2. In edit mode, select 2 or more vertices on the mesh
  3. Press J to connect them through an edge

Alternatively:

  1. In edit mode, select all vertices / faces
  2. Use Mesh > Normals > Flip

Alternatively also:

  1. Import the attached OBJ-file edit crash 1.obj into a new document
  2. Apply the same editing steps

Additional info
The problematic mesh was extracted from a bigger document, but even after appending only the mesh data or exporting it as OBJ or FBX, importing and saving into a new document all through Blender 2.93, the crash is still reproducible in 3.0. Strangely, I'm not able to reproduce a crash or the shading issues if I start from a new document and edit a cube or poly plane into the same shape.

I disabled all add-ons that could have interfered, tried the Cycles-X branch build from yesterday and ran Blender both on the integrated and on the dedicated GPU through prime-run on this laptop, but the outcome is always the same.

The generated crash log is also attached.

Event Timeline

M (Snudl) created this task.Aug 9 2021, 7:10 AM

Thanks for creating a separate report.

Notes for those who is watching this issue for the first time.

Campbell Barton (campbellbarton) changed the task status from Needs Triage to Confirmed.Aug 9 2021, 8:36 AM
Campbell Barton (campbellbarton) triaged this task as High priority.
Campbell Barton (campbellbarton) changed the subtype of this task from "Report" to "Bug".

I've got a fix for this, updating comments and checking other bugs in this area before committing.