Alembic crashes Blender at export #89739

Closed
opened 2021-07-08 19:40:57 +02:00 by Robert Rioux · 16 comments

System Information
Operating system: macOS-10.15.7-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro Vega 64 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8
Worked: 2.83

Short description of error
Anything I try to export crashed Blender. Same for 2.92 alembicCrash.blend

Exact steps for others to reproduce the error
File, export, alembic.

**System Information** Operating system: macOS-10.15.7-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro Vega 64 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.18 **Blender Version** Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` Worked: 2.83 **Short description of error** Anything I try to export crashed Blender. Same for 2.92 [alembicCrash.blend](https://archive.blender.org/developer/F10217273/alembicCrash.blend) **Exact steps for others to reproduce the error** File, export, alembic.
Author

Added subscriber: @Funnybob

Added subscriber: @Funnybob

#89918 was marked as duplicate of this issue

#89918 was marked as duplicate of this issue
Author

I tried at the office on Linux on both 2.92 and 2.93 and it's fine so maybe it's a Mac thing?

I tried at the office on Linux on both 2.92 and 2.93 and it's fine so maybe it's a Mac thing?
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Can not recreate the crash on Windows


System Information

Graphics card : AMD Radeon(TM) 535 ATI Technologies .```

Can you please provide the crash logs?: https://docs.blender.org/manual/en/latest/troubleshooting/crash.html#macos

Also: can you please mention what exactly need to be exported to recreate the crash? Only selected objects need to export or the whole scene?
Can not recreate the crash on Windows --- **System Information** ```Operating system : Windows-10-10.0.18362-SP0 64 Bits Graphics card : AMD Radeon(TM) 535 ATI Technologies .``` Can you please provide the crash logs?: https://docs.blender.org/manual/en/latest/troubleshooting/crash.html#macos Also: can you please mention what exactly need to be exported to recreate the crash? Only selected objects need to export or the whole scene?
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Changed status from 'Archived' to: 'Needs User Info'

Changed status from 'Archived' to: 'Needs User Info'
Member

Crash report from the other thread: crashAlembic.rtf

Crashed thread stack trace:

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)\
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000001498\
Exception Note:        EXC_CORPSE_NOTIFY\

