Large Alembic crashes Blender 4.0 #111575
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#111575
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: 4090
Blender Version
Broken: 4.0 Aug 26th build and 3.6 stable build
Worked: n/a
Short description of error
Importing this alembic file causes a segfault:
https://www.dropbox.com/scl/fi/7ty5zf9s8u31swr03m34k/building_06.abc?rlkey=9z8ct3vrt7hhapd6se1gleswg&dl=0
Exact steps for others to reproduce the error
Try to import this file.
This was made with reality capture.
another alembic file from same software does work:
https://www.dropbox.com/scl/fi/7ty5zf9s8u31swr03m34k/building_06.abc?rlkey=9z8ct3vrt7hhapd6se1gleswg&dl=0
Notes:
This is due to overflowing the internal
BHead::len
field - which is only a signed 32-bit field.8 gigabytes....
In theory, you could just hit the model size limit that is generally supported.
If someone reports a crash with an int overflow cause, it will be closed simply as a limit to the supported geometry size.
Also share crash logs: https://docs.blender.org/manual/en/dev/troubleshooting/crash.html#windows
Logs attached. I did have someone test this on a non-blender app and there was no crash. So I know the data is good.
Can you also send
C:\Users\throb\AppData\Local\Temp\blender.crash.txt
?My apologies. Here it is.
Rob
Thanks. It seems
CustomData_blend_write
can't provide buffer for data. But still not sure what can cause this. May be just not enough memory.This is the same as #110334. It is not an out of memory condition but rather a current limitation. The incoming mesh (maybe called
building_06
) has 483million+ verts/points and this ends up overflowing one of Blender's core data structures when attempting to save the data - avec2f
so probably some form of UV coordinate or similar attribute (len
field wraps around to negative).This is a current limitation of Blender with no easy workaround.
I tried to be careful in my assumptions, but if you confirm, then yes, it seems that these are just limiting sizes.
Since #110334 is confirmed, closing this report. Feel free to subscribe to #110334.
As #110334 was originally about
foreach_set
, I'd like to keep this one open for the "large mesh" issue since more folks seem to be hitting it directly.Hi Jesse, I've read your diagnosis in #114154 and you've identified the problem perfectly with my data. I hope you'll be able to adapt Blender's software code to be able to use this kind of data.
As I explained, a decimated version of the 3D model with 65 million facets loads but Blender is in an infinite loop when I try to save the project in Blender format. Saving the imported OBJ 65M doesn't work.
with my thanks for the care and attention given to my report.
David.