UV Editor, Crash with switching between single image and UDIM tile #82810

Closed
opened 2020-11-18 11:52:03 +01:00 by Reiner Prokein · 10 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.43

Blender Version
Broken:

  • 2.92.0 Alpha, branch: master, commit date: 2020-11-17 22:10, hash: 3e325c35f8,
  • 2.91.0 Beta, branch: blender-v2.91-release, commit date: 2020-11-17 16:39, hash: 22161b6451
    Worked:
  • 2.83.9, 2.90.1

Short description of error
Crash to desktop by switching between single image type and UDIM tile type.

Exact steps for others to reproduce the error

  • Open Blender
  • Switch to UV Editor
  • Create an Image
  • In the sidebar in Image Tab in Image Panel change the image source to UDIM tile.
  • Fill it, and add one more.
  • Change the image source to image.

Change back the image source to UDIM.

Crash to desktop.

2020-11-18 11-47-00.mp4

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.43 **Blender Version** Broken: - 2.92.0 Alpha, branch: master, commit date: 2020-11-17 22:10, hash: `3e325c35f8`, - 2.91.0 Beta, branch: blender-v2.91-release, commit date: 2020-11-17 16:39, hash: `22161b6451` Worked: - 2.83.9, 2.90.1 **Short description of error** Crash to desktop by switching between single image type and UDIM tile type. **Exact steps for others to reproduce the error** - Open Blender - Switch to UV Editor - Create an Image - In the sidebar in Image Tab in Image Panel change the image source to UDIM tile. - Fill it, and add one more. - Change the image source to image. # Change back the image source to UDIM. Crash to desktop. [2020-11-18 11-47-00.mp4](https://archive.blender.org/developer/F9316550/2020-11-18_11-47-00.mp4)
Author

Added subscriber: @tiles

Added subscriber: @tiles

Added subscriber: @rjg

Added subscriber: @rjg

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

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

I can confirm this issue. In OVERLAY_edit_uv_cache_init the active_tile is NULL.

OVERLAY_edit_uv_cache_init(OVERLAY_Data * vedata) Lines 271	C
OVERLAY_cache_init(void * vedata) Lines 147	C
drw_engines_cache_init() Lines 1040	C
DRW_draw_render_loop_2d_ex(Depsgraph * depsgraph, ARegion * region, GPUViewport * viewport, const bContext * evil_C) Lines 2080	C
DRW_draw_view(const bContext * C) Lines 1500	C
image_main_region_draw(const bContext * C, ARegion * region) Lines 658	C
ED_region_do_draw(bContext * C, ARegion * region) Lines 551	C
wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Lines 732	C
wm_draw_window(bContext * C, wmWindow * win) Lines 875	C
wm_draw_update(bContext * C) Lines 1074	C
WM_main(bContext * C) Lines 642	C
main(int argc, const unsigned char * * UNUSED_argv_c) Lines 526	C
I can confirm this issue. In `OVERLAY_edit_uv_cache_init` the `active_tile` is `NULL`. ``` OVERLAY_edit_uv_cache_init(OVERLAY_Data * vedata) Lines 271 C OVERLAY_cache_init(void * vedata) Lines 147 C drw_engines_cache_init() Lines 1040 C DRW_draw_render_loop_2d_ex(Depsgraph * depsgraph, ARegion * region, GPUViewport * viewport, const bContext * evil_C) Lines 2080 C DRW_draw_view(const bContext * C) Lines 1500 C image_main_region_draw(const bContext * C, ARegion * region) Lines 658 C ED_region_do_draw(bContext * C, ARegion * region) Lines 551 C wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Lines 732 C wm_draw_window(bContext * C, wmWindow * win) Lines 875 C wm_draw_update(bContext * C) Lines 1074 C WM_main(bContext * C) Lines 642 C main(int argc, const unsigned char * * UNUSED_argv_c) Lines 526 C ```

Added subscriber: @dfelinto

Added subscriber: @dfelinto

@rjg specially this close to a release, reports "must have" the last worked version. Specially if you are setting it as high priority.
Right now there is no way of knowing whether it is an issue only in master (2.92), a regression (2.90 was fine, but not 2.91), or some long standing bug (e.g., broken since 2.83 or earlier)

@rjg specially this close to a release, reports "must have" the last worked version. Specially if you are setting it as high priority. Right now there is no way of knowing whether it is an issue only in master (2.92), a regression (2.90 was fine, but not 2.91), or some long standing bug (e.g., broken since 2.83 or earlier)
Author

Sorry for bad timing. Just tested it with official blender-2.90.1. There is no crash in this version.

Sorry for bad timing. Just tested it with official blender-2.90.1. There is no crash in this version.

@dfelinto Worked version are now included in the report. The issue affects 2.91.

@tiles No worries, this was directed at me.

@dfelinto Worked version are now included in the report. The issue affects 2.91. @tiles No worries, this was directed at me.

This issue was referenced by 549a1cac88

This issue was referenced by 549a1cac88a12193faf2251edb1134270e8a1360
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Jeroen Bakker self-assigned this 2020-11-18 13:14:59 +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#82810
No description provided.