Crash when switching to Sculpt mode (fixed in 3.4, only relevant for 3.3 LTS) #99174
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#99174
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:
Linux bu-dvl-2 5.13.0-51-generic #58~20.04.1-Ubuntu SMP Tue Jun 14 11:29:12 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Graphics card:
0:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
Blender Version
Broken: 3.2.0
Short description of error
crashed when switching to Sculpt mode
Exact steps for others to reproduce the error
alien.blend
crash.txt:
alien.crash.txt
Added subscriber: @ebu-4
crashed when switching to Sculpt modeto Crash when switching to Sculpt modeit appears that the crash is somehow caused by the eyes, when blinded, alien can be sculpted as usually.
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Needs User Info'
Can confirm in 3.2
But this seems fixed in master?
@ebu-4 : Could you recheck with a fresh 3.3 & 3.2.1 build from https://builder.blender.org/download/daily/
still crashes both in 3.2.1 and 3.3
alien.crash-3.3.0.txt
alien.crash-3.2.1.txt
just in case, ./blender --debug-all: alien.log
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @PratikPB2123
I've been able to repro in 3.3 and 3.2.1
Maybe mesh is corrupted? I'm seeing broken geometry (missing faces, merged verts, etc.) in older versions
Changed status from 'Needs Triage' to: 'Confirmed'
C.object.data.validate()
did not return true so mesh is not corrupted AFAIKConfirming for now.
@ebu-4 hi, did you import this model from somewhere?
hi, no, just followed https://www.youtube.com/watch?v=CtrNYwc6P2c
not 100% but afrair I added eyes with boolean modifier, so not 1:1 as in tutorial
Added subscriber: @KevinCurry_Unity
I'm stepping through in the debugger and I can see inside
sculpt_draw_cb
that the index value returned fromGPU_pbvh_buffers_material_index
is -208 on the 12th time the callback is hit (line 1118)On line 1119 I can see that the commit history from 2 years ago is a crash fix: #75981
Adding a check for
|| index < 0
will prevent the crash, but not necessarily the root cause.Why does the function return -208, consistently? Is that a known value?
Might be related to #99191 (Regression: Blender crashes when texture painting (caused by boolean modifers))
Going over older crash reports, I have been able to repro in 3.3 LTS as well (3.3.16)
But 3.6 LTS, 3.4.0 onwards seem fine.
@ebu-4 , @KevinCurry_Unity : can you confirm this is fixed for you 3.4 onwards?
Crash when switching to Sculpt modeto Crash when switching to Sculpt mode (fixed in 3.4, only relevant for 3.3 LTS)yep, in 4.0.2 alien can be sculpted, no crashes