Maniphest T76972

Heap-use-after-free when closing Save File editor in full screen mode
Closed, Duplicate

Assigned To
Jacques Lucke (JacquesLucke)
Authored By
Sybren A. Stüvel (sybren)
May 22 2020, 3:05 PM
Tags
  • BF Blender
Subscribers
Sybren A. Stüvel (sybren)

Description

Blender Version
Broken: 2.83 beta (rBb75ce05c3b0f4487)
Worked: the commit before it

Short description of error
Closing the File Save editor causes a heap-use-after-free error.

Exact steps for others to reproduce the error

  • Build Blender in debug mode with ASAN enabled
  • Run --factory-startup --python-expr "import bpy; bpy.context.preferences.view.filebrowser_display_type = 'SCREEN'"
  • Press {Key Esc} to close the splash.
  • Press {Key Ctrl+S} and immediately {Key Esc} to close the File Save editor.
  • Blender exits because ASAN detected a heap-use-after-free error.

Bisecting showed that this was introduced in rBb75ce05c3b0f4487.

Related Objects

Mentioned Here
rBb75ce05c3b0f: Fix T75292: File-select events not handled while modal handler is active

Event Timeline

Sybren A. Stüvel (sybren) changed the task status from Needs Triage to Confirmed.May 22 2020, 3:05 PM
Sybren A. Stüvel (sybren) assigned this task to Jacques Lucke (JacquesLucke).
Sybren A. Stüvel (sybren) created this task.