Regression: Crash Using Text on Curve #97718

Closed
opened 2022-04-29 20:18:24 +02:00 by Andrew Smith · 12 comments

System Information
Operating system: macOS-12.3.1-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Apple 4.1 Metal - 76.3

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-04-29 14:28, hash: 2f49908a5e
Worked:3.1.2

Short description of error
If I create a curve such as a circle and create a text object set the curve in "Text on Curve" in the object data properties blender crashes

Exact steps for others to reproduce the error

  • Add Text
  • Add a curve
  • In the Text Object Data Properties, go to {nav Font > Transform} and set the Curve in Text on Curve
    Blender Crashes

[Based on the default startup or an attached .blend file (as simple as possible)]test.blend

test.blend

error.txt

**System Information** Operating system: macOS-12.3.1-arm64-arm-64bit 64 Bits Graphics card: Apple M1 Apple 4.1 Metal - 76.3 **Blender Version** Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-04-29 14:28, hash: `2f49908a5e` Worked:3.1.2 **Short description of error** If I create a curve such as a circle and create a text object set the curve in "Text on Curve" in the object data properties blender crashes **Exact steps for others to reproduce the error** - Add Text - Add a curve - In the Text `Object Data Properties`, go to {nav Font > Transform} and set the Curve in `Text on Curve` Blender Crashes [Based on the default startup or an attached .blend file (as simple as possible)][test.blend](https://archive.blender.org/developer/F13038690/test.blend) [test.blend](https://archive.blender.org/developer/F13038697/test.blend) [error.txt](https://archive.blender.org/developer/F13038699/error.txt)
Author

Added subscriber: @andresmi

Added subscriber: @andresmi

#97741 was marked as duplicate of this issue

#97741 was marked as duplicate of this issue

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can confirm the crash:

Exception thrown: write access violation.
r_vec was nullptr.
>	blender.exe!BKE_where_on_path(const Object * ob, float ctime, float * r_vec, float * r_dir, float * r_quat, float * r_radius, float * r_weight) Line 323	C

 	blender.exe!vfont_to_curve(Object * ob, Curve * cu, int mode, VFontToCurveIter * iter_data, ListBase * r_nubase, const unsigned int * * r_text, int * r_text_len, bool * r_text_free, CharTrans * * r_chartransdata) Line 1399	C
 	blender.exe!BKE_vfont_to_curve_ex(Object * ob, Curve * cu, int mode, ListBase * r_nubase, const unsigned int * * r_text, int * r_text_len, bool * r_text_free, CharTrans * * r_chartransdata) Line 1727	C
 	blender.exe!BKE_curve_minmax(Curve * cu, bool use_radius, float * min, float * max) Line 5115	C++
 	blender.exe!BKE_curve_texspace_calc(Curve * cu) Line 525	C++
 	blender.exe!BKE_curve_eval_geometry(Depsgraph * depsgraph, Curve * curve) Line 5511	C++
 	blender.exe!blender::deg::DepsgraphNodeBuilder::build_object_data_geometry_datablock::__l13::<lambda>(Depsgraph * depsgraph) Line 1508	C++
 	[External Code]	
 	blender.exe!blender::deg::`anonymous namespace'::evaluate_node(const blender::deg::`anonymous-namespace'::DepsgraphEvalState * state, blender::deg::OperationNode * operation_node) Line 104	C++
 	blender.exe!blender::deg::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata) Line 116	C++
 	blender.exe!Task::operator()() Line 165	C++
 	blender.exe!tbb::internal::function_task<Task>::execute() Line 1060	C++
 	[External Code]	

It happened sometime between 7d7dd66ba7 (Feb 24) and c486da0238 (Apr 23)

I will bisect but confirming for now.

I can confirm the crash: ``` Exception thrown: write access violation. r_vec was nullptr. ``` ``` > blender.exe!BKE_where_on_path(const Object * ob, float ctime, float * r_vec, float * r_dir, float * r_quat, float * r_radius, float * r_weight) Line 323 C blender.exe!vfont_to_curve(Object * ob, Curve * cu, int mode, VFontToCurveIter * iter_data, ListBase * r_nubase, const unsigned int * * r_text, int * r_text_len, bool * r_text_free, CharTrans * * r_chartransdata) Line 1399 C blender.exe!BKE_vfont_to_curve_ex(Object * ob, Curve * cu, int mode, ListBase * r_nubase, const unsigned int * * r_text, int * r_text_len, bool * r_text_free, CharTrans * * r_chartransdata) Line 1727 C blender.exe!BKE_curve_minmax(Curve * cu, bool use_radius, float * min, float * max) Line 5115 C++ blender.exe!BKE_curve_texspace_calc(Curve * cu) Line 525 C++ blender.exe!BKE_curve_eval_geometry(Depsgraph * depsgraph, Curve * curve) Line 5511 C++ blender.exe!blender::deg::DepsgraphNodeBuilder::build_object_data_geometry_datablock::__l13::<lambda>(Depsgraph * depsgraph) Line 1508 C++ [External Code] blender.exe!blender::deg::`anonymous namespace'::evaluate_node(const blender::deg::`anonymous-namespace'::DepsgraphEvalState * state, blender::deg::OperationNode * operation_node) Line 104 C++ blender.exe!blender::deg::`anonymous namespace'::deg_task_run_func(TaskPool * pool, void * taskdata) Line 116 C++ blender.exe!Task::operator()() Line 165 C++ blender.exe!tbb::internal::function_task<Task>::execute() Line 1060 C++ [External Code] ``` It happened sometime between `7d7dd66ba7` (Feb 24) and `c486da0238` (Apr 23) I will bisect but confirming for now.
Germano Cavalcante changed title from Crash Using Text on Curve to Regression: Crash Using Text on Curve 2022-04-29 22:08:13 +02:00

Added subscribers: @Kent-Davis, @deadpin

Added subscribers: @Kent-Davis, @deadpin

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly

Apparently caused by 8e4c3c6a24 so @HooglyBoogly, can you check?

Apparently caused by 8e4c3c6a24 so @HooglyBoogly, can you check?

For Mac only.
Blender Version
Blender 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: c77597cd0e
Worked: (newest version of Blender that worked as expected)

Old version of March 8, 2022 during open document file it work there have no crash, but Blender 3.2.0 of April 30, 2022 very badly crash during open document.

I did check on my same document file.

https://developer.blender.org/T97741

For Mac only. Blender Version Blender 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: c77597cd0e Worked: (newest version of Blender that worked as expected) Old version of March 8, 2022 during open document file it work there have no crash, but Blender 3.2.0 of April 30, 2022 very badly crash during open document. I did check on my same document file. https://developer.blender.org/T97741

This issue was referenced by af2740abc0

This issue was referenced by af2740abc0b003fd9d307933480ace3a99803669

This issue was referenced by c09c3246eb

This issue was referenced by c09c3246eb3b23d032807bc3210b8dbb79aab229
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Hans Goudey self-assigned this 2022-05-03 09:25:35 +02:00
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
6 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#97718
No description provided.