Blender crashes: OpenVDB math::Transform::read throws exception. #79013

Open
opened 2020-07-17 06:46:43 +02:00 by Honman · 11 comments

System Information
Operating system: Darwin-19.5.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.9.15

Blender Version
Broken: version: 2.83.2, branch: master, commit date: 2020-07-09 05:50, hash: 239fbf7d93
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender keeps crashing.

Exact steps for others to reproduce the error
I have a project were I created an animation of modified arrays. Everytime I play it it crashes

Crash report: https://developer.blender.org/P1536

crashed thread:

	Thread 35 Crashed:
0   libsystem_kernel.dylib        	0x00007fff726c733a __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff72783e60 pthread_kill + 430
2   libsystem_c.dylib             	0x00007fff7264e8a2 __abort + 139
3   libsystem_c.dylib             	0x00007fff7264e817 abort + 135
4   libc++abi.dylib               	0x00007fff6f8ae458 abort_message + 231
5   libc++abi.dylib               	0x00007fff6f89f8bf demangling_terminate_handler() + 262
6   libobjc.A.dylib               	0x00007fff713da5b1 _objc_terminate() + 104
7   libc++abi.dylib               	0x00007fff6f8ad887 std::__terminate(void (*)()) + 8
8   libc++abi.dylib               	0x00007fff6f8b01a2 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 27
9   libc++abi.dylib               	0x00007fff6f8b0169 __cxa_throw + 113
10  org.blenderfoundation.blender 	0x0000000110291c61 openvdb::v7_0::math::Transform::read(std::__1::basic_istream<char, std::__1::char_traits<char> >&) + 4801
11  org.blenderfoundation.blender 	0x000000011026082b openvdb::v7_0::io::Archive::readGrid(std::__1::shared_ptr<openvdb::v7_0::GridBase>, openvdb::v7_0::io::GridDescriptor const&, std::__1::basic_istream<char, std::__1::char_traits<char> >&) + 1787
12  org.blenderfoundation.blender 	0x0000000110286589 openvdb::v7_0::io::File::Impl::unarchive(openvdb::v7_0::io::File const&, std::__1::shared_ptr<openvdb::v7_0::GridBase>&, openvdb::v7_0::io::GridDescriptor const&, openvdb::v7_0::io::File::Impl::NoBBox) + 57
13  org.blenderfoundation.blender 	0x0000000110282c91 openvdb::v7_0::io::File::readGridByName(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, openvdb::v7_0::math::BBox<openvdb::v7_0::math::Vec3<double> > const&) + 465
14  org.blenderfoundation.blender 	0x0000000110282ab6 openvdb::v7_0::io::File::readGrid(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 54
15  org.blenderfoundation.blender 	0x00000001128a2cc9 MANTA::updateGridFromVDB(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, float*, bool) + 361
16  org.blenderfoundation.blender 	0x0000000112890985 MANTA::updateGridFromFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, float*, bool) + 869
17  org.blenderfoundation.blender 	0x0000000112890cee MANTA::updateNoiseStructures(FluidModifierData*, int) + 558
18  org.blenderfoundation.blender 	0x000000011287e2b5 manta_update_noise_structures + 21
19  org.blenderfoundation.blender 	0x000000010df34cd0 BKE_fluid_modifier_processDomain + 3168
20  org.blenderfoundation.blender 	0x000000010df316ce BKE_fluid_modifier_do + 142
21  org.blenderfoundation.blender 	0x000000010e3ad4f6 applyModifier + 54
22  org.blenderfoundation.blender 	0x000000010dea5b0a mesh_calc_modifiers + 2778
23  org.blenderfoundation.blender 	0x000000010dea4d6b mesh_build_data + 123
24  org.blenderfoundation.blender 	0x000000010dea4035 makeDerivedMesh + 133
25  org.blenderfoundation.blender 	0x000000010dfe1281 BKE_object_handle_data_update + 1089
26  org.blenderfoundation.blender 	0x000000010dfe1704 BKE_object_eval_uber_data + 52
27  org.blenderfoundation.blender 	0x000000010e9f36ba DEG::(anonymous namespace)::deg_task_run_func(TaskPool*, void*, int) + 138
28  org.blenderfoundation.blender 	0x00000001142cadbc task_scheduler_thread_run(void*) + 364
29  libsystem_pthread.dylib       	0x00007fff72784109 _pthread_start + 148
30  libsystem_pthread.dylib       	0x00007fff7277fb8b thread_start + 15
**System Information** Operating system: Darwin-19.5.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 5500M OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.9.15 **Blender Version** Broken: version: 2.83.2, branch: master, commit date: 2020-07-09 05:50, hash: `239fbf7d93` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender keeps crashing. **Exact steps for others to reproduce the error** I have a project were I created an animation of modified arrays. Everytime I play it it crashes Crash report: https://developer.blender.org/P1536 crashed thread: ``` Thread 35 Crashed: 0 libsystem_kernel.dylib 0x00007fff726c733a __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff72783e60 pthread_kill + 430 2 libsystem_c.dylib 0x00007fff7264e8a2 __abort + 139 3 libsystem_c.dylib 0x00007fff7264e817 abort + 135 4 libc++abi.dylib 0x00007fff6f8ae458 abort_message + 231 5 libc++abi.dylib 0x00007fff6f89f8bf demangling_terminate_handler() + 262 6 libobjc.A.dylib 0x00007fff713da5b1 _objc_terminate() + 104 7 libc++abi.dylib 0x00007fff6f8ad887 std::__terminate(void (*)()) + 8 8 libc++abi.dylib 0x00007fff6f8b01a2 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) + 27 9 libc++abi.dylib 0x00007fff6f8b0169 __cxa_throw + 113 10 org.blenderfoundation.blender 0x0000000110291c61 openvdb::v7_0::math::Transform::read(std::__1::basic_istream<char, std::__1::char_traits<char> >&) + 4801 11 org.blenderfoundation.blender 0x000000011026082b openvdb::v7_0::io::Archive::readGrid(std::__1::shared_ptr<openvdb::v7_0::GridBase>, openvdb::v7_0::io::GridDescriptor const&, std::__1::basic_istream<char, std::__1::char_traits<char> >&) + 1787 12 org.blenderfoundation.blender 0x0000000110286589 openvdb::v7_0::io::File::Impl::unarchive(openvdb::v7_0::io::File const&, std::__1::shared_ptr<openvdb::v7_0::GridBase>&, openvdb::v7_0::io::GridDescriptor const&, openvdb::v7_0::io::File::Impl::NoBBox) + 57 13 org.blenderfoundation.blender 0x0000000110282c91 openvdb::v7_0::io::File::readGridByName(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, openvdb::v7_0::math::BBox<openvdb::v7_0::math::Vec3<double> > const&) + 465 14 org.blenderfoundation.blender 0x0000000110282ab6 openvdb::v7_0::io::File::readGrid(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 54 15 org.blenderfoundation.blender 0x00000001128a2cc9 MANTA::updateGridFromVDB(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, float*, bool) + 361 16 org.blenderfoundation.blender 0x0000000112890985 MANTA::updateGridFromFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, float*, bool) + 869 17 org.blenderfoundation.blender 0x0000000112890cee MANTA::updateNoiseStructures(FluidModifierData*, int) + 558 18 org.blenderfoundation.blender 0x000000011287e2b5 manta_update_noise_structures + 21 19 org.blenderfoundation.blender 0x000000010df34cd0 BKE_fluid_modifier_processDomain + 3168 20 org.blenderfoundation.blender 0x000000010df316ce BKE_fluid_modifier_do + 142 21 org.blenderfoundation.blender 0x000000010e3ad4f6 applyModifier + 54 22 org.blenderfoundation.blender 0x000000010dea5b0a mesh_calc_modifiers + 2778 23 org.blenderfoundation.blender 0x000000010dea4d6b mesh_build_data + 123 24 org.blenderfoundation.blender 0x000000010dea4035 makeDerivedMesh + 133 25 org.blenderfoundation.blender 0x000000010dfe1281 BKE_object_handle_data_update + 1089 26 org.blenderfoundation.blender 0x000000010dfe1704 BKE_object_eval_uber_data + 52 27 org.blenderfoundation.blender 0x000000010e9f36ba DEG::(anonymous namespace)::deg_task_run_func(TaskPool*, void*, int) + 138 28 org.blenderfoundation.blender 0x00000001142cadbc task_scheduler_thread_run(void*) + 364 29 libsystem_pthread.dylib 0x00007fff72784109 _pthread_start + 148 30 libsystem_pthread.dylib 0x00007fff7277fb8b thread_start + 15 ```
Author

