Sculpt: Remesh operator crashes with Subdivision Modifier #119292

Closed
opened 2024-03-10 20:36:18 +01:00 by Bryan-Hughes · 4 comments

System Information
Operating system: Windows 11 Pro, version 22631.3235
Graphics card: Nvidia RTX 3080

Blender Version
Broken: 3.6.16 LTS, 4.23 LTS, 4.3, main
Worked: never? I haven't seen this work before, but I haven't been using Blender long, so it's not clear to me if this is a regression or not.

Short description of error
Whenever I try to remesh the only object in the attached blender file, Blender crashes. This isn't due to lack of system resources, as I'm running on an RTX 3080, Ryzen 5600X, 128gb RAM, and memory usage for Blender tops out well below my available RAM (see attached screenshot of system usage).

Exact steps for others to reproduce the error
Open the attached blender file. Switch to sculpt mode, and remesh with a voxel size of 0.01m.

All drivers, Blender, and Windows are up to date as of yesterday.

**System Information** Operating system: Windows 11 Pro, version 22631.3235 Graphics card: Nvidia RTX 3080 **Blender Version** Broken: 3.6.16 LTS, 4.23 LTS, 4.3, main Worked: never? I haven't seen this work before, but I haven't been using Blender long, so it's not clear to me if this is a regression or not. **Short description of error** Whenever I try to remesh the only object in the attached blender file, Blender crashes. This isn't due to lack of system resources, as I'm running on an RTX 3080, Ryzen 5600X, 128gb RAM, and memory usage for Blender tops out well below my available RAM (see attached screenshot of system usage). **Exact steps for others to reproduce the error** Open the attached blender file. Switch to sculpt mode, and remesh with a voxel size of 0.01m. All drivers, Blender, and Windows are up to date as of yesterday.
Bryan-Hughes added the
Severity
Normal
Type
Report
Status
Needs Triage
labels 2024-03-10 20:36:19 +01:00
Iliya Katushenock added
Module
Sculpt, Paint & Texture
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-03-10 20:42:59 +01:00
Author

Quick followup. I tested this on a Mac laptop with an M2 processor, and this operation also crashes (without taking up all RAM). I couldn't find a .crash file in ~/Library/Logs/DiagnosticReports/, although there is a Blender .ips file.

Attached is the system info for this laptop.

Quick followup. I tested this on a Mac laptop with an M2 processor, and this operation also crashes (without taking up all RAM). I couldn't find a `.crash` file in `~/Library/Logs/DiagnosticReports/`, although there is a Blender `.ips` file. Attached is the system info for this laptop.
Author

I figured out what I was doing. I had set a subdivision to the model, but forgot to apply the subdivision to it before remeshing. Not sure if this should still be considered a bug, since it did still crash even though it was due to my mistake.

I figured out what I was doing. I had set a subdivision to the model, but forgot to apply the subdivision to it before remeshing. Not sure if this should still be considered a bug, since it did still crash even though it was due to my mistake.
Bart van der Braak added
Type
Bug
and removed
Type
Report
labels 2024-08-14 13:03:29 +02:00
Member
ASAN Report
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:411:39 in 
/Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:228:19: runtime error: signed integer overflow: 2147483584 + 1984 cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:228:19 in 
/Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:172:29: runtime error: signed integer overflow: 2147482432 + 1984 cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:172:29 in 
/Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:194:49: runtime error: signed integer overflow: 1821134848 * 4 cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:194:49 in 
Malloc array aborted due to integer overflow: len=18446744072404156416x4 in subdiv_mesh_topology_info, total 31193649436
<details> <summary>ASAN Report</summary> ``` SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:411:39 in /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:228:19: runtime error: signed integer overflow: 2147483584 + 1984 cannot be represented in type 'int' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:228:19 in /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:172:29: runtime error: signed integer overflow: 2147482432 + 1984 cannot be represented in type 'int' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:172:29 in /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:194:49: runtime error: signed integer overflow: 1821134848 * 4 cannot be represented in type 'int' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/seankim/Projects/blender-git/blender/source/blender/blenkernel/intern/subdiv_foreach.cc:194:49 in Malloc array aborted due to integer overflow: len=18446744072404156416x4 in subdiv_mesh_topology_info, total 31193649436 ``` </details>
Sean Kim changed title from Blender 4.0.2 crashes with "EXCEPTION_ACCESS_VIOLATION" when trying to remesh to Sculpt: Remesh operator crashes with Subdivision Modifier 2024-11-04 22:52:09 +01:00
Member

This is actually the same issue as #86072, closing as a duplicate

This is actually the same issue as #86072, closing as a duplicate
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-11-04 23:07:46 +01: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, 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
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
Core
Module
Development Management
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
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
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#119292
No description provided.