Crash when auto smooth is enabled #115080

Closed
opened 2023-11-18 04:41:58 +01:00 by niu · 8 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 4070/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.01

Blender Version
Broken: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash: d0dd92834a08
Worked: 3.6.5

Short description of error
Turning auto-smooth on and off for certain geometry meshes causes Blender to crash with a run-time error.
This seems to cause the cross simulation bake to crash as well.

Exact steps for others to reproduce the error
So far I have not been able to reproduce this situation from a new file,
I am attaching a file that I have identified to the part of the file that crashes at a high probability.
If I turn "Subdivision Surface" on and off multiple times, I get an error like the one in the screenshot and a forced termination.

This problem has occurred since 4.0.0 beta.
It did not occur in 3.6.5.

Incidentally, no crash log is output.
I had installed the VC runtime, but uninstalled it because it seemed to be related to this bug.
However, the situation did not improve.

Occurs either with GPU subdivision on or off.

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 4070/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.01 **Blender Version** Broken: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash: `d0dd92834a08` Worked: 3.6.5 **Short description of error** Turning auto-smooth on and off for certain geometry meshes causes Blender to crash with a run-time error. This seems to cause the cross simulation bake to crash as well. **Exact steps for others to reproduce the error** So far I have not been able to reproduce this situation from a new file, I am attaching a file that I have identified to the part of the file that crashes at a high probability. If I turn "Subdivision Surface" on and off multiple times, I get an error like the one in the screenshot and a forced termination. This problem has occurred since 4.0.0 beta. It did not occur in 3.6.5. Incidentally, no crash log is output. I had installed the VC runtime, but uninstalled it because it seemed to be related to this bug. However, the situation did not improve. Occurs either with GPU subdivision on or off.
niu added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-11-18 04:41:59 +01:00
Author

Regarding the crash of the cross simulation bake, it seems to be caused by something else because it crashed even after turning off auto-smooth.
At any rate, I think I can work around it by disabling subdivision surfaces and baking.

Regarding the crash of the cross simulation bake, it seems to be caused by something else because it crashed even after turning off auto-smooth. At any rate, I think I can work around it by disabling subdivision surfaces and baking.

I reproduced the subdivision crash in 4.0.1 d0dd92834a, but not in 4.1.0 cb5f650a5a. Either I just didn't jam the mouse enough, or it miiight have been fixed in 4.1.0.
https://builder.blender.org/download/daily/

I reproduced the subdivision crash in 4.0.1 d0dd92834a08, but not in 4.1.0 cb5f650a5aa1. Either I just didn't jam the mouse enough, or it miiight have been fixed in 4.1.0. https://builder.blender.org/download/daily/
Member

Hi, thanks for the report. Can confirm the crash in 4.0

but not in 4.1.0 cb5f650a5a

@Ian-Failing , old auto smooth is now replaced with a GN modifier "auto smooth/smooth by angle". This could be a reason for crash to no occur in 4.1

Hi, thanks for the report. Can confirm the crash in 4.0 > but not in 4.1.0 cb5f650a5a @Ian-Failing , old `auto smooth` is now replaced with a GN modifier "auto smooth/smooth by angle". This could be a reason for crash to no occur in 4.1
Pratik Borhade added
Module
Modeling
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-11-20 11:20:23 +01:00
Pratik Borhade added this to the 4.0 milestone 2023-11-20 12:54:16 +01:00
Pratik Borhade added
Priority
High
and removed
Priority
Normal
labels 2023-11-20 12:54:26 +01:00
Author

Additional report. Still crashes with the following version
Broken: version 4.0.3 Release Candidate, branch: blender-v4.0-release, commit date: 2023-12-18 15:44, hash: 63e9cead5ff0
Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: 9be62e85b727

I am still unable to migrate from version 3.6.5, especially because of the fatal crash during cross-simulation baking.

Additional report. Still crashes with the following version Broken: version 4.0.3 Release Candidate, branch: blender-v4.0-release, commit date: 2023-12-18 15:44, hash: `63e9cead5ff0` Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: `9be62e85b727` I am still unable to migrate from version 3.6.5, especially because of the fatal crash during cross-simulation baking.
Member

@niu-1 , there won't be another corrective release 4.0.3 so I guess you'd need to migrate your file 4.1
I'll check the commit that caused the crash

@niu-1 , there won't be another corrective release 4.0.3 so I guess you'd need to migrate your file 4.1 I'll check the commit that caused the crash
Member

Some commit between 7be0d1481c67 - 827baed610b8 affected your file, I'll check further.

Some commit between `7be0d1481c67 - 827baed610b8` affected your file, I'll check further.
Member

Git bisect points to 827baed610 ( though I doubt whether that's a correct commit because all intermediate builds were "good" for me)

Git bisect points to 827baed610b88734fadff3214f0e4bce0274a726 ( though I doubt whether that's a correct commit because all intermediate builds were "good" for me)

Discussed with other admins and we've decided to close as these will be resolved in 4.1 (which will be out in ~2 months), and 4.0 is not an LTS release.

Ideally we could do a corrective release however this issue would take time to investigate which is better spent on the up-coming release.

Discussed with other admins and we've decided to close as these will be resolved in 4.1 (which will be out in ~2 months), and 4.0 is not an LTS release. Ideally we could do a corrective release however this issue would take time to investigate which is better spent on the up-coming release.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-01-10 12:20:47 +01:00
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
4 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#115080
No description provided.