Page MenuHome

Use after free when merging specific areas
Closed, ResolvedPublicBUG


System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Intel(R) Iris(R) Pro Graphics 580 Intel 4.5.0 - Build

Blender Version
Broken: rB37e7e1e77c3

Short description of error

Crash/use-after-free when merging some regions.

Exact steps for others to reproduce the error

With the attached file:

  1. Merge viewport into the text editor
  2. Merge viewport intro the clip editor
  3. BOOOM

Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Mar 16 2020, 9:39 PM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".

Actually no need to use a 10MB sample file or do any of the stated initial merging.

  • Start with factory startup (I used 2.83 master).
  • Change 3D Viewport to Movie Clip Editor
  • On Header, select "Open" and choose any image file
  • Merge Timeline (the editor below it) into Clip Editor. Crash

It crashes in ui_handler_panel() with invalid userdata sent to it.

Merging in the other direction (from Clip Editor) works fine. Also changing the Clip Editor context from "Tracking" to "Mask", everything works. Change view from "Clip" to "Graph" or "Dopesheet", everything works.