Blender 2.92 crashing when editing fractured mesh #84134

Closed
opened 2020-12-25 17:41:58 +01:00 by yves bodson · 17 comments

System Information
Operating system: Linux-5.4.0-58-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.80.02

Blender Version
Broken: version:

  • 2.92.0 Alpha, branch: master, commit date: 2020-12-24 19:11, hash: af316d2761
  • 2.91.0
  • 2.90.1
  • 2.83.10
    Worked: ?

Short description of error
I have used cell fracture to fracture a UV sphere. I did separate the parts using P. I tried to edit a part and it is where the crash happens.

/home/yves/Downloads/blender291/blender(BLI_system_backtrace+0x20) [0x84ba490]
/home/yves/Downloads/blender291/blender() [0xe5293a]
/lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7fa720a5e210]
/home/yves/Downloads/blender291/blender(DRW_mesh_batch_cache_create_requested+0x5a9) [0x1364e89]
/home/yves/Downloads/blender291/blender() [0x1311158]
/home/yves/Downloads/blender291/blender(DRW_draw_render_loop_ex+0x35d) [0x131232d]
/home/yves/Downloads/blender291/blender(view3d_main_region_draw+0x8f) [0x1afb15f]
/home/yves/Downloads/blender291/blender(ED_region_do_draw+0x7e1) [0x16b43f1]
/home/yves/Downloads/blender291/blender(wm_draw_update+0x52e) [0x11c181e]
/home/yves/Downloads/blender291/blender(WM_main+0x30) [0x11bf740]
/home/yves/Downloads/blender291/blender(main+0x30d) [0xd8d12d]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fa720a3f0b3]
/home/yves/Downloads/blender291/blender() [0xe4f0b3]

{F9530087}

{F9530088}

Exact steps for others to reproduce the error

  • Open the attached file and select Sphere_cell.055.
  • Try to switch to edit mode.
**System Information** Operating system: Linux-5.4.0-58-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 450.80.02 **Blender Version** Broken: version: - 2.92.0 Alpha, branch: master, commit date: 2020-12-24 19:11, hash: `af316d2761` - 2.91.0 - 2.90.1 - 2.83.10 Worked: ? **Short description of error** I have used cell fracture to fracture a UV sphere. I did separate the parts using P. I tried to edit a part and it is where the crash happens. ```lines /home/yves/Downloads/blender291/blender(BLI_system_backtrace+0x20) [0x84ba490] /home/yves/Downloads/blender291/blender() [0xe5293a] /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7fa720a5e210] /home/yves/Downloads/blender291/blender(DRW_mesh_batch_cache_create_requested+0x5a9) [0x1364e89] /home/yves/Downloads/blender291/blender() [0x1311158] /home/yves/Downloads/blender291/blender(DRW_draw_render_loop_ex+0x35d) [0x131232d] /home/yves/Downloads/blender291/blender(view3d_main_region_draw+0x8f) [0x1afb15f] /home/yves/Downloads/blender291/blender(ED_region_do_draw+0x7e1) [0x16b43f1] /home/yves/Downloads/blender291/blender(wm_draw_update+0x52e) [0x11c181e] /home/yves/Downloads/blender291/blender(WM_main+0x30) [0x11bf740] /home/yves/Downloads/blender291/blender(main+0x30d) [0xd8d12d] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fa720a3f0b3] /home/yves/Downloads/blender291/blender() [0xe4f0b3] ``` {F9530087} {F9530088} **Exact steps for others to reproduce the error** - Open the attached file and select `Sphere_cell.055`. - Try to switch to edit mode.
Author

Added subscriber: @YvesBodson

Added subscriber: @YvesBodson
Author

I am testing cell fracture addon and this could be the origin of the crash. Blender bail out dry when trying to enter in edit mode on a part of the fractured object. Before I have used the P to separate elements.
Could it be the attached force field that is the cause?
Anyway..

I am testing cell fracture addon and this could be the origin of the crash. Blender bail out dry when trying to enter in edit mode on a part of the fractured object. Before I have used the P to separate elements. Could it be the attached force field that is the cause? Anyway..
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Writing: /tmp/292 Covid fractured _01.crash.txt

