Undefined Geometry nodes cause a crash when connected to a Group Output node #89004
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#89004
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-5.8.0-55-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: Quadro K1000M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.143
Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash:
84da05a8b8
Worked: Also crashes in 2.92
Short description of error
Undefined geometry nodes cause a crash when they are plugged into a Group Output node, either indirectly or directly.
Exact steps for others to reproduce the error
To produce an Undefined node, you can create a Material Assign node in Blender 3.0.0a.
The crash also occurs if you plug the Undefined node into something else, and then plug that node's geometry output into the Group Output node.
If the nodes were connected in the file, then Blender crashes immediately when you try to load it.
Stacktrace: crash-test.crash.txt
Test File:
crash-test.blend
Added subscriber: @chemicalcrux
#88685 was marked as duplicate of this issue
Added subscriber: @Zandman
Confirmed on macOS Big Sur M1 with the official 2.93.0 release.
So you're using a 3.0.0 feature in 2.93.0? Maybe that shouldn't be supported? I don't think Blender should crash, though. Maybe refuse to load the newer Blend.
It's not really a new feature; it's just a node that Blender doesn't know about. I would expect the same to happen after removing an add-on that introduced new nodes (not sure if that's possible though :p )
It already handles this by showing an Undefined node. It just needs to not crash when that node is connected to an output.
I see a commit that talks about preventing a crash with undefined nodes, so perhaps there was a regression?
https://developer.blender.org/rBSc5569ba140382015c32bd638532097ea05168607
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Not sure if this report will be considered as a bug or else. Better to wait for other developer's or triager's reply :)
I tested this out with a freshly-compiled copy of Blender by hex-editing the .blend file so that the node name was bogus. It does not crash. 2.93 crashes on the same file. You can try it out yourself here:
crash-test.blend
The geometry node modifier has gotten a significant rewrite between
blender-v2.93-release
and the currentmaster
, judging by a casual diffing.So, whatever the problem was is already gone from 3.0.0, but it's still alive in 2.9.3. Since I'm not really aware of people hot-swapping geometry nodes, this might be minor enough to just ignore (:
Added subscribers: @Jeroen-Bakker, @JacquesLucke
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
@Jeroen-Bakker here is a relatively straight forward patch that fixes this in
blender-v2.93-release
: P2167. It just disables geometry nodes when there are undefined nodes or sockets. While I want to commit the changes that are not inMOD_nodes.cc
inmaster
as well, the fix is not necessary there. The new evaluator in master should handle this case more gracefully. Can you commit this in the release branch or should I do it?Just FYI, the problem here is not actually that there is an undefined node, but that there is an undefined socket type (the material socket).
Ah, good catch. I didn't think of that. Thanks for having a look!
Added subscribers: @Vyach, @CreatorSiSo, @lichtwerk
This issue was referenced by
7573e45103
Changed status from 'Confirmed' to: 'Resolved'