Alembic import crashes Blender #74200

Closed
opened 2020-02-25 16:36:01 +01:00 by Helmut Schulz · 11 comments

System Information
Operating system: Linux Ubuntu 16.04
Graphics card: Geforce 1050ti

Blender Version
Broken: 2.79, 2.80, 2.82
Worked: never

Short description of error
Alembic import of attached file crashes Blender immediately, message printed on console:
"Malloc returns null: len=18446744073709154320 in mesh_render_data_create_ex, total 24824732"

File contains mesh data with changing topology (some cloth simulated flying "paper" letters hitting a collider).
Tested on two similar machines, both running Ubuntu. Same symptom.

Exact steps for others to reproduce the error
Import file attached (exported from Houdini 18, loads back into Houdini 18 without complaints)
Based on the default startup or an attached .blend file (as simple as possible).s10-letters-rewrite.abc

**System Information** Operating system: Linux Ubuntu 16.04 Graphics card: Geforce 1050ti **Blender Version** Broken: 2.79, 2.80, 2.82 Worked: never **Short description of error** Alembic import of attached file crashes Blender immediately, message printed on console: "Malloc returns null: len=18446744073709154320 in mesh_render_data_create_ex, total 24824732" File contains mesh data with changing topology (some cloth simulated flying "paper" letters hitting a collider). Tested on two similar machines, both running Ubuntu. Same symptom. **Exact steps for others to reproduce the error** Import file attached (exported from Houdini 18, loads back into Houdini 18 without complaints) Based on the default startup or an attached .blend file (as simple as possible).[s10-letters-rewrite.abc](https://archive.blender.org/developer/F8369464/s10-letters-rewrite.abc)
Author

Added subscriber: @thorbad

Added subscriber: @thorbad
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member
  BLI_assert failed: source/blender/blenlib/intern/math_geom_inline.c:254, poly_to_tri_count(), at '!poly_count || corner_count > poly_count * 2'
  poly_count	const int	8596
  corner_count	const int	16
``` BLI_assert failed: source/blender/blenlib/intern/math_geom_inline.c:254, poly_to_tri_count(), at '!poly_count || corner_count > poly_count * 2' poly_count const int 8596 corner_count const int 16
Member

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

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

Added subscriber: @Rongix

Added subscriber: @Rongix

File is broken. You should export alembic as quads/triangles, not 'n-gons/point' cloud. Please remesh and adjust scale of your scene before importing to Blender.

Desktop 2020.02.29 - 12.40.09.01.mp4

File is broken. You should export alembic as quads/triangles, not 'n-gons/point' cloud. Please remesh and adjust scale of your scene before importing to Blender. [Desktop 2020.02.29 - 12.40.09.01.mp4](https://archive.blender.org/developer/F8379939/Desktop_2020.02.29_-_12.40.09.01.mp4)
Author

As said, could import back into Houdini, and Guerilla Render/Station could deal with it too, so it can't be utterly broken. Had no chance to find out what was wrong with it in regard to Blender though due to Blender's quick and ungraceful exit - even if some stuff is out of spec, bailing out with a core dump isn't what it should do, straight and square.

Meanwhile I found a workaround btw, adding subdivision in Houdini before exporting it helps (had already tried a remesh before I wrote the report here, without success though).

In #74200#882598, @Rongix wrote:
File is broken. You should export alembic as quads/triangles, not 'n-gons/point' cloud. Please remesh and adjust scale of your scene before importing to Blender.

As said, could import back into Houdini, and Guerilla Render/Station could deal with it too, so it can't be utterly broken. Had no chance to find out what was wrong with it in regard to Blender though due to Blender's quick and ungraceful exit - even if some stuff is out of spec, bailing out with a core dump isn't what it should do, straight and square. Meanwhile I found a workaround btw, adding subdivision in Houdini before exporting it helps (had already tried a remesh before I wrote the report here, without success though). > In #74200#882598, @Rongix wrote: > File is broken. You should export alembic as quads/triangles, not 'n-gons/point' cloud. Please remesh and adjust scale of your scene before importing to Blender. >
Sybren A. Stüvel self-assigned this 2020-03-10 14:36:44 +01:00

Removed subscriber: @Rongix

Removed subscriber: @Rongix

This issue was referenced by a6d7280b8e

This issue was referenced by a6d7280b8e1c8ac7c0d6ebcf134290836413168c

The file is certainly broken, as it's not accepted by Gaffer or the USD Alembic plugin either (both complain about invalid mesh data).

The file is certainly broken, as it's not accepted by Gaffer or the USD Alembic plugin either (both complain about invalid mesh data).

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#74200
No description provided.