Regression: Blender crashes in Sculpt Mode when subdividing with the Multiresmodifier to level 7 #102209

Closed
opened 2022-11-01 15:12:28 +01:00 by Oliver Tillmann · 10 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 522.25

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-11-01 10:28, hash: d2406ad17d
Worked: Blender version 3.3.1
Caused by 010c10febe

Exact steps for others to reproduce the error

  1. Open Blender
  2. Select Default Cube
  3. Go to Sculpt-Mode
  4. Add Multiresolution Modifier
  5. Subdivde 7x
    Blender crashes
**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 522.25 **Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-11-01 10:28, hash: `d2406ad17d` Worked: Blender version 3.3.1 Caused by 010c10febe **Exact steps for others to reproduce the error** 1. Open Blender 2. Select Default Cube 3. Go to Sculpt-Mode 4. Add Multiresolution Modifier 5. Subdivde 7x Blender crashes

Added subscriber: @Otilla

Added subscriber: @Otilla

Added subscriber: @TheRedWaxPolice

Added subscriber: @TheRedWaxPolice

Yep, crashing here too...

Yep, crashing here too...

Added subscribers: @JosephEagar, @deadpin

Added subscribers: @JosephEagar, @deadpin

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

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

Confirmed and a git bisect seems to blame: {010c10febe46c1c24ca3e32ee8b03e2da2eea4fe}

The stack, at least when using a debug build, is extremely deep so it's possible that limited stack space is at play here too. It's 4400+ frames deep mostly filled with recursive calls to build_sub (that's either part of the issue or just a symptom of the real problem)

blender.exe!min_ff(float a, float b) Line 483	C
blender.exe!BB_expand_with_bb(BB * bb, BB * bb2) Line 82	C
blender.exe!update_vb(PBVH * pbvh, PBVHNode * node, BBC * prim_bbc, int offset, int count) Line 334	C
blender.exe!build_sub(PBVH * pbvh, int node_index, BB * cb, BBC * prim_bbc, int offset, int count) Line 509	C
blender.exe!build_sub(PBVH * pbvh, int node_index, BB * cb, BBC * prim_bbc, int offset, int count) Line 542	C
blender.exe!build_sub(PBVH * pbvh, int node_index, BB * cb, BBC * prim_bbc, int offset, int count) Line 542	C
blender.exe!build_sub(PBVH * pbvh, int node_index, BB * cb, BBC * prim_bbc, int offset, int count) Line 542	C
...
< snipped -- a lot of build_sub calls below this... >

CC @JosephEagar

Confirmed and a git bisect seems to blame: {010c10febe46c1c24ca3e32ee8b03e2da2eea4fe} The stack, at least when using a debug build, is extremely deep so it's possible that limited stack space is at play here too. It's 4400+ frames deep mostly filled with recursive calls to `build_sub` (that's either part of the issue or just a symptom of the real problem) ``` blender.exe!min_ff(float a, float b) Line 483 C blender.exe!BB_expand_with_bb(BB * bb, BB * bb2) Line 82 C blender.exe!update_vb(PBVH * pbvh, PBVHNode * node, BBC * prim_bbc, int offset, int count) Line 334 C blender.exe!build_sub(PBVH * pbvh, int node_index, BB * cb, BBC * prim_bbc, int offset, int count) Line 509 C blender.exe!build_sub(PBVH * pbvh, int node_index, BB * cb, BBC * prim_bbc, int offset, int count) Line 542 C blender.exe!build_sub(PBVH * pbvh, int node_index, BB * cb, BBC * prim_bbc, int offset, int count) Line 542 C blender.exe!build_sub(PBVH * pbvh, int node_index, BB * cb, BBC * prim_bbc, int offset, int count) Line 542 C ... < snipped -- a lot of build_sub calls below this... > ``` CC @JosephEagar
Pratik Borhade changed title from Blender crashes in Sculpt Mode when subdividing with the Multiresmodifier to level 7 to Regression: Blender crashes in Sculpt Mode when subdividing with the Multiresmodifier to level 7 2022-11-02 00:38:54 +01:00
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

This issue was referenced by 3c089c0a88

This issue was referenced by 3c089c0a88983b6fcd5ebed7480625fc4c1bf8a8
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Joseph Eagar self-assigned this 2022-11-10 20:32:53 +01:00

This issue was referenced by b2000412f2

This issue was referenced by b2000412f21dfa5da6a02c7b0922280f5049cc2a
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
6 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#102209
No description provided.