Page MenuHome

Blender crashes: OpenVDB math::Transform::read throws exception.
Needs Information from Developers, NormalPublic

Description

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: rB239fbf7d936f
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

Event Timeline

This comment was removed by Honman (hman).
Ankit Meel (ankitm) renamed this task from Blender crashing on mac to Blender crashes: OpenVDB math::Transform::read throws exception. .Jul 17 2020, 8:15 AM
Ankit Meel (ankitm) changed the task status from Needs Triage to Needs Information from User.

@Honman (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

Hi Ankit,

Attached is the blender file that keeps

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,

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.

Ankit Meel (ankitm) changed the task status from Needs Information from User to Needs Information from Developers.EditedJul 18 2020, 3:18 PM

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

@Honman (hman) I am looking at older reports, is this still an issue? Or have anything changed?