Crash when baking normals with Cycles from object with dupli children #54133

Closed
opened 2018-02-22 18:40:53 +01:00 by Susanne H. · 8 comments

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

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

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.

dupli-bake-normal.blend
dupli-bake-normal.crash.txt

**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. [dupli-bake-normal.blend](https://archive.blender.org/developer/F2341474/dupli-bake-normal.blend) [dupli-bake-normal.crash.txt](https://archive.blender.org/developer/F2341475/dupli-bake-normal.crash.txt)
Author

Added subscriber: @sanne

Added subscriber: @sanne
Susanne H. changed title from Crash when baking normals from object with dupli children to Crash when baking normals with Cycles from object with dupli children 2018-02-26 17:02:06 +01:00
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

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

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

Added subscriber: @dfelinto

Added subscriber: @dfelinto

This can be isolated to P665.

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

This can be isolated to [P665](https://archive.blender.org/developer/P665.txt). Basically in the example file, the `PlaneDupli` object is not found in `scene->objects`.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

I cannot reproduce the crash anymore, so that seems to be resolved.

But they are not really baking correctly [in that: resulting bake will be a blank image...].
This however seems to be the same as #43553 (Cycles dupli object baking issues)

@sanne : if you are still getting crashes, please comment again and we can always reopen in that case... as a workaround, making the instances real, selecting all of them and baking is working correctly...
Will merge this into #43553 then...

I cannot reproduce the crash anymore, so that seems to be resolved. But they are not really baking correctly [in that: resulting bake will be a blank image...]. This however seems to be the same as #43553 (Cycles dupli object baking issues) @sanne : if you are still getting crashes, please comment again and we can always reopen in that case... as a workaround, making the instances real, selecting all of them and baking is working correctly... Will merge this into #43553 then...
Member

Closed as duplicate of #43553

Closed as duplicate of #43553
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#54133
No description provided.