Maniphest T80340

Crash when deleting all characters of Text
Closed, Resolved

Assigned To
Philipp Oeser (lichtwerk)
Authored By
Facundo (Facu_FX)
Sep 1 2020, 8:49 PM
Tags
  • BF Blender
  • Modeling
Subscribers
Eduardo Romero (rocker_w)
Facundo (Facu_FX)
Philipp Oeser (lichtwerk)

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 960M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 445.87

Blender Version
Broken: version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: rB0330d1af29c0

Blend File:

Short description of error
There is a crash when removing all characters of a Text object.

Exact steps for others to reproduce the error
-Open the attached blend file.
-Select the Text, and press "Tab" key to edit the text.
-Remove all characters pressing Backspace. When you delete the last character, blender crashes.

It looks like one of the settings I configured in the object data tab doesn't allow an empty Text object, I don't know which one it is.

Revisions and Commits

rB Blender
Abandoned

Related Objects

Mentioned In
rBa505a8587360: Fix 3D text cursor alignment without any text

Event Timeline

Facundo (Facu_FX) created this task.Sep 1 2020, 8:49 PM
Facundo (Facu_FX) updated the task description.Sep 1 2020, 9:59 PM
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Sep 2 2020, 11:07 AM
Philipp Oeser (lichtwerk) claimed this task.
Philipp Oeser (lichtwerk) added a project: Modeling.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

Not getting a crash in Release builds, but I do get an assert in Debug builds (and there is division by zero involved so that might explain a crash):

BLI_assert failed: /blender/source/blender/blenkernel/intern/anim_path.c:249, where_on_path(), at 'cycl || ctime >= 0.0f'

Think I have a fix for this, will post shortly.

Campbell Barton (campbellbarton) closed this task as Resolved by committing rB2820f7be7637: Fix T80340: Crash with an empty text with Text on Curve.Sep 3 2020, 5:35 AM
Campbell Barton (campbellbarton) added a commit: rB2820f7be7637: Fix T80340: Crash with an empty text with Text on Curve.
Campbell Barton (campbellbarton) mentioned this in rBa505a8587360: Fix 3D text cursor alignment without any text.Sep 3 2020, 1:29 PM
Evan Wilson (EAW) added a subscriber: Eduardo Romero (rocker_w).