Page MenuHome

Crash when deleting all characters of Text
Closed, ResolvedPublic


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.

Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Wed, Sep 2, 11:07 AM
Philipp Oeser (lichtwerk) claimed this task.

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.