Regression: Vertex Weight Mix crash on apply/undo when mesh has shape keys #109523
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#109523
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.41
Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-09 22:58, hash:
rB352d55b1c887
Worked: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-09 00:25, hash:
rB81558783e403
Short description of error
I'm getting a crash in a community addon when it applies a Vertex Weight Mix modifier to a mesh with shape keys.
No crash occurs with the addon when running Blender with
--debug-memory
, instead a lot ofMemoryblock add_shapekey_layers: double free
andMemoryblock free: pointer not in memlist
are printed to the system console.I have been unable to reproduce the exact scenario present in the addon in isolation, whereby a crash occurs when applying the modifier, but does not crash when
--debug-memory
is used. However, I have managed to produce similar crashes with Vertex Weight Mix that I'm guessing are related.Exact steps for others to reproduce the error
Crash applying modifier (seems to always crash even with
--debug-memory
)Crash on undo unless
--debug-memory
is used:--debug-memory
, this also seems to make the mesh invisible unless the shape keys are removed--debug-memory
, otherwiseMemoryblock free: pointer not in memlist
is printed once to the System Console. Nothing is printed to the System console if not using--debug-memory
.Crash on entering Edit mode after applying modifier (sometimes doesn't crash with
--debug-memory
):--debug-memory
, this also seems to make the mesh invisible unless the shape keys are removedCan confirm in last 4.0 debug build from scratch
Assertion failed: alignment < 1024, file F:\Blender_build\first\blender\intern\guardedalloc\intern\mallocn_lockfree_impl.c, line 290
Vertex Weight Mix crash on apply/undo when mesh has shape keysto Regression: Vertex Weight Mix crash on apply/undo when mesh has shape keysPotentially caused by
21f2bacad9
@HooglyBoogly
Hmm, I see you've modified the report body to specify 3.4.0a broken and working versions, though I don't get a crash with any of the three sets of reproduction steps on Blender 3.3.8, 3.4.0, 3.4.1 or 3.5.1.
Yes, I have a folder of 300 blender versions from the last 5-6 years, and going through them, I found what was crashing for me. Not sure if there are any reasons why this result might be inaccurate.
@Mysteryem Here is my simplest example