Page MenuHome

Crash when baking normals with Cycles from object with dupli children
Open, Confirmed, MediumPublic


System Information
OS: Arch Linux
GPU: Nvidia GeForce GT 220

Blender Version
Broken: buildbot version 2.79.2, Date: 2018-02-21, Hash: 5d5c6bb5efe
Doesn't crash, but doesn't bake either: release 2.79, Date 2017-09-11, Hash: 5bd8ac9abfa

Short description of error
Trying to bake a normalmap with Cycles from a plane with duplicated children to another uv-unwrapped plane crashes Blender.

Exact steps for others to reproduce the error
Open attached blend file:

  • Selected: PlaneDupli, has a child DupliObject that is duplicated on the plane's faces
  • Active: PlaneBake, is uv-unwrapped and has a material with selected image texture to bake to

Hit bake:
Blender buildbot version segfaults and closes, see attached dupli-bake-normal.crash.txt.
Blender release 2.79 doesn't crash, but baked normal map is plain grey.



Event Timeline

Susanne H. (sanne) added a project: Cycles.
Susanne H. (sanne) renamed this task from Crash when baking normals from object with dupli children to Crash when baking normals with Cycles from object with dupli children.
LazyDodo (LazyDodo) triaged this task as Confirmed, Medium priority.

can confirm on windows with latest master. looks like an out of bounds array access.

This can be isolated to P665.

Basically in the example file, the PlaneDupli object is not found in scene->objects.