Page MenuHome

Edit Curve Crash
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.40

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-08 23:42, hash: rBeab9165c2512
Worked: (newest version of Blender that worked as expected)

Short description of error
Editing curve with UV window open Crashes Blender 2.93 & 2.92 Beta

Exact steps for others to reproduce the error

  1. Add a Curve in 3D viewport
  2. Drag another window and switch it to UV editor or choose the UV editor tab
  3. choose curve and go to edit mode
  4. Crash

Curve only crash when a UV window is open, this issue is in both 2.93 and 2.92 beta

Event Timeline

Falk David (filedescriptor) changed the task status from Needs Triage to Confirmed.Feb 9 2021, 2:19 PM
Falk David (filedescriptor) added projects: Modeling, Restricted Project.
Falk David (filedescriptor) changed the subtype of this task from "Report" to "Bug".

I can reproduce this crash on 2.93.0 Alpha, branch: master, commit date: 2021-02-09 07:13, hash: rB494913f17abc.

This was caused by rBf83aa830cd00. The issue was that in blender/source/blender/draw/engines/overlay/overlay_edit_uv.c:410 the line DRW_mesh_batch_cache_validate((Mesh *)object_eval->data); assumed that the object was a mesh, when it could be something else like a curve.