Could you upload the crash.txt file please?

>Writing: /tmp/292 Covid fractured _01.crash.txt Could you upload the crash.txt file please?
Author
Sorry I missed it.. Here it is [291 2021 Wishes no sources _01-03.crash.txt](https://archive.blender.org/developer/F9530576/291_2021_Wishes_no_sources__01-03.crash.txt) [292 Covid fractured _01.crash.txt](https://archive.blender.org/developer/F9530577/292_Covid_fractured__01.crash.txt)
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Thank you.

Thank you.

Added subscriber: @rjg

Added subscriber: @rjg

I can reproduce the crash in all version from 2.92 to 2.83.10. The project has plenty dependency cycles. If I remove either the rigid body from one of the Sphere_cell objects (e.g. Sphere_cell.055) or the particle system, then I can switch to edit mode on that object without issues. The crash only happens on objects that have both the rigid body and particle system.

I can reproduce the crash in all version from 2.92 to 2.83.10. The project has plenty dependency cycles. If I remove either the rigid body from one of the `Sphere_cell` objects (e.g. `Sphere_cell.055`) or the particle system, then I can switch to edit mode on that object without issues. The crash only happens on objects that have both the rigid body and particle system.

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

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

I'm confirming this ticket for now as the setup shouldn't crash Blender, even when it might not be correctly setup.

I'm confirming this ticket for now as the setup shouldn't crash Blender, even when it might not be correctly setup.

Removing the force field also prevents the crash.

Removing the force field also prevents the crash.
Author

Hi Robert
You're right about the force field. I discovered the issue after I posted the crash.
There were two and I one was causing the issue. I have removed it and it works now with the latest release as of today. 292 OK 2021 Wishes Composit COVID Fracture particles material separated Sites_01-07-08.blend
I attach the blend file I did work on this morning and it works well.
Thanks

Hi Robert You're right about the force field. I discovered the issue after I posted the crash. There were two and I one was causing the issue. I have removed it and it works now with the latest release as of today. [292 OK 2021 Wishes Composit COVID Fracture particles material separated Sites_01-07-08.blend](https://archive.blender.org/developer/F9533908/292_OK_2021_Wishes_Composit_COVID_Fracture_particles_material_separated_Sites_01-07-08.blend) I attach the blend file I did work on this morning and it works well. Thanks
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

I can reproduce the crash.

The issue seems to be that BKE_object_handle_data_update is not called on the object that goes to edit mode. Therefore, its final mesh is never generated and that results in the crash during rendering. I noticed that BKE_object_handle_data_update is called on another object instead.

My best guess is that the depsgraph is confused due to all the dependency cycles and ends up not evaluating the object at all. I haven't looked into how dependency cycles are "resolved" yet, so not sure if that is a possibility.

I can reproduce the crash. The issue seems to be that `BKE_object_handle_data_update` is not called on the object that goes to edit mode. Therefore, its final mesh is never generated and that results in the crash during rendering. I noticed that `BKE_object_handle_data_update` is called on another object instead. My best guess is that the depsgraph is confused due to all the dependency cycles and ends up not evaluating the object at all. I haven't looked into how dependency cycles are "resolved" yet, so not sure if that is a possibility.
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:14:05 +01:00
Philipp Oeser added the
Interest
Core
label 2023-02-10 11:09:27 +01:00
Member

This was fixed in 2.91.2 and/or 2.92.0

Will close as resolved (but of course feel free to comment again if issues persist in fresh builds from https://builder.blender.org/download/daily/ -- we can always reopen in such case)

This was fixed in 2.91.2 and/or 2.92.0 Will close as resolved (but of course feel free to comment again if issues persist in fresh builds from https://builder.blender.org/download/daily/ -- we can always reopen in such case)
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-03-05 13:58:13 +01:00
Philipp Oeser added
Status
Resolved
and removed
Status
Archived
labels 2024-03-05 13:58:25 +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
5 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#84134
No description provided.