Assert hit on executing mask extract operations #103773

Open
opened 2023-01-10 07:14:13 +01:00 by Pratik Borhade · 6 comments
Member

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78

Blender Version
Broken: 3.5 (63b9a57f8b)

Short description of error
Assert hit on executing mask extract operations

Exact steps for others to reproduce the error

  • Open default scene or sculpting template
  • Paint mask
  • Call Mask Slice to new Object or Mask Extract
 	ucrtbased.dll!00007ff801b17475()	Unknown
 	ucrtbased.dll!00007ff801b17613()	Unknown
 	ucrtbased.dll!00007ff801b2d86d()	Unknown
>	blender.exe!_BLI_assert_abort() Line 47	C

 	blender.exe!BKE_mesh_copy_parameters_for_eval(Mesh * me_dst, const Mesh * me_src) Line 1020	C++
 	blender.exe!paint_mask_slice_exec(bContext * C, wmOperator * op) Line 569	C
 	blender.exe!wm_operator_invoke(bContext * C, wmOperatorType * ot, const wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only, bool use_last_properties) Line 1486	C++
 	blender.exe!wm_operator_call_internal(bContext * C, wmOperatorType * ot, PointerRNA * properties, ReportList * reports, const wmOperatorCallContext context, const bool poll_only, const wmEvent * event) Line 1673	C++
 	blender.exe!WM_operator_name_call_ptr(bContext * C, wmOperatorType * ot, wmOperatorCallContext context, PointerRNA * properties, const wmEvent * event) Line 1722	C++
 	blender.exe!WM_operator_name_call_ptr_with_depends_on_cursor(bContext * C, wmOperatorType * ot, wmOperatorCallContext opcontext, PointerRNA * properties, const wmEvent * event, const char * drawstr) Line 1915	C++
 	blender.exe!menu_search_exec_fn(bContext * C, void * __formal, void * arg2) Line 956	C++
 	blender.exe!ui_apply_but_funcs_after(bContext * C) Line 1041	C++
 	blender.exe!ui_popup_handler(bContext * C, const wmEvent * event, void * userdata) Line 11510	C++
 	blender.exe!wm_handler_ui_call(bContext * C, wmEventHandler_UI * handler, const wmEvent * event, int always_pass) Line 791	C++
 	blender.exe!wm_handlers_do_intern(bContext * C, wmWindow * win, wmEvent * event, ListBase * handlers) Line 3244	C++
 	blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 3361	C++
 	blender.exe!wm_event_do_handlers(bContext * C) Line 3955	C++
 	blender.exe!WM_main(bContext * C) Line 643	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 589	C
**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.78 **Blender Version** Broken: 3.5 (63b9a57f8b) **Short description of error** Assert hit on executing mask extract operations **Exact steps for others to reproduce the error** - Open default scene or sculpting template - Paint mask - Call `Mask Slice to new Object` or `Mask Extract` ```lines=10 ucrtbased.dll!00007ff801b17475() Unknown ucrtbased.dll!00007ff801b17613() Unknown ucrtbased.dll!00007ff801b2d86d() Unknown > blender.exe!_BLI_assert_abort() Line 47 C blender.exe!BKE_mesh_copy_parameters_for_eval(Mesh * me_dst, const Mesh * me_src) Line 1020 C++ blender.exe!paint_mask_slice_exec(bContext * C, wmOperator * op) Line 569 C blender.exe!wm_operator_invoke(bContext * C, wmOperatorType * ot, const wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only, bool use_last_properties) Line 1486 C++ blender.exe!wm_operator_call_internal(bContext * C, wmOperatorType * ot, PointerRNA * properties, ReportList * reports, const wmOperatorCallContext context, const bool poll_only, const wmEvent * event) Line 1673 C++ blender.exe!WM_operator_name_call_ptr(bContext * C, wmOperatorType * ot, wmOperatorCallContext context, PointerRNA * properties, const wmEvent * event) Line 1722 C++ blender.exe!WM_operator_name_call_ptr_with_depends_on_cursor(bContext * C, wmOperatorType * ot, wmOperatorCallContext opcontext, PointerRNA * properties, const wmEvent * event, const char * drawstr) Line 1915 C++ blender.exe!menu_search_exec_fn(bContext * C, void * __formal, void * arg2) Line 956 C++ blender.exe!ui_apply_but_funcs_after(bContext * C) Line 1041 C++ blender.exe!ui_popup_handler(bContext * C, const wmEvent * event, void * userdata) Line 11510 C++ blender.exe!wm_handler_ui_call(bContext * C, wmEventHandler_UI * handler, const wmEvent * event, int always_pass) Line 791 C++ blender.exe!wm_handlers_do_intern(bContext * C, wmWindow * win, wmEvent * event, ListBase * handlers) Line 3244 C++ blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 3361 C++ blender.exe!wm_event_do_handlers(bContext * C) Line 3955 C++ blender.exe!WM_main(bContext * C) Line 643 C blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 589 C ```
Author
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

I can confirm.

I can confirm.
Member

Added subscriber: @JosephEagar

Added subscriber: @JosephEagar
Member

The extract operators are using BKE_mesh_copy_parameters_for_eval which, apparently, is not allowed since it doesn't update user counts. I'm not sure what to do about this; should I make a BKE_mesh_copy_parameters_for_lib that does add users?

The extract operators are using `BKE_mesh_copy_parameters_for_eval` which, apparently, is not allowed since it doesn't update user counts. I'm not sure what to do about this; should I make a `BKE_mesh_copy_parameters_for_lib` that does add users?
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:10:54 +01:00
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#103773
No description provided.