Sculpt Crash | Blender v4.3+ 'Expand Active Face Set' operator with Multires subdiv #130422

Closed
opened 2024-11-17 21:37:49 +01:00 by Rodge · 2 comments

System Information
Operating system: Linux-6.11.6-arch1-1-x86_64-with-glibc2.40 64 Bits, X11 UI
Graphics card: NVIDIA GeForce GT 1030/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 565.57.01

Blender Version
Broken: version: 4.3.0 Alpha, branch: main, commit date: 2024-09-18 23:41, hash: 23d0034a1b3a
Broken: version: 4.3.0 Release Candidate, branch: blender-v4.3-release, commit date: 2024-11-15
Worked: version: 4.3.0 Alpha, branch: main, commit date: 2024-09-17 21:50, hash: 51e9a36c2f48
Worked: 4.2

Caused by dcb3391e10

Short description of error
Crashes Expand Active Face Set operator with Multires subdiv. It must have at least one multires subdivision active, otherwise it's fine.

Exact steps for others to reproduce the error

  1. Factory Startup
  2. Select cube
  3. Add multires modifier
  4. Go into sculpt mode
  5. Subdivide with multires
  6. Expand Active Face Set in Face Sets dropdown menu
  7. Click Subdivided cube.

Notes:
Oddly enough it doesn't crash all the time? blender_sculpt_expand-works.blend
I've tried adding facesets before and after subdiving with Multires.. Seems to crash less if facesets were added before subdividing, but it's still a 50/50 when using 'Expand Active Face Set'. Sometimes its a certain faceset instead of all facesets that will make it crash when using the operator.

**System Information** Operating system: Linux-6.11.6-arch1-1-x86_64-with-glibc2.40 64 Bits, X11 UI Graphics card: NVIDIA GeForce GT 1030/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 565.57.01 **Blender Version** Broken: version: 4.3.0 Alpha, branch: main, commit date: 2024-09-18 23:41, hash: `23d0034a1b3a` Broken: version: 4.3.0 Release Candidate, branch: blender-v4.3-release, commit date: 2024-11-15 Worked: version: 4.3.0 Alpha, branch: main, commit date: 2024-09-17 21:50, hash: `51e9a36c2f48` Worked: 4.2 Caused by dcb3391e10 **Short description of error** Crashes Expand Active Face Set operator with Multires subdiv. It must have at least one multires subdivision active, otherwise it's fine. **Exact steps for others to reproduce the error** 1. Factory Startup 2. Select cube 3. Add multires modifier 4. Go into sculpt mode 5. Subdivide with multires 6. **Expand Active Face Set** in Face Sets dropdown menu 7. Click Subdivided cube. ___ **Notes:** Oddly enough it doesn't crash all the time? [blender_sculpt_expand-works.blend](/attachments/c8c45c9e-cadc-4b48-a379-57cf82cd1cf8) I've tried adding facesets before and after subdiving with Multires.. Seems to crash less if facesets were added before subdividing, but it's still a 50/50 when using 'Expand Active Face Set'. Sometimes its a certain faceset instead of all facesets that will make it crash when using the operator.
Rodge added the
Severity
Normal
Type
Bug
Status
Needs Triage
labels 2024-11-17 21:37:49 +01:00
# Blender 4.3.0, Commit date: 2024-11-14 17:41, Hash 3b44f8468699
bpy.context.space_data.context = 'MODIFIER'  # Property
bpy.ops.object.modifier_add(type='MULTIRES')  # Operator
bpy.ops.sculpt.sculptmode_toggle()  # Operator
bpy.ops.object.multires_subdivide(modifier="Multires", mode='CATMULL_CLARK')  # Operator

# backtrace
Exception Record:

ExceptionCode         : EXCEPTION_ACCESS_VIOLATION
Exception Address     : 0x00007FF6D29ED1E5
Exception Module      : blender.exe
Exception Flags       : 0x00000000
Exception Parameters  : 0x2
	Parameters[0] : 0x0000000000000000
	Parameters[1] : 0x000001F7D19AFB7C


