Crash after undo "Mask slice to new object" #87243
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
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
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#87243
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.19041-SP0 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.92
Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash:
02948a2cab
Worked: This problem happens to me with 2.92, the pc that I use now I formatted it, unfortunately before I used version 2.82
Short description of error
My problem is that when I use the option "mask slice to new object" and then I use ctrl + Z the blender closes !! I formatted the PC a few weeks ago, unfortunately I didn't use version 2.92 before. What I realized is that when I use the "mask slice to new object" option and then go to edit mode, I can use control + Z without any problem, that is, it does not close.]
Exact steps for others to reproduce the error
This happens to me in any file:
2.Use the "mask" or "box mask" brushes
4.I go to the "MASK" menu.
Added subscriber: @Boeta
#94449 was marked as duplicate of this issue
Added subscriber: @TheRedWaxPolice
I can confirm the crash, but only after pressing Ctrl + Z a second time (or more...).
Yes, it closes me with the third ctrl + z, that is to say that I cannot return to the moment I painted the mask.
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Confirmed'
I can confirm the crash after 3 undo steps.
In addition to the visual glitch reported in #81726 (Bug when opening a file in sculpt mode, making N strokes, and undoing N times)
Crash log:
Added subscriber: @mont29
There is a lot to say about the
MESH_OT_paint_mask_slice
code... for a starter, it triggers an assert (mesh.c:1035
,BKE_mesh_copy_parameters_for_eval(), at 'me_dst->id.tag & (LIB_TAG_NO_MAIN | LIB_TAG_COPIED_ON_WRITE)'
), and from a quick look it seems to be doing fairly un-efficient things with multiple copies of the mesh, if not fully illegal stuff.My bet would be it also misses some depsgraph update flags, but hard to tell for sure.
This is responsibility of the #sculpt_paint_texture module, and this code should be sanitized before 3.0 release, so raising the priority.
Added subscriber: @JosephEagar
@JosephEagar maybe you'd be interested in having a look at this one?
Actually, this code has been in Blender for two years already (sigh!!!), so down-grading severity related to 3.0 release since this is not a regression. But it should really be addressed none the less.
Added subscribers: @carlosmu, @PratikPB2123
@mont29 , can we remove 3.0.0 tag? Report doesn't look correct in present state.
Yes indeed... Will keep the priority to high though, since this is a fairly severe bug & usability issue, albeit in a limited area.
Added subscriber: @JulienKaspar
This has been an issue for a while so I'll lower the priority. @JosephEagar will look into the issue further.
Problem with the mask option "mask slice to new object"to Crash after undo "Mask slice to new object"blender 3.6.1LTS had the same issue. I test it in two computer configuration,one with cpu i7-4790,gpu 1060,ddr3 ram 32G ;other one with cpu i9-12900KF, gpu 3080ti, ddr4 ram 64G . Both computer have undo clash issue.