Regression: Blender crashes when turning on a pass that has equally named AOV pass already #111166

Closed
opened 2023-08-16 09:34:49 +02:00 by Omar · 4 comments

System Information
Operating system: Linux-5.19.0-43-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.105.01

Blender Version
Broken: version: 3.6.1, branch: blender-v3.6-release, commit date: 2023-07-17 12:50, hash: 8bda729ef4dc
Broken: 3.1
Worked: 3.0

Issues started with fdc4a1a590.

Short description of error
Blender crashes when turning on a pass that has equally named AOV pass already.

Exact steps for others to reproduce the error

  • open 111166.blend (two AOVs here called foo and bar)
  • at this stage, any pass can be enabled
  • rename foo to AO
  • (reconnect AO to the Mix node -- this step is not needed to cause the crash in current main, but in 3.1)
  • enable the AO pass in View Layer passes
  • crash

Orginal report

  • Open 3745321_autosave.blend.
  • Turn on Ambient Occlusion in the passes.
  • Blender crashes.
**System Information** Operating system: Linux-5.19.0-43-generic-x86_64-with-glibc2.35 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 515.105.01 **Blender Version** Broken: version: 3.6.1, branch: blender-v3.6-release, commit date: 2023-07-17 12:50, hash: `8bda729ef4dc` Broken: 3.1 Worked: 3.0 Issues started with fdc4a1a590d8befb1ff9ab1de3f02d82aa46d539. **Short description of error** Blender crashes when turning on a pass that has equally named AOV pass already. **Exact steps for others to reproduce the error** - open `111166.blend` (two AOVs here called `foo` and `bar`) - at this stage, any pass can be enabled - rename `foo` to `AO` - (reconnect AO to the Mix node -- this step is not needed to cause the crash in current main, but in 3.1) - enable the AO pass in View Layer passes - crash **Orginal report** - Open `3745321_autosave.blend`. - Turn on Ambient Occlusion in the passes. - Blender crashes.
Omar added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2023-08-16 09:34:50 +02:00
Member

Can confirm. 3.6.1 and 4.0 both crashes.

Crashed at source/blender/blenkernel/intern/node.cc line 174, inside ntree_copy_data, was called from DEG_evaluate_on_refresh in scene_graph_update_tagged.

Can confirm. 3.6.1 and 4.0 both crashes. Crashed at `source/blender/blenkernel/intern/node.cc` line 174, inside `ntree_copy_data`, was called from `DEG_evaluate_on_refresh` in `scene_graph_update_tagged`.
YimingWu added the
Interest
Dependency Graph
label 2023-08-16 10:44:57 +02:00
Member

This is caused by AOVs having the same name as an existing pass (could happen with other passes, too, not just AO).

Here is a simpler case:

  • open .blend (two AOVs here called foo and bar)
  • at this stage, any pass can be enabled
  • rename foo to AO
  • (reconnect AO to the Mix node -- this step is not needed to cause the crash in current main, but in 3.1)
  • enable the AO pass in View Layer passes
  • crash

Will check on this.

This is caused by AOVs having the same name as an existing pass (could happen with other passes, too, not just AO). Here is a simpler case: - open .blend (two AOVs here called `foo` and `bar`) - at this stage, any pass can be enabled - rename `foo` to `AO` - (reconnect AO to the Mix node -- this step is not needed to cause the crash in current main, but in 3.1) - enable the AO pass in View Layer passes - crash Will check on this.
Member

Issues started with fdc4a1a590.
(might have gotten worse since, since now you dont even have to reconnect the AOV -- see repro steps)

CC @HooglyBoogly
CC @JacquesLucke

Issues started with fdc4a1a590d8befb1ff9ab1de3f02d82aa46d539. (might have gotten worse since, since now you dont even have to reconnect the AOV -- see repro steps) CC @HooglyBoogly CC @JacquesLucke
Philipp Oeser changed title from Blender Crashes When Turning On Ambient Occlusion Pass to Blender crashes when turning on a pass that has equally named AOV pass already 2023-08-16 12:58:25 +02:00
Philipp Oeser changed title from Blender crashes when turning on a pass that has equally named AOV pass already to Regression: Blender crashes when turning on a pass that has equally named AOV pass already 2023-08-16 13:00:26 +02:00
Philipp Oeser added the
Interest
Render & Cycles
label 2023-08-16 13:00:34 +02:00
Iliya Katushenock added
Type
Bug
and removed
Type
Report
labels 2023-08-16 13:33:44 +02:00
Iliya Katushenock self-assigned this 2023-08-16 13:33:48 +02:00
Iliya Katushenock added
Priority
High
and removed
Priority
Normal
labels 2023-08-16 13:33:54 +02:00
Iliya Katushenock added this to the 3.6 LTS milestone 2023-08-16 13:33:59 +02:00
Iliya Katushenock removed their assignment 2023-08-16 13:37:04 +02:00

The best fix would be to make the fix part of #108728

The best fix would be to make the fix part of https://projects.blender.org/blender/blender/issues/108728
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-09-14 11:31:46 +02:00
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#111166
No description provided.