Blender 2.8 Crash on Select Text on Curve #57095

Closed
opened 2018-10-08 08:15:06 +02:00 by Roel Koster · 5 comments
Member

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 #56879)

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.

crash3.blend

**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 #56879) **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. [crash3.blend](https://archive.blender.org/developer/F4984584/crash3.blend)
Author
Member

Added subscriber: @kostex

Added subscriber: @kostex
Member

Added subscribers: @mont29, @lichtwerk

Added subscribers: @mont29, @lichtwerk
Bastien Montagne was assigned by Philipp Oeser 2018-10-08 14:17:48 +02:00
Member

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 #56879 (3a09ff77a1) 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 @mont29 for his wisdom here...

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 #56879 (3a09ff77a1) 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 @mont29 for his wisdom here...

This has already been reported…

This has already been reported…

Closed as duplicate of #56064

Closed as duplicate of #56064
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#57095
No description provided.