Blender crashes as adding geometry nodes #119589
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#119589
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: macOS-14.1-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M1 Pro 1.2
Blender Version
Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash:
9be62e85b727
Worked: (newest version of Blender that worked as expected)
Short description of error
Blender crashes as adding and editing geometry nodes to rotate floating particles behind the object (donut). Nodes such as Rotate Euler, Instances on Points, Random Value
Exact steps for others to reproduce the error
Add geometry nodes exactly like on my screenshot and then play the animation. Blender crashes when I press 'space' or edit numbers in nodes
I can confirm this issue. I tried testing with a debug build, but I couldn't pick out much useful information due to my lack of knowledge of this area of code.
System Information
Operating system: macOS-14.2.1-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M1 Pro 1.2
Blender version: 4.2.0 Alpha, branch: main (modified), commit date: 2024-03-17 06:25, hash:
2de84a77acdc
I can not confirm crash, but i can see dependency cycle and non-loaded texture.
Can you check if this is fixed in blender 4.1 or check if fix of dependency cycle will fix crash?
Can confirm, cannot build atm. to debug.
4.1 and 3.6.10 also crash.
Linux seems fine.
Will raise priority here since this is a crasher.
CC @Michael-Parkin-White-Apple
Thank you, you helped a lot
Hm, dependency cycles can lead to unwanted behavior, however i assume the crash should still be sorted out
@lichtwerk Idk how to read stack you send in message above, but does this Nodes & Physics regression?
3.6 LTS also crashes
@lichtwerk I means, it is geometry nodes bug or eevee-gpu one?
Can someone provide more precise reproduction steps?
The steps I've used to reproduce the crash is as follows:
So far testing points to this being a Mac specific issue. A further simplified file, and/or steps other than "Open the file and Play back the animation" would be nice, and I'll see if I can get that information for you later today.
Thanks. In this case I don't know how to debug this unfortunately. The backtrace is too generic. Maybe it would help to get the backtrace from all threads. Or alternatively, you could start Blender with
-t 1
. Maybe that results in a better backtrace.Some updates:
-t 1
). Maybe it can be reproduced but I didn't find it due to the inconsistent behaviour described in point 1.Here is a full stack trace for a crash in Blender 4.2 Alpha (The cause for this crash seems to be different from the one see by @lichtwerk in a previous message):
Mac - Donut.crash.txt
I'm sorry I didn't save the stack trace from my Xcode debugging sessions the first time round (specifically the cstring one as this seems like it might be the one @lichtwerk experienced). And I'm having a really hard time reproducing them (see point 1 above), so I only have one of them I can share:
Mac - Blender Assert Back Trace.txt
And here's the one crash I experienced on Windows with Blender 4.2 Alpha:
Windows - Donut.crash.txt
I tried looking into simplifying the file, but it just made reproducing the issue more unreliable. Explanation of steps I tried for simplifying the file:
- Due to the difficultly of reproducing a crash with this setup, it became harder for me to simplify the file further, so I stopped simplifying there.
I'm sorry there's not much else I can contribute here. The inconsistent behaviour of the crashing, and my lack of knowledge in this area of code makes it hard for me to do much more than what's detailed here.
Thanks, it seems there is data race.
I can not reproduce this in regular build, but can in debug build. Data race for collection geometry in Collection Info output.
I am not able to build visualization of dependency graph of example file.
Can someone confirm that the crash is still happening? I couldn't reproduce it myself in either linux or windows and when looking at Mac - Blender Assert Back Trace.txt I saw that the code have being updated in couple of places.
Want to make sure this is still a problem before look into it farther.
take a look at the "Sprinkle" object. it seems that there is the same geonodes modifier on it. but the object "Sprinkle" is used into the same geonodes with the instanced collection "Sprinkles".
So probably this can cause some cycle that brings it to crash.
I tried to delete the geonodes modifier on "Sprinkle" object and blender doesn't crash anymore.
Yes, there is data race, one geometry in collection is modified from thread of dependency graph cow-copy and from another one thread geometry nodes do tooltip logging (referenc count..).
This is more UB with crash rather than actual bug.
I can reproduce assert on attempt to read empty span in yesterday 4.2 debug build.