Regression: Crash when loading with converted curves #112068
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
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#112068
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: Win11
Graphics card: RTX 2060
Blender Version
Broken: (blender 3.6.0, blender 3.6.1, blender 3.6.2, blender 3.6.3 release candidate, blender 4.0 alpha)
Worked: (blender 3.5x)
Seems to be caused by
2788fa915b
Short description of error
after use "Object - Convert - Curves" on geometry curves hair, attributes with random letters show up (anonymous attributes?) -- this has been the case prior to
2788fa915b
as well though. save the file and reload it would cause Blender to crash.Prior to
2788fa915b
, those attributes would have been gone after save/reload thoughExact steps for others to reproduce the error
Add
>Curves
>Fur
Object
>Convert
>Curves
Original report
in the attached files, "1.blend" has one cube with the setup described above, without saving the file each time dragged in, it would crash blender in a few times.
"2.blend" has 16 cubes of the same setup and usually crash on the 2nd time
"3.blend" has complex geometry hair setup as show in pic 4, after convert to curves and save reload, it instantly crash blender on my PC
there are many ".a_xxxxxxx" attributes created after convert to curves as shown in pic 5. if remove them, blender works fine without crash.
if same setup done in Blender 3.5x and reload into Blender 3.5 or 3.6, no crash regardless of the attributes
Can confirm, will check
Seems to be caused by
2788fa915b
Are AnonymousAttribute saved now? Or have they always been (but discarded on read) ?
Reading them reveals they are garbage:
WARN (bke.customdata): source/blender/blenkernel/intern/customdata.cc:4323 CustomData_layer_ensure_data_exists: CustomDataLayer->data is NULL for type 0.
CC @filedescriptor
Crush when loading with converted curvesto Regression: Crash when loading with converted curvesAFAIK I've been confused by this same problem a few times in the past. But I think the issue here is that before the order was:
and now it's
I think the issue is that the "write prepare" function changes data that was already written since it's embedded in the ID struct.