Crash on exit after every long Sculpt session (Metal backend) #108836

Closed
opened 2023-06-10 07:18:53 +02:00 by antonheg · 2 comments

System Information
Operating system: macOS Monterey 12.6.2
Graphics card: Intel HD Graphics 530 / Radeon Pro 450

Blender Version
Broken: 4.0.0 Alpha (4.0.0 2023-06-09 and every previous release) and 3.6 Beta (the last few releases)
Worked: 3.5.1

Short description of error
Crashes on exit after every long (~30 minutes) sculpting session with a crash report:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       UNKNOWN_0xD at 0x0000000000000000
Exception Codes:       0x000000000000000d, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11

VM Region Info: 0 is not in any region.  Bytes before following region: 4397645824
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      1061ec000-1124c8000    [194.9M] r-x/r-x SM=COW  ...MacOS/Blender

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	    0x7ff81768000f objc_release + 15
1   Blender                       	       0x10c5eb144 blender::gpu::MTLBufferPool::free() + 116
2   Blender                       	       0x10c5eafff blender::gpu::MTLBufferPool::~MTLBufferPool() + 15
3   Blender                       	       0x10c5defc3 blender::gpu::MTLContext::~MTLContext() + 931
4   Blender                       	       0x10c5dcc8e blender::gpu::MTLContext::~MTLContext() + 14
5   Blender                       	       0x10c438a3f GPU_context_discard + 15
6   Blender                       	       0x106cfdbcd DRW_gpu_context_destroy + 45
7   Blender                       	       0x106b53d80 WM_exit_ex + 944
8   Blender                       	       0x106b539bd WM_exit + 45
9   Blender                       	       0x106b5398b wm_exit_handler(bContext*, wmEvent const*, void*) + 11
10  Blender                       	       0x106b42c2e wm_handlers_do_intern(bContext*, wmWindow*, wmEvent*, ListBase*) + 974
11  Blender                       	       0x106b42220 wm_handlers_do(bContext*, wmEvent*, ListBase*) + 48
12  Blender                       	       0x106b415ba wm_event_do_handlers + 2554
13  Blender                       	       0x106b37420 WM_main + 32
14  Blender                       	       0x106386b67 main + 887
15  dyld                          	       0x120bef52e start + 462

Exact steps for others to reproduce the error

  • Add UV Sphere
  • Switch to Sculpt Mode
  • Remesh at 0.05
  • Sculpt for ~15 minutes with the Grab and Draw brushes
  • Remesh at 0.02
  • Sculpt again for ~15 minutes with the Grab and Draw brushes
  • Command-Q to Quit Blender
  • Crashes with the above report (only on long sessions ~30 minutes)
**System Information** Operating system: macOS Monterey 12.6.2 Graphics card: Intel HD Graphics 530 / Radeon Pro 450 **Blender Version** Broken: 4.0.0 Alpha (4.0.0 2023-06-09 and every previous release) and 3.6 Beta (the last few releases) Worked: 3.5.1 **Short description of error** Crashes on exit after every long (~30 minutes) sculpting session with a crash report: ``` Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: UNKNOWN_0xD at 0x0000000000000000 Exception Codes: 0x000000000000000d, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 VM Region Info: 0 is not in any region. Bytes before following region: 4397645824 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 1061ec000-1124c8000 [194.9M] r-x/r-x SM=COW ...MacOS/Blender Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libobjc.A.dylib 0x7ff81768000f objc_release + 15 1 Blender 0x10c5eb144 blender::gpu::MTLBufferPool::free() + 116 2 Blender 0x10c5eafff blender::gpu::MTLBufferPool::~MTLBufferPool() + 15 3 Blender 0x10c5defc3 blender::gpu::MTLContext::~MTLContext() + 931 4 Blender 0x10c5dcc8e blender::gpu::MTLContext::~MTLContext() + 14 5 Blender 0x10c438a3f GPU_context_discard + 15 6 Blender 0x106cfdbcd DRW_gpu_context_destroy + 45 7 Blender 0x106b53d80 WM_exit_ex + 944 8 Blender 0x106b539bd WM_exit + 45 9 Blender 0x106b5398b wm_exit_handler(bContext*, wmEvent const*, void*) + 11 10 Blender 0x106b42c2e wm_handlers_do_intern(bContext*, wmWindow*, wmEvent*, ListBase*) + 974 11 Blender 0x106b42220 wm_handlers_do(bContext*, wmEvent*, ListBase*) + 48 12 Blender 0x106b415ba wm_event_do_handlers + 2554 13 Blender 0x106b37420 WM_main + 32 14 Blender 0x106386b67 main + 887 15 dyld 0x120bef52e start + 462 ``` **Exact steps for others to reproduce the error** - Add UV Sphere - Switch to Sculpt Mode - Remesh at 0.05 - Sculpt for ~15 minutes with the Grab and Draw brushes - Remesh at 0.02 - Sculpt again for ~15 minutes with the Grab and Draw brushes - Command-Q to Quit Blender - Crashes with the above report (only on long sessions ~30 minutes)
antonheg added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2023-06-10 07:18:54 +02:00

From the stack trace it looks like a duplicate of #108792 so I'll close this one. You can subscribe/watch the other issue for updates.

From the stack trace it looks like a duplicate of #108792 so I'll close this one. You can subscribe/watch the other issue for updates.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-06-10 07:22:28 +02:00
Jesse Yurkovich added
Status
Duplicate
and removed
Status
Archived
labels 2023-06-10 07:22:35 +02:00
Author

cc @deadpin

I'm noticing this is not limited to the Sculpt mode. Blender 3.6 and 4.0 are crashing on exit after long work sessions whatever the mode. The crash report is identical.

cc @deadpin I'm noticing this is not limited to the Sculpt mode. Blender 3.6 and 4.0 are crashing on exit after long work sessions whatever the mode. The crash report is identical.
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
2 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#108836
No description provided.