Mesh to Volume crash on small geometry #105623
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#105623
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.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.24
Blender Version
Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash:
rB55485cb379f7
Short description of error
In some cases with small geometries, the
Mesh to Volume
node ends up consuming a lot of memory and resulting in a crash.This was identified when running the background rendering script for the attached production file.
With the production file, on the 23rd frame (Every time), I got the crash. It does it from the command line OR from the software itself. From the command line, it shows me the information for the last frame (23), then goes into the error message. I copied it below, and the .crash.txt file is attached.
Exact steps for others to reproduce the error
0.8
Steps for the production file
The .Blend file refers to the attached .CSV file. To run it, you just have to change the folder in the script to wherever you saved the .csv file. I used this command to run it from command line, or just run the script to start the rendering.
"c:\Program Files\Blender Foundation\Blender 3.4\blender.exe" -b "S:\Phys\NeuroMito 823 03b.blend" --python-exit-code 1 --python-text "Render01"
Thank you as always for your work on this amazing program. I am sure it is something about the way I am using geometry nodes or scripting that is causing this.
Crash > Error : UNKNOWN EXCEPTION, Address : 0x00007FFF45F2FE7C, Module : KERNELBASE.dllto Crash in KERNELBASE.dll on executing python scriptThanks for the report, but while I can reproduce the crash, the file is still too complex to forward to the developers.
A scenario like this is too time consuming for us to track down, we require the bug reporter to narrow down the problem.
I could notice a high consumption of memory, leading to the crash, but I couldn't identify what caused it.
Can you simplify the file, the script and the steps?
Normally .blend files can be simplified by removing most objects and disabling settings, until the problem reveals itself more clearly.
Got it, I will simplify, see if it re-occurs, then send again. Thank you!
Ok, I have drastically simplified (no more script and way less geo nodes and objects), and got it down to a particular pair of values that cause the crash. Now, instead of giving me the Kernell error message, it silently crashes which involves 100% CPU and 100% Memory usage (also crashing the entire computer if you let it build up, but you can shut it down within a few seconds and are the OK).
To reproduce the crash, simply plug in the Mesh to Volume node to the Group Output. Changing the values away from their current pair (27, -0.01) will allow you to connect the geometry without crash. Other values will also crash, these were just the first ones in my sequence to do it. The node tree makes less sense now, and doesn't do anything useful, but it was simplified from the original to try and track it down to something that would give the crash as requested.
It seems that this combination of numbers puts piece of the code into an endless loop that is also filling up memory using all the threads (CPU= 100%).
Thanks for looking into this!
Thanks for simplifying the file, I can confirm the high memory consumption that leads to the crash.
But the Node Group in the .blend file still seems to be overly complex.
The triage team needs to analyze the file to find out if it really is a bug, or if the modifier is forcibly generating heavy geometry that exceeds the memory limits of the hardware. (In this case this is not considered a bug).
I am analyzing the file to try to confirm the bug...
The reason I think it may be a bug is because of slightly changing the input values (even in ways which INREASE the heavy geometry) remove the issue. There is no problem at all with slightly different values, but this set of values (as an example) suddenly cause the crash.
I managed to simplify the file.
Apparently the
Mesh to Volume
node seems to crash with some small meshes.I'm not familiar enough to determine if this is a bug. In my opinion "open meshes" don't seem like they should be used on this node.
But I will edit the report description and confirm the issue.
Crash in KERNELBASE.dll on executing python scriptto Mesh to Volume crash on small geometry