Added subscriber: @Hman

Added subscriber: @Hman
Author

This comment was removed by @Hman

*This comment was removed by @Hman*
Ankit Meel changed title from Blender crashing on mac to Blender crashes: OpenVDB math::Transform::read throws exception. 2020-07-17 08:15:12 +02:00
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

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

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

@Hman please remove the comment with the crash log as it's contained in the question now.
Also, add a minimal, simplified .blend file that can help us redo the crash. If that happens on default setup, let us know the steps.

Note: https://github.com/AcademySoftwareFoundation/openvdb/blob/master/openvdb/math/Transform.cc#L68

@Hman please remove the comment with the crash log as it's contained in the question now. Also, add a minimal, simplified .blend file that can help us redo the crash. If that happens on default setup, let us know the steps. Note: https://github.com/AcademySoftwareFoundation/openvdb/blob/master/openvdb/math/Transform.cc#L68
Author

Hi Ankit,

Attached is the blender file that keeps amazingArrayDisplay.blend

If you play the animation it will crash. Let me know if a web ex call is needed so I can show you my screen.

Also, please let me know if you feel an eGPU would be much of a benefit or if I should just try to build a desktop from scratch.

Thank you.

Hi Ankit, Attached is the blender file that keeps [amazingArrayDisplay.blend](https://archive.blender.org/developer/F8702126/amazingArrayDisplay.blend) If you play the animation it will crash. Let me know if a web ex call is needed so I can show you my screen. Also, please let me know if you feel an eGPU would be much of a benefit or if I should just try to build a desktop from scratch. Thank you.
Author

Hi Ankit,

For the smoke domain I reduced the value of the resolution division from 128 to 64. This stopped the application from crashing.

Can you explain why this causes it to crash?

Thanks.

Hi Ankit, For the smoke domain I reduced the value of the resolution division from 128 to 64. This stopped the application from crashing. Can you explain why this causes it to crash? Thanks.
Member

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

Hey!
I couldn't get the crash with 65 resolution factor and upto 125 frames. 128 res would take forever for this poor laptop to bake. But since you managed to get this crash reliably with 128 res, and there's a crash trace, I'll mark it confirmed.
I get this in the console though.

ERROR (bke.rigidbody): source/blender/blenkernel/intern/rigidbody.c:378 rigidbody_get_shape_convexhull_from_mesh: no vertices to define Convex Hull collision shape with
ERROR (bke.rigidbody): source/blender/blenkernel/intern/rigidbody.c:378 rigidbody_get_shape_convexhull_from_mesh: no vertices to define Convex Hull collision shape with
ERROR (bke.rigidbody): blender/blenkernel/intern/rigidbody.c:378 rigidbody_get_shape_convexhull_from_mesh: no vertices to define Convex Hull collision shape with
ERROR (bke.rigidbody): source/blender/blenkernel/intern/rigidbody.c:378 rigidbody_get_shape_convexhull_from_mesh: no vertices to define Convex Hull collision shape with

Off-topic:
Also I can't comment on the external GPU with Blender on mac. you may want to check the compatibility in https://docs.blender.org

Hey! I couldn't get the crash with 65 resolution factor and upto 125 frames. 128 res would take forever for this poor laptop to bake. But since you managed to get this crash reliably with 128 res, and there's a crash trace, I'll mark it confirmed. I get this in the console though. ``` ERROR (bke.rigidbody): source/blender/blenkernel/intern/rigidbody.c:378 rigidbody_get_shape_convexhull_from_mesh: no vertices to define Convex Hull collision shape with ERROR (bke.rigidbody): source/blender/blenkernel/intern/rigidbody.c:378 rigidbody_get_shape_convexhull_from_mesh: no vertices to define Convex Hull collision shape with ERROR (bke.rigidbody): blender/blenkernel/intern/rigidbody.c:378 rigidbody_get_shape_convexhull_from_mesh: no vertices to define Convex Hull collision shape with ERROR (bke.rigidbody): source/blender/blenkernel/intern/rigidbody.c:378 rigidbody_get_shape_convexhull_from_mesh: no vertices to define Convex Hull collision shape with ``` Off-topic: Also I can't comment on the external GPU with Blender on mac. you may want to check the compatibility in https://docs.blender.org - https://blender.stackexchange.com/a/135992/ - https://blender.stackexchange.com/a/123005/ - https://blender.stackexchange.com/a/82811/ - https://egpu.io/forums/mac-setup/macbook-pro-retina-15-inch-early-2013-akitio-node-1080-ti-external-monitor/#post-14571

Added subscriber: @iss

Added subscriber: @iss

@Hman I am looking at older reports, is this still an issue? Or have anything changed?

@Hman I am looking at older reports, is this still an issue? Or have anything changed?
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:46:36 +01:00
Hans Goudey added
Status
Needs Information from User
and removed
Status
Needs Info from Developers
labels 2024-03-07 16:05:06 +01:00
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
3 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#79013
No description provided.