4.0.2 crash while retopo (subdivision + shrinkwrap) #116859

Closed
opened 2024-01-07 03:38:06 +01:00 by sentharn · 6 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: Intel(R) Arc(TM) A770 Graphics Intel 4.6.0 - Build 31.0.101.4900

Also broken on Ubuntu 23.04/Nvidia GTX 1080, but in a different way (freeze instead of crash, see below).

Blender Version
Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: 9be62e85b727
Worked: Tested back to 3.5, crashes.

Short description of error
Blender has been crashing semi-regularly while retopologizing a sculpted mesh. It seems to do it more when loose edges are involved. Exact cause is unknown hence the vague title, but I do know how to reproduce it.

Exact steps for others to reproduce the error

  1. Open the blend file.
  2. Go into side view.
  3. Use alt + mouse to select the lowest edge loop (i.e., above knee).
  4. Duplicate with shift+D and move the resulting loop around and/or pan the camera around.
  5. You may need to do this a few times but it should crash.

The following do not fix or cause a difference in the crashing:

  • Factory reset
  • GPU subdivision

On a Linux system with an NVidia GTX 1080, the same steps should cause blender 4.0.2 to freeze but not crash.

On a debug build, I have gotten various crashes on different stack traces, including:

  • In glyph_index_from_charcode nearby the code to print the "Manage Asset Libraries from the File Paths section in Preferences" warning
  • In img_save_png for automatic thumbnail creation (for asset browser presumably)
  • In depsgraph BKE_scene_update_sound during updates after window refresh

I've also observed but failed to save several other crash locations, mostly related to depsgraph refresh.

All of this makes me think that a mesh operation is corrupting memory that is later used, rather than the crash being caused by any of the above.

EDIT: Potentially wild hair, but I have more consistent crashing with the window zoomed out to view the entire object rather than zoomed in.

EDIT2: Wrong file. Uploaded new one. The correct name is "Crash Test Case.blend" (no 2).

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: Intel(R) Arc(TM) A770 Graphics Intel 4.6.0 - Build 31.0.101.4900 Also broken on Ubuntu 23.04/Nvidia GTX 1080, but in a different way (freeze instead of crash, see below). **Blender Version** Broken: version: 4.0.2, branch: blender-v4.0-release, commit date: 2023-12-05 07:41, hash: `9be62e85b727` Worked: Tested back to 3.5, crashes. **Short description of error** Blender has been crashing semi-regularly while retopologizing a sculpted mesh. It seems to do it more when loose edges are involved. Exact cause is unknown hence the vague title, but I do know how to reproduce it. **Exact steps for others to reproduce the error** 1. Open the blend file. 2. Go into side view. 3. Use alt + mouse to select the lowest edge loop (i.e., above knee). 4. Duplicate with shift+D and move the resulting loop around and/or pan the camera around. 5. You may need to do this a few times but it should crash. The following do not fix or cause a difference in the crashing: * Factory reset * GPU subdivision On a **Linux** system with an NVidia GTX 1080, the same steps should cause blender 4.0.2 to **freeze but not crash.** On a debug build, I have gotten various crashes on different stack traces, including: * In glyph_index_from_charcode nearby the code to print the "Manage Asset Libraries from the File Paths section in Preferences" warning * In img_save_png for automatic thumbnail creation (for asset browser presumably) * In depsgraph BKE_scene_update_sound during updates after window refresh I've also observed but failed to save several other crash locations, mostly related to depsgraph refresh. All of this makes me think that a mesh operation is corrupting memory that is later used, rather than the crash being caused by any of the above. EDIT: Potentially wild hair, but I have more consistent crashing with the window zoomed out to view the entire object rather than zoomed in. EDIT2: Wrong file. Uploaded new one. The correct name is "Crash Test Case.blend" (no 2).
sentharn added the
Severity
Normal
Type
Report
Status
Needs Triage
labels 2024-01-07 03:38:07 +01:00
Author

Edit: This is the correct test case file! My bad. The other file is for 3.5.

Edit: This is the correct test case file! My bad. The other file is for 3.5.
Iliya Katushenock added
Module
Modeling
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-01-07 13:10:14 +01:00
Member

Not able to redo the crash in 4.1 build

Not able to redo the crash in 4.1 build
Author

Not able to redo the crash in 4.1 build

Aaaa why didn't I think to test it in 4.1? I can confirm. 4.1 does not crash as of January 3rd, the most convenient build I had locally.

> Not able to redo the crash in 4.1 build Aaaa why didn't I think to test it in 4.1? I can confirm. 4.1 does not crash as of January 3rd, the most convenient build I had locally.
Iliya Katushenock added this to the 4.0 milestone 2024-01-08 09:48:24 +01:00
Member

@ThomasDinges : if we are sure 4.0.3 is not going to happen, then this can be closed I think

@ThomasDinges : if we are sure 4.0.3 is not going to happen, then this can be closed I think
Member

There won't be another 4.0 corrective release (4.0.3) so closing this report.
We can still keep it open if you're able to confirm the crash in 3.6LTS build

There won't be another 4.0 corrective release (4.0.3) so closing this report. We can still keep it open if you're able to confirm the crash in 3.6LTS build
Member

There won't be another 4.0 corrective release (4.0.3) so closing this report.

will close

> There won't be another 4.0 corrective release (4.0.3) so closing this report. will close
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-02-12 11:42:49 +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
3 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#116859
No description provided.