Thread 50 Crashed:\
0   ???                           	0x00007fff432ed393 0 + 140734320530323\
1   org.blenderfoundation.blender 	0x000000010fee3b9d blender::gpu::GLShader::vertformat_from_shader(GPUVertFormat*) const + 77\
2   org.blenderfoundation.blender 	0x0000000109e0d4d1 pygpu_shader_calc_format + 33\
3   org.blenderfoundation.blender 	0x000000010fff0b3b method_vectorcall_NOARGS + 139\
4   org.blenderfoundation.blender 	0x00000001100d7397 call_function + 407\
5   org.blenderfoundation.blender 	0x00000001100d41e3 _PyEval_EvalFrameDefault + 26435\
6   org.blenderfoundation.blender 	0x00000001100d84c2 _PyEval_EvalCode + 3282\
7   org.blenderfoundation.blender 	0x000000010ffe7c01 _PyFunction_Vectorcall + 257\
8   org.blenderfoundation.blender 	0x00000001100d7397 call_function + 407\
9   org.blenderfoundation.blender 	0x00000001100d4296 _PyEval_EvalFrameDefault + 26614\
10  org.blenderfoundation.blender 	0x00000001100d84c2 _PyEval_EvalCode + 3282\
11  org.blenderfoundation.blender 	0x000000010ffe7c01 _PyFunction_Vectorcall + 257\
12  org.blenderfoundation.blender 	0x000000010923290a bpy_app_generic_callback + 314\
13  org.blenderfoundation.blender 	0x00000001087c3dd2 BKE_callback_exec_id_depsgraph + 146\
14  org.blenderfoundation.blender 	0x000000010896e28d scene_graph_update_tagged + 461\
15  org.blenderfoundation.blender 	0x0000000109344d8e blender::io::alembic::export_startjob(void*, short*, short*, float*) + 174\
16  org.blenderfoundation.blender 	0x0000000108ca79a7 do_job_thread + 39\
17  ???                           	0x00007fff736d7109 0 + 140735129940233\
18  ???                           	0x00007fff736d2b8b 0 + 140735129922443\
\```

Triaging note: the only other reports (T84107 and T84309) that involve `vertformat_from_shader` and crashing are from the use of the [Blender Bezier Utilities Add-on](https:*github.com/Shriinivas/blenderbezierutils), which I believe you [reported upstream](https:*github.com/Shriinivas/blenderbezierutils/issues/38) as well Bob.
The later report has a python stack trace that points to `vbo_format = shader.format_calc()` in `batch_for_shader` in https://developer.blender.org/diffusion/B/browse/master/release/scripts/modules/gpu_extras/batch.py
I am not sure if this is helpful information or not.

@riouxr could you please try the latest Blender 2.93.2 and 3.0.0 daily builds to see if this issue has already been fixed?
https://builder.blender.org/download/daily/

And please answer Pratik's question from above:
>Also: can you please mention what exactly need to be exported to recreate the crash? Only selected objects need to export or the whole scene?

Thanks!
Crash report from the other thread: [crashAlembic.rtf](https://archive.blender.org/developer/F10226554/crashAlembic.rtf) Crashed thread stack trace: ``` Exception Type: EXC_BAD_ACCESS (SIGSEGV)\ Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000001498\ Exception Note: EXC_CORPSE_NOTIFY\ Thread 50 Crashed:\ 0 ??? 0x00007fff432ed393 0 + 140734320530323\ 1 org.blenderfoundation.blender 0x000000010fee3b9d blender::gpu::GLShader::vertformat_from_shader(GPUVertFormat*) const + 77\ 2 org.blenderfoundation.blender 0x0000000109e0d4d1 pygpu_shader_calc_format + 33\ 3 org.blenderfoundation.blender 0x000000010fff0b3b method_vectorcall_NOARGS + 139\ 4 org.blenderfoundation.blender 0x00000001100d7397 call_function + 407\ 5 org.blenderfoundation.blender 0x00000001100d41e3 _PyEval_EvalFrameDefault + 26435\ 6 org.blenderfoundation.blender 0x00000001100d84c2 _PyEval_EvalCode + 3282\ 7 org.blenderfoundation.blender 0x000000010ffe7c01 _PyFunction_Vectorcall + 257\ 8 org.blenderfoundation.blender 0x00000001100d7397 call_function + 407\ 9 org.blenderfoundation.blender 0x00000001100d4296 _PyEval_EvalFrameDefault + 26614\ 10 org.blenderfoundation.blender 0x00000001100d84c2 _PyEval_EvalCode + 3282\ 11 org.blenderfoundation.blender 0x000000010ffe7c01 _PyFunction_Vectorcall + 257\ 12 org.blenderfoundation.blender 0x000000010923290a bpy_app_generic_callback + 314\ 13 org.blenderfoundation.blender 0x00000001087c3dd2 BKE_callback_exec_id_depsgraph + 146\ 14 org.blenderfoundation.blender 0x000000010896e28d scene_graph_update_tagged + 461\ 15 org.blenderfoundation.blender 0x0000000109344d8e blender::io::alembic::export_startjob(void*, short*, short*, float*) + 174\ 16 org.blenderfoundation.blender 0x0000000108ca79a7 do_job_thread + 39\ 17 ??? 0x00007fff736d7109 0 + 140735129940233\ 18 ??? 0x00007fff736d2b8b 0 + 140735129922443\ \``` Triaging note: the only other reports (T84107 and T84309) that involve `vertformat_from_shader` and crashing are from the use of the [Blender Bezier Utilities Add-on](https:*github.com/Shriinivas/blenderbezierutils), which I believe you [reported upstream](https:*github.com/Shriinivas/blenderbezierutils/issues/38) as well Bob. The later report has a python stack trace that points to `vbo_format = shader.format_calc()` in `batch_for_shader` in https://developer.blender.org/diffusion/B/browse/master/release/scripts/modules/gpu_extras/batch.py I am not sure if this is helpful information or not. @riouxr could you please try the latest Blender 2.93.2 and 3.0.0 daily builds to see if this issue has already been fixed? https://builder.blender.org/download/daily/ And please answer Pratik's question from above: >Also: can you please mention what exactly need to be exported to recreate the crash? Only selected objects need to export or the whole scene? Thanks!
Author

Added subscriber: @pratik-2

Added subscriber: @pratik-2
Author

Oh! I totally forgot about that bezier crash addon. That is still the issue. If I turn if off, it all works. It has not been fixed in 2.93 or 3.0.

As for @pratik-2 's question, anything I export, selected object or the entire, will crash Blender.

Thanks guys!

Oh! I totally forgot about that bezier crash addon. That is still the issue. If I turn if off, it all works. It has not been fixed in 2.93 or 3.0. As for @pratik-2 's question, anything I export, selected object or the entire, will crash Blender. Thanks guys!
Contributor

Added subscriber: @Raimund58

Added subscriber: @Raimund58
Contributor

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Contributor

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.
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
5 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#89739
No description provided.