Stack trace:
blender.exe         :0x00007FF6D29ED1C0  blender::ed::sculpt_paint::face_set::vert_has_face_set E:\BlenderDev\blender\source\blender\editors\sculpt_paint\sculpt.cc:276
blender.exe         :0x00007FF6D2A2A270  `blender::ed::sculpt_paint::expand::init_from_face_set_boundary'::`6'::<lambda_2>::operator() E:\BlenderDev\blender\source\blender\editors\sculpt_paint\sculpt_expand.cc:1315
blender.exe         :0x00007FF6D2A2EBD0  blender::ed::sculpt_paint::expand::init_from_face_set_boundary E:\BlenderDev\blender\source\blender\editors\sculpt_paint\sculpt_expand.cc:1313
blender.exe         :0x00007FF6D2A2B2E0  blender::ed::sculpt_paint::expand::calc_falloff_from_vert_and_symmetry E:\BlenderDev\blender\source\blender\editors\sculpt_paint\sculpt_expand.cc:1443
blender.exe         :0x00007FF6D2A30B10  blender::ed::sculpt_paint::expand::sculpt_expand_invoke E:\BlenderDev\blender\source\blender\editors\sculpt_paint\sculpt_expand.cc:2797
blender.exe         :0x00007FF6D1E77DA0  wm_operator_invoke E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:1618
blender.exe         :0x00007FF6D1E772D0  wm_operator_call_internal E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:1819
blender.exe         :0x00007FF6D1E70230  ui_handler_wait_for_input E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:2019
blender.exe         :0x00007FF6D1E763A0  wm_handlers_do_intern E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:3422
blender.exe         :0x00007FF6D1E75570  wm_handlers_do E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:3544
blender.exe         :0x00007FF6D1E71A20  wm_event_do_handlers E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:4171
blender.exe         :0x00007FF6D1E52F90  WM_main E:\BlenderDev\blender\source\blender\windowmanager\intern\wm.cc:643
blender.exe         :0x00007FF6D17DCA30  main E:\BlenderDev\blender\source\creator\creator.cc:591
blender.exe         :0x00007FF6D43E4A04  __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
KERNEL32.DLL        :0x00007FFA70CF7360  BaseThreadInitThunk
ntdll.dll           :0x00007FFA72C9CC70  RtlUserThreadStart
``` # Blender 4.3.0, Commit date: 2024-11-14 17:41, Hash 3b44f8468699 bpy.context.space_data.context = 'MODIFIER' # Property bpy.ops.object.modifier_add(type='MULTIRES') # Operator bpy.ops.sculpt.sculptmode_toggle() # Operator bpy.ops.object.multires_subdivide(modifier="Multires", mode='CATMULL_CLARK') # Operator # backtrace Exception Record: ExceptionCode : EXCEPTION_ACCESS_VIOLATION Exception Address : 0x00007FF6D29ED1E5 Exception Module : blender.exe Exception Flags : 0x00000000 Exception Parameters : 0x2 Parameters[0] : 0x0000000000000000 Parameters[1] : 0x000001F7D19AFB7C Stack trace: blender.exe :0x00007FF6D29ED1C0 blender::ed::sculpt_paint::face_set::vert_has_face_set E:\BlenderDev\blender\source\blender\editors\sculpt_paint\sculpt.cc:276 blender.exe :0x00007FF6D2A2A270 `blender::ed::sculpt_paint::expand::init_from_face_set_boundary'::`6'::<lambda_2>::operator() E:\BlenderDev\blender\source\blender\editors\sculpt_paint\sculpt_expand.cc:1315 blender.exe :0x00007FF6D2A2EBD0 blender::ed::sculpt_paint::expand::init_from_face_set_boundary E:\BlenderDev\blender\source\blender\editors\sculpt_paint\sculpt_expand.cc:1313 blender.exe :0x00007FF6D2A2B2E0 blender::ed::sculpt_paint::expand::calc_falloff_from_vert_and_symmetry E:\BlenderDev\blender\source\blender\editors\sculpt_paint\sculpt_expand.cc:1443 blender.exe :0x00007FF6D2A30B10 blender::ed::sculpt_paint::expand::sculpt_expand_invoke E:\BlenderDev\blender\source\blender\editors\sculpt_paint\sculpt_expand.cc:2797 blender.exe :0x00007FF6D1E77DA0 wm_operator_invoke E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:1618 blender.exe :0x00007FF6D1E772D0 wm_operator_call_internal E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:1819 blender.exe :0x00007FF6D1E70230 ui_handler_wait_for_input E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:2019 blender.exe :0x00007FF6D1E763A0 wm_handlers_do_intern E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:3422 blender.exe :0x00007FF6D1E75570 wm_handlers_do E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:3544 blender.exe :0x00007FF6D1E71A20 wm_event_do_handlers E:\BlenderDev\blender\source\blender\windowmanager\intern\wm_event_system.cc:4171 blender.exe :0x00007FF6D1E52F90 WM_main E:\BlenderDev\blender\source\blender\windowmanager\intern\wm.cc:643 blender.exe :0x00007FF6D17DCA30 main E:\BlenderDev\blender\source\creator\creator.cc:591 blender.exe :0x00007FF6D43E4A04 __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 KERNEL32.DLL :0x00007FFA70CF7360 BaseThreadInitThunk ntdll.dll :0x00007FFA72C9CC70 RtlUserThreadStart ```
Thomas Dinges added this to the 4.3 milestone 2024-11-17 22:19:50 +01:00
Member
Caused by dcb3391e1077b9e1d4bdf81ff1a14ea4f7593a8c @HooglyBoogly ^
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-11-18 14:31:38 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
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
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#130422
No description provided.