Crash trying to show an object by clicking the eye icon #88192

Closed
opened 2021-05-11 07:12:33 +02:00 by Todd Gillissie · 12 comments

System Information
Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 580 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.19

Blender Version
Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: 02948a2cab
Worked: (newest version of Blender that worked as expected)

Short description of error
Total and instant crash to desktop every time I click the eye to show "Leather Pants M". See screenshot.

Exact steps for others to reproduce the error
Click the eye to try showing "Leather Pants M".

Crash.jpg
Crashy Crash.blend.zip

**System Information** Operating system: Darwin-19.6.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 580 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.19 **Blender Version** Broken: version: 2.92.0, branch: master, commit date: 2021-02-24 16:25, hash: `02948a2cab` Worked: (newest version of Blender that worked as expected) **Short description of error** Total and instant crash to desktop every time I click the eye to show "Leather Pants M". See screenshot. **Exact steps for others to reproduce the error** Click the eye to try showing "Leather Pants M". ![Crash.jpg](https://archive.blender.org/developer/F10078139/Crash.jpg) [Crashy Crash.blend.zip](https://archive.blender.org/developer/F10078142/Crashy_Crash.blend.zip)
Author

Added subscriber: @Gillissie

Added subscriber: @Gillissie
Author

I should have mentioned that the last version of Blender I used before 2.92 was 2.82, and didn't seem to have this issue. Strangely, it seems very specific to "Leather Pants M", since "Leather Pants F" works fine.

I should have mentioned that the last version of Blender I used before 2.92 was 2.82, and didn't seem to have this issue. Strangely, it seems very specific to "Leather Pants M", since "Leather Pants F" works fine.
Member

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Member

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

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

I can confirm this crash on the latest 3.0.0 Alpha. Will take a look.

I can confirm this crash on the latest 3.0.0 Alpha. Will take a look.
Member

It seems as though the mesh data got corrupted (specifically the edge data). Here is a short snippet of the debug output of validate:

BKE_mesh_validate_arrays: 	Edge 2730: has matching verts, both 1061427111
BKE_mesh_validate_arrays: 	Edge 2730: v1 index out of range, 1061427111
BKE_mesh_validate_arrays: 	Edge 2730: v2 index out of range, 1061427111
BKE_mesh_validate_arrays: 	Edge 2731: v1 index out of range, 1065363952
BKE_mesh_validate_arrays: 	Edge 2731: v2 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2732: has matching verts, both 1006567424
BKE_mesh_validate_arrays: 	Edge 2732: v1 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2732: v2 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2733: has matching verts, both 1006567424
BKE_mesh_validate_arrays: 	Edge 2733: v1 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2733: v2 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2734: has matching verts, both 1006567424
BKE_mesh_validate_arrays: 	Edge 2734: v1 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2734: v2 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2735: has matching verts, both 1006567424
BKE_mesh_validate_arrays: 	Edge 2735: v1 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2735: v2 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2736: has matching verts, both 1006567424
BKE_mesh_validate_arrays: 	Edge 2736: v1 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2736: v2 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2737: has matching verts, both 1006567424
BKE_mesh_validate_arrays: 	Edge 2737: v1 index out of range, 1006567424
BKE_mesh_validate_arrays: 	Edge 2737: v2 index out of range, 1006567424
...

Looks like something overwrote that data with garbage.

You can fix the mesh data by opening a "Python Console" editor in that file and entering the command: D.meshes["Mesh.001"].validate().
Now you should be able to unhide the object.

It seems as though the mesh data got corrupted (specifically the edge data). Here is a short snippet of the debug output of `validate`: ``` BKE_mesh_validate_arrays: Edge 2730: has matching verts, both 1061427111 BKE_mesh_validate_arrays: Edge 2730: v1 index out of range, 1061427111 BKE_mesh_validate_arrays: Edge 2730: v2 index out of range, 1061427111 BKE_mesh_validate_arrays: Edge 2731: v1 index out of range, 1065363952 BKE_mesh_validate_arrays: Edge 2731: v2 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2732: has matching verts, both 1006567424 BKE_mesh_validate_arrays: Edge 2732: v1 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2732: v2 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2733: has matching verts, both 1006567424 BKE_mesh_validate_arrays: Edge 2733: v1 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2733: v2 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2734: has matching verts, both 1006567424 BKE_mesh_validate_arrays: Edge 2734: v1 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2734: v2 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2735: has matching verts, both 1006567424 BKE_mesh_validate_arrays: Edge 2735: v1 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2735: v2 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2736: has matching verts, both 1006567424 BKE_mesh_validate_arrays: Edge 2736: v1 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2736: v2 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2737: has matching verts, both 1006567424 BKE_mesh_validate_arrays: Edge 2737: v1 index out of range, 1006567424 BKE_mesh_validate_arrays: Edge 2737: v2 index out of range, 1006567424 ... ``` Looks like something overwrote that data with garbage. You can fix the mesh data by opening a "Python Console" editor in that file and entering the command: `D.meshes["Mesh.001"].validate()`. Now you should be able to unhide the object.
Member

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

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

@Gillissie Do you remember anything that you did or that happened, that could have caused this? Any small (also seemingly unrelated) detail could help. The tricky bit is knowing how the mesh data got into this state. Without that information we can't do much to prevent this from happening in the future and I will have to close the report.

@Gillissie Do you remember anything that you did or that happened, that could have caused this? Any small (also seemingly unrelated) detail could help. The tricky bit is knowing how the mesh data got into this state. Without that information we can't do much to prevent this from happening in the future and I will have to close the report.
Author

Thanks, the python command did let me see the mesh.

I do a lot of work in this file, so I have no idea what particular thing may have caused it.

However, I would disagree with simply closing the report if you don't know what caused the data corruption. It's clear that regardless of how the data got corrupted, it caused a crash. You know how to fix the data so it doesn't crash. I suggest at the very least checking for whatever bad data could cause a crash and handling it gracefully instead of just crashing.

Thanks, the python command did let me see the mesh. I do a lot of work in this file, so I have no idea what particular thing may have caused it. However, I would disagree with simply closing the report if you don't know what caused the data corruption. It's clear that regardless of how the data got corrupted, it caused a crash. You know how to fix the data so it doesn't crash. I suggest at the very least checking for whatever bad data could cause a crash and handling it gracefully instead of just crashing.
Member

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

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

Validating mesh data is an expensive operation. Doing it every time we try to access the data would result in extreme overhead. So that is not the solution.
In any case, we do not classify crashes due to corrupted meshes as bugs unless the user can reproduce the steps to get the mesh into that state. Closing.

Validating mesh data is an expensive operation. Doing it every time we try to access the data would result in extreme overhead. So that is not the solution. In any case, we do not classify crashes due to corrupted meshes as bugs **unless** the user can reproduce the steps to get the mesh into that state. Closing.
Author

How unfortunate. Validating may be expensive, but you only need to do it when preparing to show the mesh, not all the time.

How unfortunate. Validating may be expensive, but you only need to do it when preparing to show the mesh, not all the time.
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
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#88192
No description provided.