Blender crashing when working in Compositor - for example deleting Cryptomatte nodes #86271

Closed
opened 2021-03-04 15:16:14 +01:00 by Andreas Resch · 20 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender crashes when working in Compositor. I was able to reproduce it by deleting Cryptomatte nodes. Sometimes I can delete them for a certain time, but after a while (when undoing the deleting and repeating it) at some point, when I delete the Cryptomatte node, Blender crashed. It also happened that when I saved such a file and wanted to open it again, Blender immediately crashed upon opening it - even in the latest 2.93 Alpha. I'm able to open such a file in Blender 2.91 though.

Exact steps for others to reproduce the error
See above. I can basically reproduce it by repeatedly deleting Cryptomatte nodes. If it has to do with those nodes in particular - I can't tell. Sometimes those scenes, who are prone to crashing, can't be opened in 2.92 or 2.93 at all. Blender crashes during the opening process.

Here is such a file that immediately leads to crashing Blender when opening it.
Crash_01.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40 **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender crashes when working in Compositor. I was able to reproduce it by deleting Cryptomatte nodes. Sometimes I can delete them for a certain time, but after a while (when undoing the deleting and repeating it) at some point, when I delete the Cryptomatte node, Blender crashed. It also happened that when I saved such a file and wanted to open it again, Blender immediately crashed upon opening it - even in the latest 2.93 Alpha. I'm able to open such a file in Blender 2.91 though. **Exact steps for others to reproduce the error** See above. I can basically reproduce it by repeatedly deleting Cryptomatte nodes. If it has to do with those nodes in particular - I can't tell. Sometimes those scenes, who are prone to crashing, can't be opened in 2.92 or 2.93 at all. Blender crashes during the opening process. Here is such a file that immediately leads to crashing Blender when opening it. [Crash_01.blend](https://archive.blender.org/developer/F9866005/Crash_01.blend)
Author

Added subscriber: @AndreasResch

Added subscriber: @AndreasResch
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Confirmed [opening that file freezes for me], will check.

Confirmed [opening that file freezes for me], will check.
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

I am not able to confirm the crash by opening the file. Might already be fixed by something else?
@lichtwerk can you retry?

I am not able to confirm the crash by opening the file. Might already be fixed by something else? @lichtwerk can you retry?
Member

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'
Member

Have not hunted down the exact commit which solved it, but seems fine now.

@AndreasResch : this seems to be fixed, can you confirm?

Have not hunted down the exact commit which solved it, but seems fine now. @AndreasResch : this seems to be fixed, can you confirm?
Author

I have downloaded the latest 2.92.0 and 2.93.0 Alpha. The weird thing is, that it works in 2.92.0 when I start it from the command line (Windows 10) in debug mode, but still crashes when I start it through the Start menu (no debug mode). Works in Blender 2.93.0 - even from the Start menu.

I have downloaded the latest 2.92.0 and 2.93.0 Alpha. The weird thing is, that it works in 2.92.0 when I start it from the command line (Windows 10) in debug mode, but still crashes when I start it through the Start menu (no debug mode). Works in Blender 2.93.0 - even from the Start menu.
Member

@Jeroen-Bakker: is this something we would need for a corrective release? (otherwise this could be closed I think)

@Jeroen-Bakker: is this something we would need for a corrective release? (otherwise this could be closed I think)
Author

I tested the issue on my second PC (also Windows 10) under the current version of 2.92.0 and it also crashes. Again started from the Start Menu.

I tested the issue on my second PC (also Windows 10) under the current version of 2.92.0 and it also crashes. Again started from the Start Menu.
Member

@lichtwerk this is one for a corrective release. Think this could be related to undo that was changing the cryptomatte node.

@AndreasResch can you test with 2.92 when you disable undo?

@lichtwerk this is one for a corrective release. Think this could be related to undo that was changing the cryptomatte node. @AndreasResch can you test with 2.92 when you disable undo?
Author

Do you mean unchecking "Global Undo"? If so - yes, it still crashes.

Do you mean unchecking "Global Undo"? If so - yes, it still crashes.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

In #86271#1135163, @Jeroen-Bakker wrote:
@lichtwerk this is one for a corrective release. Think this could be related to undo that was changing the cryptomatte node.

@AndreasResch can you test with 2.92 when you disable undo?

@Jeroen-Bakker : is there anything more you need to know? Just add it to the list of a potential corrective release? (which I dont think is happening?)

> In #86271#1135163, @Jeroen-Bakker wrote: > @lichtwerk this is one for a corrective release. Think this could be related to undo that was changing the cryptomatte node. > > @AndreasResch can you test with 2.92 when you disable undo? @Jeroen-Bakker : is there anything more you need to know? Just add it to the list of a potential corrective release? (which I dont think is happening?)
Member

That is fine. The fix was to not delete the matte Id after loading a file. And always update the Id

That is fine. The fix was to not delete the matte Id after loading a file. And always update the Id

Added subscriber: @manzanilla

Added subscriber: @manzanilla

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Manuel Castilla self-assigned this 2021-10-23 21:59:56 +02:00

Cannot be reproduced in 2.93 or current master. I think this was fixed in cbf033c055

Cannot be reproduced in 2.93 or current master. I think this was fixed in cbf033c055
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
5 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#86271
No description provided.