crash associated with UV editing #85680

Closed
opened 2021-02-16 07:15:52 +01:00 by Paul Danielson · 14 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 452.06

Blender Version
Broken: version: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: 5be9ef4177
Worked: 2.90.1, sort of

Short description of error
Blender crashes when the UV Editor is displayed if a particular object is in Edit mode.

Exact steps for others to reproduce the error
The blend file will open to the Modelling tab, with "Wall Proto" selected in Edit Mode. Switch to the UV Editing tab. Blender will crash.

At least some other objects can have their UVs edited without problems. This blend file was originally created in 2.90.1. 2.90.1 had it's own issue with this project, again apparently associated with the UV Editing tab. The view in the 3D viewport in any other tab was correct. The view in the 3D viewport in the UV Editing tab sometimes failed to display a number of objects. The missing objects would still be selected if selected in another tab, but would not be visible. Restarting Blender fixed the display problem. It may be that the problem in 2.90.1 has corrupted the database and created the problem in 2.91.2, but when the viewport in 2.90.1 is working and I edit the Wall Proto object in the UV Editing tab Blender does not crash.

modular_dungeon 291.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 452.06 **Blender Version** Broken: version: 2.91.2, branch: master, commit date: 2021-01-19 16:15, hash: `5be9ef4177` Worked: 2.90.1, sort of **Short description of error** Blender crashes when the UV Editor is displayed if a particular object is in Edit mode. **Exact steps for others to reproduce the error** The blend file will open to the Modelling tab, with "Wall Proto" selected in Edit Mode. Switch to the UV Editing tab. Blender will crash. At least some other objects can have their UVs edited without problems. This blend file was originally created in 2.90.1. 2.90.1 had it's own issue with this project, again apparently associated with the UV Editing tab. The view in the 3D viewport in any other tab was correct. The view in the 3D viewport in the UV Editing tab sometimes failed to display a number of objects. The missing objects would still be selected if selected in another tab, but would not be visible. Restarting Blender fixed the display problem. It may be that the problem in 2.90.1 has corrupted the database and created the problem in 2.91.2, but when the viewport in 2.90.1 is working and I edit the Wall Proto object in the UV Editing tab Blender does not crash. [modular_dungeon 291.blend](https://archive.blender.org/developer/F9807193/modular_dungeon_291.blend)
Author

Added subscriber: @MichaelDanielson

Added subscriber: @MichaelDanielson
Member

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Member

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

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

Could you try the latest Alpha from https://builder.blender.org/download/? This might be a duplicate of #85495 which has been fixed (3e55d7d605).

~~Could you try the latest Alpha from https://builder.blender.org/download/? This might be a duplicate of #85495 which has been fixed (3e55d7d605).~~
Member

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

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

I was able to reproduce the issue on the latest 2.93.0 Alpha, branch: master, commit date: 2021-02-16 08:05, hash: 36814ddc94.

I was able to reproduce the issue on the latest 2.93.0 Alpha, branch: master, commit date: 2021-02-16 08:05, hash: `36814ddc94`.
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Falk David self-assigned this 2021-02-16 09:58:12 +01:00
Member

Investigating...

Investigating...
Member

Added subscribers: @fclem, @ideasman42

Added subscribers: @fclem, @ideasman42
Member

The crash is happening because mr->extract_type in blender/source/blender/draw/intern/draw_cache_extract_mesh.c:4028 is MR_EXTRACT_MESH. Only MR_EXTRACT_BMESH and MR_EXTRACT_MAPPED are handled, everything else crashes because of an BLI_assert(0);.

@fclem or @ideasman42 do you have any ideas why that case is not handled?

The crash is happening because `mr->extract_type` in `blender/source/blender/draw/intern/draw_cache_extract_mesh.c:4028` is `MR_EXTRACT_MESH`. Only `MR_EXTRACT_BMESH` and `MR_EXTRACT_MAPPED` are handled, everything else crashes because of an `BLI_assert(0);`. @fclem or @ideasman42 do you have any ideas why that case is not handled?

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker

@Jeroen-Bakker might be more of a help here.

@Jeroen-Bakker might be more of a help here.

This issue was referenced by 6ce06957c9

This issue was referenced by 6ce06957c9bf9c752f0a7ee2cb186948d0d67983

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#85680
No description provided.