Texture painting crash #124398

Closed
opened 2024-07-09 11:42:48 +02:00 by Dalai Felinto · 0 comments

System Information
Operating system: macOS-14.1-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M3 Pro 1.2

Blender Version
Broken: version: 4.3.0 Alpha, branch: main, commit date: 2024-07-09 08:58, hash: d4ae97fc3d35
Worked: 4.2

Short description of error
Crash when I paint (once I'm done painting a stroke).

Exact steps for others to reproduce the error

  1. Switch to texture paint
  2. Add a texture paint slot
  3. Paint

Error: Attempt to use C-style MEM_freeN on a pointer created with CPP-style MEM_new or new

Release Backtrace Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1829b511c __pthread_kill + 8 1 libsystem_pthread.dylib 0x1829eccc0 pthread_kill + 288 2 libsystem_c.dylib 0x1828fcad4 __abort + 136 3 libsystem_c.dylib 0x1828fca4c abort + 192 4 Blender 0x102c7b850 report_error_on_address(void const*, char const*, ...) + 72 5 Blender 0x102c7b790 MEM_lockfree_freeN(void*, mem_guarded::internal::AllocationType) + 236 6 Blender 0x103734e54 ntreeTexEndExecTree_internal(bNodeTreeExec*) + 144 7 Blender 0x103734ee4 ntreeTexEndExecTree + 24 8 Blender 0x10394e430 paint_brush_exit_tex(Brush*) + 48 9 Blender 0x10395e484 paint_proj_stroke_done(void*) + 136 10 Blender 0x1039545f8 blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done(bContext const*, blender::ed::sculpt_paint::PaintStroke*) + 160 11 Blender 0x103968618 blender::ed::sculpt_paint::paint_stroke_modal(bContext*, wmOperator*, wmEvent const*, blender::ed::sculpt_paint::PaintStroke**) + 4104 12 Blender 0x102c8a5a0 wm_handler_operator_call(bContext*, ListBase*, wmEventHandler*, wmEvent*, PointerRNA*, char const*) + 1068 13 Blender 0x102c8977c wm_handlers_do_intern(bContext*, wmWindow*, wmEvent*, ListBase*) + 2716 14 Blender 0x102c8875c wm_handlers_do(bContext*, wmEvent*, ListBase*) + 72 15 Blender 0x102c87cf0 wm_event_do_handlers(bContext*) + 2132 16 Blender 0x102c7d7f4 WM_main(bContext*) + 36 17 Blender 0x10236c654 main + 884 18 dyld 0x1826710e0 start + 2360
**System Information** Operating system: macOS-14.1-arm64-arm-64bit 64 Bits Graphics card: Metal API Apple M3 Pro 1.2 **Blender Version** Broken: version: 4.3.0 Alpha, branch: main, commit date: 2024-07-09 08:58, hash: `d4ae97fc3d35` Worked: 4.2 **Short description of error** Crash when I paint (once I'm done painting a stroke). **Exact steps for others to reproduce the error** 1. Switch to texture paint 2. Add a texture paint slot 3. Paint Error: Attempt to use C-style MEM_freeN on a pointer created with CPP-style MEM_new or new <details> <summary>Release Backtrace</summary> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1829b511c __pthread_kill + 8 1 libsystem_pthread.dylib 0x1829eccc0 pthread_kill + 288 2 libsystem_c.dylib 0x1828fcad4 __abort + 136 3 libsystem_c.dylib 0x1828fca4c abort + 192 4 Blender 0x102c7b850 report_error_on_address(void const*, char const*, ...) + 72 5 Blender 0x102c7b790 MEM_lockfree_freeN(void*, mem_guarded::internal::AllocationType) + 236 6 Blender 0x103734e54 ntreeTexEndExecTree_internal(bNodeTreeExec*) + 144 7 Blender 0x103734ee4 ntreeTexEndExecTree + 24 8 Blender 0x10394e430 paint_brush_exit_tex(Brush*) + 48 9 Blender 0x10395e484 paint_proj_stroke_done(void*) + 136 10 Blender 0x1039545f8 blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done(bContext const*, blender::ed::sculpt_paint::PaintStroke*) + 160 11 Blender 0x103968618 blender::ed::sculpt_paint::paint_stroke_modal(bContext*, wmOperator*, wmEvent const*, blender::ed::sculpt_paint::PaintStroke**) + 4104 12 Blender 0x102c8a5a0 wm_handler_operator_call(bContext*, ListBase*, wmEventHandler*, wmEvent*, PointerRNA*, char const*) + 1068 13 Blender 0x102c8977c wm_handlers_do_intern(bContext*, wmWindow*, wmEvent*, ListBase*) + 2716 14 Blender 0x102c8875c wm_handlers_do(bContext*, wmEvent*, ListBase*) + 72 15 Blender 0x102c87cf0 wm_event_do_handlers(bContext*) + 2132 16 Blender 0x102c7d7f4 WM_main(bContext*) + 36 17 Blender 0x10236c654 main + 884 18 dyld 0x1826710e0 start + 2360 </details>
Dalai Felinto added the
Type
Report
Severity
Normal
Status
Needs Triage
labels 2024-07-09 11:42:49 +02:00
Blender Bot added
Status
Resolved
and removed
Status
Needs Triage
labels 2024-07-09 11:44:22 +02: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 & 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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & 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
1 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#124398
No description provided.