Maniphest T71494

Assert on UNDO when sculpting with curves
Closed, ResolvedBUG

Assigned To
Campbell Barton (campbellbarton)
Authored By
Dalai Felinto (dfelinto)
Nov 11 2019, 5:22 PM
Tags
  • BF Blender (2.81)
  • Sculpt, Paint & Texture
Subscribers
Campbell Barton (campbellbarton)
Dalai Felinto (dfelinto)
Erick Tukuniata (erickblender)
Philipp Oeser (lichtwerk)
TheRedWaxPolice (TheRedWaxPolice)

Description

Blender Version
Broken: 2.81 HEAD/master (dfaaf50538c)
Worked: 2.80 (release version at least)

Short description of error
Crash (assert) when sculpting with curve stroke.

Exact steps for others to reproduce the error
Go to sculpt mode and change Stroke to Curve (from Space)

OR open:

And start sculpting. You will soon run into:

BLI_assert failed: //source/blender/blenkernel/intern/undo_system.c:455, BKE_undosys_step_push_init_with_type(), at 'ustack->step_init == ((void *)0)'

Full backtrace: P1160

Revisions and Commits

rB Blender

Related Objects

Mentioned In
T71206: Sculpt mode: various crashes with curve tool
Mentioned Here
rBdfaaf50538c2: Cleanup: remove icon files committed by accident
P1160 (An Untitled Masterwork)

Event Timeline

Dalai Felinto (dfelinto) triaged this task as High priority.Nov 11 2019, 5:22 PM
Dalai Felinto (dfelinto) created this task.
Dalai Felinto (dfelinto) added projects: BF Blender (2.81), Sculpt, Paint & Texture.
Dalai Felinto (dfelinto) added a subscriber: Campbell Barton (campbellbarton).
Dalai Felinto (dfelinto) merged a task: T71206: Sculpt mode: various crashes with curve tool .
Dalai Felinto (dfelinto) added subscribers: Erick Tukuniata (erickblender), TheRedWaxPolice (TheRedWaxPolice), Philipp Oeser (lichtwerk).

@Campbell Barton (campbellbarton) in release mode I don't get the crash but I get plenty of unfreed memory.

Campbell Barton (campbellbarton) claimed this task.Nov 12 2019, 12:21 PM
Dalai Felinto (dfelinto) moved this task from bcon3: Bugs to bcon4: Show Stoppers on the BF Blender (2.81) board.Nov 13 2019, 3:05 AM
Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved by committing rB4782e941c816: Fix T71494: brush curve transform crash in sculpt mode.Nov 13 2019, 4:20 AM
Campbell Barton (campbellbarton) added a commit: rB4782e941c816: Fix T71494: brush curve transform crash in sculpt mode.