Mesh deform binding crashes blender. #87446

Closed
opened 2021-04-13 02:43:19 +02:00 by Paul · 12 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab
Worked: Not applicable. Have not found any versions that do. I think, when I had 2.83 installed the first time, that it worked there.

Short description of error
Blender takes slightly longer than expected when binding mesh at precision 5, and then at precision 7 it freezes before eventually crashing. This error was only noticed recently and objects that existed in the file previously can be unbound and bound again without issue. Mesh complexity does not appear to be a factor as complex meshes from before I noticed work and meshes as simple as two cubes afterward do not.

Exact steps for others to reproduce the error
From the default file, duplicate the cube or otherwise add another mesh. With all transformations applied, attempt to use one as the mesh deform cage for the other. Upon pressing bind at precision 7, blender will freeze and eventually crash.

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89 **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` Worked: Not applicable. Have not found any versions that do. I think, when I had 2.83 installed the first time, that it worked there. **Short description of error** Blender takes slightly longer than expected when binding mesh at precision 5, and then at precision 7 it freezes before eventually crashing. This error was only noticed recently and objects that existed in the file previously can be unbound and bound again without issue. Mesh complexity does not appear to be a factor as complex meshes from before I noticed work and meshes as simple as two cubes afterward do not. **Exact steps for others to reproduce the error** From the default file, duplicate the cube or otherwise add another mesh. With all transformations applied, attempt to use one as the mesh deform cage for the other. Upon pressing bind at precision 7, blender will freeze and eventually crash.
Author

Added subscriber: @Daylight

Added subscriber: @Daylight
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

You are likely running out of memory. Usual policy regarding that is as follows:

Thanks for the report. It appears this crashes because Blender ran out of memory.
While we want to improve Blender to handle such cases memory gracefully, this is not currently considered a bug.

I think, when I had 2.83 installed the first time, that it worked there

Please verify this (you can still get 2.83 at https://download.blender.org/release/) and report back if this is indeed a regression.

You are likely running out of memory. Usual policy regarding that is as follows: ``` Thanks for the report. It appears this crashes because Blender ran out of memory. While we want to improve Blender to handle such cases memory gracefully, this is not currently considered a bug. ``` > I think, when I had 2.83 installed the first time, that it worked there Please verify this (you can still get 2.83 at https://download.blender.org/release/) and report back if this is indeed a regression.
Author

Yes, it appears to be the case that it is somehow running out of memory, thank you.

In 2.83.0, the binding process of two cubes at precision 7 takes about half an hour and gradually increases memory usage up to something like 29GB. When it eventually maxes out it stays like this for about three minutes and then it appears to have worked except the bound mesh does not actually move.

In 2.92.0, with preexisting meshes at ~13,000 vertices for the main and ~1,000 for the deform object, blender uses about 1.25 GB for no more than three minutes before the mesh binds successfully.

The fact that it doesn't work now but did before suggests that it's something that changed on my computer and not a blender issue so I should work there. I understand if you have other things to do but do you have any last advice on where I should be looking for why it's using inexplicably high amounts of memory all of a sudden?

Yes, it appears to be the case that it is somehow running out of memory, thank you. In 2.83.0, the binding process of two cubes at precision 7 takes about half an hour and gradually increases memory usage up to something like 29GB. When it eventually maxes out it stays like this for about three minutes and then it appears to have worked except the bound mesh does not actually move. In 2.92.0, with preexisting meshes at ~13,000 vertices for the main and ~1,000 for the deform object, blender uses about 1.25 GB for no more than three minutes before the mesh binds successfully. The fact that it doesn't work now but did before suggests that it's something that changed on my computer and not a blender issue so I should work there. I understand if you have other things to do but do you have any last advice on where I should be looking for why it's using inexplicably high amounts of memory all of a sudden?
Member

In 2.83.0, the binding process of two cubes at precision...

You mean 2.93? (because otherwise the step from 2.83 to 2.92 would seem like an improvement rather than regression?)

> In 2.83.0, the binding process of two cubes at precision... You mean 2.93? (because otherwise the step from 2.83 to 2.92 would seem like an improvement rather than regression?)
Author

No, I mean 2.83. I went back to that version to see if it worked, and while it does not, it does not crash either.

In 2.92 the same attempt at binding with two new cube objects also sucks up memory and eventually causes blender to crash. I am not sure why older meshes work perfectly fine.

No, I mean 2.83. I went back to that version to see if it worked, and while it does not, it does not crash either. In 2.92 the same attempt at binding with two new cube objects also sucks up memory and eventually causes blender to crash. I am not sure why older meshes work perfectly fine.
Author

Updated further with further testing. Apologies for the repetitions.

Version 2.83.0: Two new cube objects bound at precision 7 maxes out memory eventually and freezes up for a few minutes, and then returns to functionality. The binding does not work but blender does not crash.

Version 2.92.0: Two new cube objects bound at precision 7 maxes out memory eventually, freezes up, and then blender crashes.

Version 2.92.0: Old mesh deform cage and old bound object bind successfully at precision 7 in three minutes, maxing out at 1.25 GB of memory.

Version 2.92.0: Old mesh deform cage and new bound object bind successfully at precision 7 in three minutes.

Version 2.93.0 Alpha: Two new cube objects bound at precision 7 maxes out memory and freezes things up. Blender eventually crashes.

Version 2.93.0 Alpha: Old mesh deform cage and old mesh deform object bind successfully at precision 7 after two or three minutes. 1.29 GB memory used instead of 1.25.

Updated further with further testing. Apologies for the repetitions. Version 2.83.0: Two new cube objects bound at precision 7 maxes out memory eventually and freezes up for a few minutes, and then returns to functionality. The binding does not work but blender does not crash. Version 2.92.0: Two new cube objects bound at precision 7 maxes out memory eventually, freezes up, and then blender crashes. Version 2.92.0: Old mesh deform cage and old bound object bind successfully at precision 7 in three minutes, maxing out at 1.25 GB of memory. Version 2.92.0: Old mesh deform cage and new bound object bind successfully at precision 7 in three minutes. Version 2.93.0 Alpha: Two new cube objects bound at precision 7 maxes out memory and freezes things up. Blender eventually crashes. Version 2.93.0 Alpha: Old mesh deform cage and old mesh deform object bind successfully at precision 7 after two or three minutes. 1.29 GB memory used instead of 1.25.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please report with the required information.
Sign in to join this conversation.
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
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#87446
No description provided.