Crash with curve brush in sculpt mode #84739
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#84739
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: win 10
Graphics card: rtx 2080ti
Caused by
a584aef470
Blender Version
Broken:
04572f0899
719bea0d6d
61f1faac3f
5424b4821d
Worked:
2.92.0 Alpha, branch: master, commit date: 2021-01-05 20:21, hash:5424b4821d
wm_event_do_handlers
triggersBLI_assert(ED_undo_is_state_valid(C));
Short description of error
In sculpt mode, when I use curve brush and {key Ctrl RMB} click, Blender will crash.
Exact steps for others to reproduce the error
In factory startup mode , the same thing happens.
blender_debug_output.txt
blender_system_info.txt
Stack trace from 2.93
04572f0899
:Added subscriber: @15562300165
#84208 was marked as duplicate of this issue
Added subscriber: @rjg
Changed status from 'Needs Triage' to: 'Confirmed'
This comment was removed by @rjg
Changed status from 'Confirmed' to: 'Needs Triage'
blender 2.92,Sculpt mode use curve brush will cause a crash.to Crash with curve brush in sculpt modeChanged status from 'Needs Triage' to: 'Confirmed'
I will bisect this shortly.
Is there anything I can do for you?
To be honest, English is not my first language, so I'm not sure what's going on.
@15562300165 There is currently nothing that you can do to help. I can reproduce the issue on my system and now one of our developers as to identify the exact cause and implement a patch.
I see. Will there be an update as soon as the fix is completed?
When there is a patch, it will have to go through review and once it is approved it will be included in the versions currently under development. Once these new versions of Blender are released you will access to a Blender that includes the patch. You will then have to manually download and install the new release as Blender doesn't automatically update. I hope that answers your question?
Yes,i get it.
Thanks a lot !
Added subscribers: @mont29, @ideasman42, @lichtwerk
Caused by
a584aef470
CC @mont29
CC @ideasman42
@lichtwerk There was already an issue prior to that commit, but it seems that another new issue was introduced (see assert triggered in debug builds before the commit you've referenced). We will have to check if that problem still exists after fixing the one introduced by the commit you've identified.
The problem is that context is
NULL
when callingpaint_curve_poll()
inpaintcurve_undosys_step_encode()
. The null-check that existed before seems to be needed. Perhaps the undo system should ensure that, but as the assert in 2021-01-05 20:21, hash:5424b4821d
indicates the undo steps weren't properly created in the first place.Edit: I've added the null-check back and the assert in
wm_event_do_handlers
still gets triggered. The problem is likely, with the null-check the undo step doesn't get encoded, without it it attempts to dereference the null-pointer. The next logical step is to see why the context is null in the first place.This issue was referenced by
9f2271d354
Changed status from 'Confirmed' to: 'Resolved'