Text object can have an unset font (leading to crash in editmode) #114892
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#114892
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Mac OS Sanoma and Windows 11
Graphics card: M1 GPU and RTX 2070SUPER
Blender Version
Broken: 4.0 and latest 4.1 build (November 15, 03:36:52)
Worked: 3.65LTS and 3.66 (now I put this version so I can continue to work)
Short description of error
If open any blend file made previous week/month/year -> Blender loads the splashscreen and then closes.
If I open a file made in 2022 or older -> that somehow works...
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
I double click on a .blend file
In less than 1 seconds: Blender will flash and be gone
On MacOS I get the: Blender quit unexpectedly
On Windows nothing happens.
I share report on Windows and a random blender project file that I was working on previous week.
This is the same bug, on Mac OS Sonoma
Hi, can confirm the crash. Versioning code where crash occurred was added in
16e4eeb9c0
Simple null check will fix this, checking.
just tested the latest 4.0.1 release candidate -> same error like 4.0.0 (macos and windows)
Crash is occurring due to
Titlu articol
text object.Even in 3.6, crash triggered due to invalid string when switched to edit mode.
I wonder why
strinfo
is null and char buffer has invalid stringFor me in 3.6.6 and 3.6.5 LTS both titles (text and mesh) work and no crash.
@MiDe , could you check
030 O Muino card-simplified.blend
file (uploaded in last comment)? Switching to edit mode triggered the crash.Yes you are right but I am failing to understand why it matters :)
However, the file I shared (me) is not generating crash or ... anything. It just works in 3.6.5LTS and 3.6.6 :) MACOS Sonoma (and previous) and WINDOWS 11.
@lichtwerk ^
Possibly the text object data is corrupted. Or maybe it was created in quite old version
I do see some NULL checks on
strinfo
(some with commenting "old file"), so a similar check might make sense.However, I do get the crash going to editmode in 3.6 as well, so there is definitely something wrong/corrupted with
Titlu articol
.We should still be able to open these files I guess, will take over and make a PR for this.
@MiDe : you were mentioning other files that crash as well, mind sharing another one of those?
So the solution for this ticket is to fix 3.6.6 files so they can be opened by 4.0.0?
Yes, #114916 will add a workaround in versioning code so file can be opened in 4.0
But the "crash in edit mode" will persist in 4.0
OK thank you.
Personally I modified all my 32 projects (searched for those empty objects).
The problem is that I still wonder how did they appear... I saw one file and it had like 3 empty TEXT objects.
Way of Working: I made a master template (borders, stars, title, map) and kept just changing the central area only and saving the new project (all are here, www.europeoncamera.com). So I really don't know how by editing a text, sometimes it made a clone and that clone was empty. Maybe I pressed a command that I don't know and it made just a ghost of the text.
This is the master file that dates to 2022, last modified February 23.
Thank you Pratik B. & Philipp O.
I think this might give us a hint:
We dont have a font set here (this should not happen I believe, trying to find out why this can happen)
578b479998
fixed the crash, will reopen the report though to investigate further how we can ever get an unset font hereBlender fails to open several projects done on 3.4/3.5/3.6 versionsto Text object can have an unset font (leading to crash in editmode)Crash persists after selecting font in an empty slot 😅
Yep, could be that we are already in a dead end when this happened (and are unable to recover...)
Also weird that - when loading a local font - it is marked as packed?
Stepping down since I currently do not plan on actually working on this