Page MenuHome

Crash in sculpt undo with mask extract after dyntopo toggle
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Ubuntu 18.04
Graphics card: Nvidia 960

Blender Version
Broken: 2.83.8 LTS

Short description of error
Extract mask crashes blender during undo after toggling dyntopo

Exact steps for others to reproduce the error

  • open attached blend file
  • turn dyntopo on, then off
  • press F3 and search for "mask extract"
  • press "ok" on mask extract options
  • press ctrl-z to undo

File:

Crash log:

Event Timeline

Adding OPTYPE_UNDO to ot->flag in MESH_OT_paint_mask_extract in editmesh_mask_extract.c seems to fix this bug. Should all the operators in that file have that flag set?

Okay, why does it say I removed a subscriber. Let's try that again.

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Oct 23 2020, 9:27 AM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".

@Joseph Eagar (joeedh) : sounds right to flag OPTYPE_UNDO
It is similar in python, see T77557: Python Operators that add/remove ID data without an undo step crash Blender

This is related to new UNDO btw. it does not crash with Preferences > Experimental > Undo Legacy