Page MenuHome

Custom Normal Data Transfer Crashes when some vertexes have no faces
Closed, ResolvedPublic

Description

System Information
Windows 10 x64, nVidia GEForce 650m

Blender Version
Broken: 2.79 d697e3d
Worked: (optional)

The data transfer modifier can cause blender to segfault if the source mesh has some vertices without a face, due to either deletion or mask modifier

Exact steps for others to reproduce the error

  1. Open the attached blend file. it opens in edit mode on the data transfer source mesh
  2. Either delete the selected vertex, or remove it from the "hide1" vertex group, which is part of a mask modifier
  3. Press tab to exit edit mode. Blender immediately crashes

Event Timeline

Tapple Gao (tapple) updated the task description. (Show Details)
Tapple Gao (tapple) updated the task description. (Show Details)

I can't reproduce crash on ubuntu 16.04 with master 40c8a18 and 2.79 with provided .blend file.

Bastien Montagne (mont29) claimed this task.
Bastien Montagne (mont29) triaged this task as Confirmed, Medium priority.

Crash confirmed here with an ASAN debug build (@ronan ducluzeau (zeauro) release builds on Linux are tremendously resilient to small invalid memory accesses for some reasons, unlike on Windows… But Linux debug builds with ASAN enabled do spot any illegal access. ;) ).