Regression: Crash When Appending Items and Editing Expressions #97710
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#97710
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: GeForce 9600 GT/PCIe/SSE2 NVIDIA Corporation 3.3.0
Blender Version
Broken: version: 3.1.2, 3.2
d3b1cce400
Worked: 3.0.1,
52be063012
Short description of error
The attached .blend file is a stripped down and decimated version of a face rig, and curiously the more it's stripped down, the harder it is to get it to crash (hence the file is not as reduced or as clean as I'd like). The issue has been traced to drivers in the Math nodes, which are located inside the Wrinkles node group in the "Head" material.
Several users have reported these crashes; one was able to fix it by enabling GPU Subdivision, and another was able to provide a screenshot (seeing as they're getting an error message instead of a crash):
The crashes and error messages are not present in 2.79 up to 3.0.1. Additionally, the original file frequently crashes when moving the face controls, one of which is still present in the demo file (but doesn't seem to cause crashes on its own).
Exact steps for others to reproduce the error
Alternatively:
Driver Crash.blend
Added subscriber: @ChrisJones
Added subscriber: @mano-wii
Do you mean append something from some other file? I did this but I can't replicate the problem.
Yes appending objects usually makes it crash for me, although it is intermittent to some degree. You may need to try appending a few things one after another, or load something else, close and reopen and try again. The original file, which has a much bigger node network, almost always crashes. As mentioned though, you may get a driver error message instead.
Whether or not it recently crashed or produced an error also seems to have an influence on whether it will repeat the same behaviour. For example, if it crashes, it's more likely it will keep crashing until some nodes are removed, then it's unlikely to crash the next time the scene is loaded. Furthermore, if it doesn't crash, then I undo back to the original state, it's unlikely to crash. All of this makes it extremely difficult to reproduce the problem in a simple file.
Does anything happen if you click in the expression field and press enter?
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Confirmed'
I can reproduce the crash
Tested on release builds only. This has been introduced between
52be063012
-d3b1cce400
I'll find the exact commit later which has caused this crash
Raising the priority for now since this looks like a regression. Feel free to revert
Also getting this warning in console
ERROR (bke.fcurve): C:\Users\blender\git\blender-vdev\blender.git\source\blender\blenkernel\intern\fcurve_driver.c:115 dtar_get_prop_val: Driver Evaluation Error: cannot resolve target for OBBody -> data.shape_keys.key_blocks["Mouth Push L"].value
Crash When Appending Items and Editing Expressionsto Regression: Crash When Appending Items and Editing ExpressionsAdded subscriber: @dr.sybren
This comment was removed by @dr.sybren
I can reproduce the crash by editing the driver, but not with the "appending method".
A debug build with ASAN enabled already crashes on older versions, I just tested with
675f38ac
(which is a day older than52be063012
).I don't get that one, though.
Changed status from 'Confirmed' to: 'Archived'
The crash is caused by drivers that point to a different datablock in the Python expression. The driver targets the Object, but the expression uses
data.shape_keys.…
, meaning it accesses the Mesh. This isn't understood properly by the dependency graph, causing the driver evaluation to run at the same time as the mesh evaluation, which causes the crash.Change the driver variable so that it targets the Mesh "Human Body", then remove the
data.
from the Python expression. That resolves this issue.This is not a regression, by the way, but something that was a side-effect of the "new" dependency graph introduced in Blender 2.80.
Closed as duplicate of #96289