Regression: Crash when animation is playing #109903

Open
opened 2023-07-10 13:08:20 +02:00 by Rudy-MICHAU · 9 comments

System Information
Operating system: Windows 10
Graphics card: 2x RTX3080

Blender Version
Broken: 3.6 and 3.6.1 release canditate

Short description of error
Press the space bar, the animation starts and Blender closes. The console says : EXCEPTION_ACCESS_VIOLATION
I also test the file with an independent portable version of Blender, but the crash still occurs.

Exact steps for others to reproduce the error
Press space bar to play the animation and wait the frame 48.

Fluent_Testing_7_for_blend_dev.blend

**System Information** Operating system: Windows 10 Graphics card: 2x RTX3080 **Blender Version** Broken: 3.6 and 3.6.1 release canditate **Short description of error** Press the space bar, the animation starts and Blender closes. The console says : EXCEPTION_ACCESS_VIOLATION I also test the file with an independent portable version of Blender, but the crash still occurs. **Exact steps for others to reproduce the error** Press space bar to play the animation and wait the frame 48. [Fluent_Testing_7_for_blend_dev.blend](https://projects.blender.org/attachments/a42cf61f-169a-4a2d-9c3e-e3b25d88ffdf)
Rudy-MICHAU added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-07-10 13:08:20 +02:00
Member

Hi @Rudy-MICHAU , I'm unable to replicate the crash in either 3.6 or 4.0. No matter if it's frame 48 or played indefinitely. Also the scene doesn't seem to have anything animated. Could you try the steps here and give us the crash log? Thanks!

Hi @Rudy-MICHAU , I'm unable to replicate the crash in either 3.6 or 4.0. No matter if it's frame 48 or played indefinitely. Also the scene doesn't seem to have anything animated. Could you try the steps [here](https://docs.blender.org/manual/en/3.6/troubleshooting/crash.html#windows) and give us the crash log? Thanks!
YimingWu added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-07-10 16:26:45 +02:00
Author

My bad, excuse me, I think I joined the file before animation addition !
The file and log here.
The boolean object modifiers are animated.

My bad, excuse me, I think I joined the file before animation addition ! The file and log here. The boolean object modifiers are animated.
Iliya Katushenock added the
Interest
Modeling
Interest
Modifiers
labels 2023-07-10 18:29:06 +02:00
Member

I do get a somewhat garbled result in frame 49, but still unable to replicate the crash despite repeated playing (3.6 or 4.0), maybe it's due to co-planner meshes being booleaned. @Rudy-MICHAU Could you try moving the bevel object slightly from its initial position and see if it works?

Crashed at somewhere inside bevel_build_edge_polygons().

图片

I do get a somewhat garbled result in frame 49, but still unable to replicate the crash despite repeated playing (3.6 or 4.0), maybe it's due to co-planner meshes being booleaned. @Rudy-MICHAU Could you try moving the bevel object slightly from its initial position and see if it works? Crashed at somewhere inside `bevel_build_edge_polygons()`. ![图片](/attachments/31366a6b-40ad-492f-bed7-570a5a0cac8b)
104 KiB
Author

Nice ! No crash if I move up it a little bit. 👍
So Blender bugs because to close faces.

Nice ! No crash if I move up it a little bit. 👍 So Blender bugs because to close faces.
Member

Unable to redo the crash in 3.6/4.0

Unable to redo the crash in 3.6/4.0
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-08-30 11:02:34 +02:00
Member

Can replicate actually.
Looks like a regression between 3.4 - 3.5
Raising the priority.

Can replicate actually. Looks like a regression between 3.4 - 3.5 Raising the priority.
Pratik Borhade changed title from EXCEPTION_ACCESS_VIOLATION during animation playing B3.6 to Regression: Crash when animation is playing 2023-09-06 07:24:26 +02:00
Member

Also got Invalid clnors in this fan! error in console which is related to custom normal (I guess).
Clearing custom normal from Cube.copy.001 object still triggers the crash.

Also got `Invalid clnors in this fan!` error in console which is related to custom normal (I guess). Clearing custom normal from `Cube.copy.001` object still triggers the crash.
Hans Goudey added
Type
Bug
and removed
Type
Report
labels 2023-09-08 05:51:45 +02:00
Member

Looked at this a bit today. So far my guess is that the fast boolean code can generate an invalid mesh, which triggers an assert in the bevel modifier. I'll look at it more tomorrow.

_BLI_assert_abort@0x0000000003c616d0 (/home/hans/blender-git/blender/source/blender/blenlib/intern/BLI_assert.c:48)
bevel_build_edge_polygons@0x0000000004def5b7 (/home/hans/blender-git/blender/source/blender/bmesh/tools/bmesh_bevel.cc:6989)
BM_mesh_bevel@0x0000000004e0d218 (/home/hans/blender-git/blender/source/blender/bmesh/tools/bmesh_bevel.cc:7905)
modify_mesh@0x0000000005d8fe65 (/home/hans/blender-git/blender/source/blender/modifiers/intern/MOD_bevel.cc:201)
BKE_modifier_modify_mesh@0x000000000103c9ca (/home/hans/blender-git/blender/source/blender/blenkernel/intern/modifier.cc:1004)
modifier_modify_mesh_and_geometry_set@0x000000000304ee40 (/home/hans/blender-git/blender/source/blender/blenkernel/intern/DerivedMesh.cc:547)
mesh_calc_modifiers@0x0000000003053467 (/home/hans/blender-git/blender/source/blender/blenkernel/intern/DerivedMesh.cc:885)
mesh_build_data@0x000000000305ac99 (/home/hans/blender-git/blender/source/blender/blenkernel/intern/DerivedMesh.cc:1394)
makeDerivedMesh@0x000000000305cfe7 (/home/hans/blender-git/blender/source/blender/blenkernel/intern/DerivedMesh.cc:1575)
BKE_object_handle_data_update@0x000000000131549e (/home/hans/blender-git/blender/source/blender/blenkernel/intern/object_update.cc:169)
Looked at this a bit today. So far my guess is that the _fast_ boolean code can generate an invalid mesh, which triggers an assert in the bevel modifier. I'll look at it more tomorrow. ``` _BLI_assert_abort@0x0000000003c616d0 (/home/hans/blender-git/blender/source/blender/blenlib/intern/BLI_assert.c:48) bevel_build_edge_polygons@0x0000000004def5b7 (/home/hans/blender-git/blender/source/blender/bmesh/tools/bmesh_bevel.cc:6989) BM_mesh_bevel@0x0000000004e0d218 (/home/hans/blender-git/blender/source/blender/bmesh/tools/bmesh_bevel.cc:7905) modify_mesh@0x0000000005d8fe65 (/home/hans/blender-git/blender/source/blender/modifiers/intern/MOD_bevel.cc:201) BKE_modifier_modify_mesh@0x000000000103c9ca (/home/hans/blender-git/blender/source/blender/blenkernel/intern/modifier.cc:1004) modifier_modify_mesh_and_geometry_set@0x000000000304ee40 (/home/hans/blender-git/blender/source/blender/blenkernel/intern/DerivedMesh.cc:547) mesh_calc_modifiers@0x0000000003053467 (/home/hans/blender-git/blender/source/blender/blenkernel/intern/DerivedMesh.cc:885) mesh_build_data@0x000000000305ac99 (/home/hans/blender-git/blender/source/blender/blenkernel/intern/DerivedMesh.cc:1394) makeDerivedMesh@0x000000000305cfe7 (/home/hans/blender-git/blender/source/blender/blenkernel/intern/DerivedMesh.cc:1575) BKE_object_handle_data_update@0x000000000131549e (/home/hans/blender-git/blender/source/blender/blenkernel/intern/object_update.cc:169) ```
Member

Not a regression actually. If I clear modifier visibility keyframe then enable modifier at first frame, it would trigger the crash.
File uploaded below:

Not a regression actually. If I clear modifier visibility keyframe then enable modifier at first frame, it would trigger the crash. File uploaded below:
Pratik Borhade added
Priority
Normal
and removed
Priority
High
labels 2023-09-08 08:03:16 +02: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#109903
No description provided.