Maniphest T57095

Blender 2.8 Crash on Select Text on Curve
Closed, Duplicate

Assigned To
Bastien Montagne (mont29)
Authored By
Roel Koster (kostex)
Oct 8 2018, 8:15 AM
Tags
  • BF Blender
Subscribers
Bastien Montagne (mont29)
Philipp Oeser (lichtwerk)
Roel Koster (kostex)

Description

System Information
OSX 10.14

Blender Version
Broken: Daily Builds
Worked: Release

Short description of error
After opening a blend file with text on curves, blender 2.8 crashes (NOT duplicate of fixed error T56879)

Exact steps for others to reproduce the error

  • Factory Defaults
  • remove cube
  • Create Bezier Circle
  • Create Text
  • Assign Bezier Circle to Text "Text on Curve Transform"
  • Go into EDIT mode to see the text wrapped around curve
  • Go into OBJECT mode
  • rotate text on z axis (don't know if this is needed)
  • SAVE file
  • QUIT blender
  • START blender
  • OPEN file
  • Right click text to select it
  • Crash (not always, sometimes takes several edits/saves/open)

I've been trying to reproduce this consistently, but it doesn't always produce a crash right away. Sometimes it takes a couple of edits/saves/reopening to get blender to crash. Or it has something to do with the rotation or what object is selected during save. I can't tell for sure. Did my best ;-)
But I've attached a very simple scene where you only have to open it and rightclick to select the text to observe the crash. Maybe by analyzing that file you can find the exact reason why.

Related Objects

Mentioned Here
rB3a09ff77a1d7: Fix T56879: Blender2.8 Crash when Editing Text on Curve.
T56879: Blender2.8 Crash when Editing Text on Curve

Event Timeline

Roel Koster (kostex) created this task.Oct 8 2018, 8:15 AM
Roel Koster (kostex) updated the task description.Oct 8 2018, 8:17 AM
Philipp Oeser (lichtwerk) assigned this task to Bastien Montagne (mont29).Oct 8 2018, 2:17 PM
Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 50.
Philipp Oeser (lichtwerk) added subscribers: Bastien Montagne (mont29), Philipp Oeser (lichtwerk).

Can confirm the crash in you file.
Only happens when you have the N-Panel open (Transform specifically -> blender will try to calculate Dimensions then which leads to the crash)

1   raise                                                      0x7ffff1737eab 
2   abort                                                      0x7ffff17225b9 
3   BKE_vfont_to_curve_ex              font.c             1120 0x28733ea      
4   BKE_curve_minmax                   curve.c            5068 0x2816153      
5   BKE_curve_boundbox_calc            curve.c            310  0x28072e4      
6   BKE_curve_texspace_calc            curve.c            345  0x2807478      
7   BKE_curve_boundbox_get             curve.c            334  0x2807448      
8   BKE_object_boundbox_get            object.c           2536 0x29314f4      
9   BKE_object_dimensions_get          object.c           2564 0x29315e9      
10  rna_Object_dimensions_get          rna_object.c       895  0x2b820f0      
11  Object_dimensions_get              rna_object_gen.c   769  0x2b85758      
12  RNA_property_float_get_array       rna_access.c       2822 0x2a7ea7c

Now, as stated in the fix for T56879 (rB3a09ff77a1d7) BKE_vfont_to_curve_ex() expects evaluated data.
And thats the reason here, too (runtime curve_cache is NULL).

Not sure though, how to fix this, this is originating in RNA and I am unsure how to get a depsgrah here to reach evaluated data...
I'm kindly asking @Bastien Montagne (mont29) for his wisdom here...

Bastien Montagne (mont29) added a comment.Oct 8 2018, 5:20 PM

This has already been reported…

Bastien Montagne (mont29) closed this task as a duplicate of T56064: Blender crashes on selecting text-object.Oct 8 2018, 5:20 PM