Sculpting with multiresolution modifier in 4.1 crashes #120187
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#120187
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 11
Graphics card: Nvidia RTX 3060 with latest drivers
Blender Version
Broken: Blender 4.1
Worked: Blender 4
Whenever I try to sculpt with multiresolution modifier on an object at about 8 million polygons or above in 4.1 it crashes every time. Still works just fine in Blender 4.
Step 1: Add multiresolution modifier to object.
Step 2: Subdivide several times so you get to around 8 million or so polygons.
Step 3: Sculpt for about 30 seconds to a minute and it will crash.
Tried it on a second computer with Windows 10 and Nvidia RTX 3050 and had same issue in 4.1
Can you check the latest official release, or the latest daily build?
Please try the latest daily build: https://builder.blender.org/download/
I was able to confirm some crashes in development versions of 4.1, but not in the last one.
Which object would be best to replicate the issue? (Cube, Monkey...)
How many subdivisions did you test? (6, 7)
Tried today's latest build and still does it when I get to level 6. Tried it on sphere and multiple custom models on two different computers. If I go back to blender 4 I don't have the problem and everything works great.
Hi @Mike-Roberts-2 Any chance you could get us the crash log?
On my machine (debug build) simply by subdividing the multires level to 6 will cause a crash in sculpt mode. For me it crashed in
create_index_grids
whereargs.grid_indices
has a_size
of 0. Not sure if that's the exact problem you are havingWill mark this as Confirmed, Looks to me that at least
40a5e739e2
is running correctly.Will bisect.Apparently I can't reproduce now on latest8252208955
... Could you guys try latest build and see again?Just noting something similar has been reported in #120080
@ChengduLittleA : can you repro tat as well?
@lichtwerk Nope in latest main I can't make sculpt+multires it to really crash even at ~8 million polys. Are you able to reproduce?
#120080 (comment)
Still unable to crash it in windows using 4.1 or 4.2... Tried extensive sculpting and also the randomize option. 🤔
Here's the system info I have on windows:
After absentmindedly sculpting a sphere with multiresolution subdivided 6 times for a few minutes, I witnessed the crash in Blender 4.1
I tried to replicate with a 4.1 debug build, but as soon as I entered sculpt mode with the sphere, I came across 5 asserts launched simultaneously:
(Reminds me of #120179 which was recently fixed... cc. @HooglyBoogly ).
So I tested it with a debug build of main (assert resolved) and after 6 minutes of sculpting I had the crash:
Visual Studio ended up crashing too, so I couldn't copy the call stack, but I remember it was something in sculpt's UNDO system.
It appears to be a problem where Blender runs out of memory.
It seems like something really difficult to bisect...
While bisecting, I was able to identify a pattern.
In bad commits, performance is greatly affected.
So, it was easy to identify which commits were bad and which were good, just checking the lag.
The commit causing the issue is
4b427e1b57
@HooglyBoogly ^
This is the call_stack:
This is the line when it crashed:
Sounds like you might have figured it out but ran blender debug log anyway on most recent build I could download. Hopefully these can help.
Thanks a lot for the investigation @mano-wii, that saved me a lot of time.
When will the fix be available?
Tried todays build and so far no problems with it crashing while sculpting at level 6. I even tried it at level 7 and it seemed to be fine.
Hi! This bug still exists in the Steam version.
Currently the plan is to release 4.1.1 on April 16. There's more info here: #119631
Thank you for the info!