Instant crash by clicking the Data Tab for Volumes --MacOS-- #107932

Closed
opened 2023-05-15 01:34:11 +02:00 by Guido · 7 comments

System Information
Operating system: macOS-13.3.1-x86_64-i386-64bit 64 Bits
Graphics card: Metal API AMD Radeon Pro 5700 XT 1.2

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-05-13 17:45, hash: eac620f7bf2c
broken between e83f46ea76 and 40e5954e39.

Short description of error
Instant Crash when clicking the Data Tab for Volumes and a Volume is selected:

libc++abi: terminating due to uncaught exception of type openvdb::v10_0::IoError: IoError: not a VDB file
[1] 98712 abort /Users/NURB/blender-git/build_darwin/bin/Blender.app/Contents/MacOS/Blender

Exact steps for others to reproduce the error
Open file, select volume and click on object data in properties editor

Possibly related to: #107252

**System Information** Operating system: macOS-13.3.1-x86_64-i386-64bit 64 Bits Graphics card: Metal API AMD Radeon Pro 5700 XT 1.2 **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-05-13 17:45, hash: `eac620f7bf2c` broken between e83f46ea7630 and 40e5954e3967. **Short description of error** Instant Crash when clicking the Data Tab for Volumes and a Volume is selected: libc++abi: terminating due to uncaught exception of type openvdb::v10_0::IoError: IoError: not a VDB file [1] 98712 abort /Users/NURB/blender-git/build_darwin/bin/Blender.app/Contents/MacOS/Blender **Exact steps for others to reproduce the error** Open file, select volume and click on object data in properties editor Possibly related to: https://projects.blender.org/blender/blender/issues/107252
Guido added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-05-15 01:34:11 +02:00

Hi, thank for report. I can't reproduce crash.

Your My
image image

Maybe this related with os...

Hi, thank for report. I can't reproduce crash. | Your | My | | -- | -- | | ![image](/attachments/67b4020d-16f5-483b-8e2f-854cebdc37c7) | ![image](/attachments/6afe5e3c-4a26-4890-87ad-3c2888895ed0) | Maybe this related with os...
Author

Hi, thank for report. I can't reproduce crash.

Your My
image image

Maybe this related with os...

You're on Windows ! I'm reporting for MacOS !
In you image it asks for : 'C:'
and there is no VDB file involved to load at all. As stated above.

> Hi, thank for report. I can't reproduce crash. > | Your | My | > | -- | -- | > | ![image](/attachments/67b4020d-16f5-483b-8e2f-854cebdc37c7) | ![image](/attachments/6afe5e3c-4a26-4890-87ad-3c2888895ed0) | > > Maybe this related with os... You're on Windows ! I'm reporting for MacOS ! In you image it asks for : 'C:\' and there is no VDB file involved to load at all. As stated above.

Tested it on my Mac - works with a new file with the same steps you described.
No crash!

But your file crashes also on my machine when switching to Object data.

As a test I've created a new Empty Volume in your scene, linked Suzanne to it and added also your Volume Displace with the same texture. Now I can switch to this Volume's Object Data without crash. So it seems to be a problem with your Volume Object. What's different is, that you seem to have a file path written in the object data to a location, in default state this is empty. Maybe that's a problem?

Operating system: macOS-13.3.1-x86_64-i386-64bit 64 Bits
Graphics card: Metal API AMD Radeon Pro 580 1.2

Tested it on my Mac - works with a new file with the same steps you described. No crash! But your file crashes also on my machine when switching to Object data. As a test I've created a new Empty Volume in your scene, linked Suzanne to it and added also your Volume Displace with the same texture. Now I can switch to this Volume's Object Data without crash. So it seems to be a problem with your Volume Object. What's different is, that you seem to have a file path written in the object data to a location, in default state this is empty. Maybe that's a problem? Operating system: macOS-13.3.1-x86_64-i386-64bit 64 Bits Graphics card: Metal API AMD Radeon Pro 580 1.2
Author

I'll test your findings out.
But basically I did nothing else than you did.
New scene and following a video online.

But with 'Possibly related to: #107252' I could make new files with factory settings and it crashes as stated by :

Jesse Yurkovich -- commented 3 weeks ago
Yeah, this has been a long-standing issue with dense volumes and is because of how they're displayed for the Viewport.

So it should be fixed not only for Win Nvidia but for MacOS too.

Maybe https://projects.blender.org/deadpin. // @deadpin // aka Jesse Yurkovich has an idea who can fix it before belnder 4.0

I'll test your findings out. But basically I did nothing else than you did. New scene and following a video online. But with 'Possibly related to: #107252' I could make new files with factory settings and it crashes as stated by : Jesse Yurkovich -- commented 3 weeks ago Yeah, this has been a long-standing issue with dense volumes and is because of how they're displayed for the Viewport. So it should be fixed not only for Win Nvidia but for MacOS too. Maybe https://projects.blender.org/deadpin. // @deadpin // aka Jesse Yurkovich has an idea who can fix it before belnder 4.0

Can confirm,

Trace:

0   libsystem_kernel.dylib        	    0x7ff804f7922a __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff804fb0f7b pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff804efad3f __abort + 139
3   libsystem_c.dylib             	    0x7ff804efacb4 abort + 138
4   libc++abi.dylib               	    0x7ff804f6b082 abort_message + 241
5   libc++abi.dylib               	    0x7ff804f5c225 demangling_terminate_handler() + 242
6   libobjc.A.dylib               	    0x7ff804c5902b _objc_terminate() + 104
7   libc++abi.dylib               	    0x7ff804f6a4a5 std::__terminate(void (*)()) + 8
8   libc++abi.dylib               	    0x7ff804f6ceeb __cxa_rethrow + 99
9   libopenvdb.dylib              	       0x12a285829 openvdb::v10_0::io::File::open(bool, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> const&) + 7113
10  Blender                       	       0x10b46f034 BKE_volume_load + 1108
11  Blender                       	       0x10bd5467e VolumeGrids_load_call + 30
12  Blender                       	       0x10bba0e72 RNA_function_call + 18
13  Blender                       	       0x10bd8f073 pyrna_func_call + 1299
14  Blender                       	       0x11302fc15 _PyObject_MakeTpCall + 373
15  Blender                       	       0x11310e55b call_function + 971
16  Blender                       	       0x11310a841 _PyEval_EvalFrameDefault + 24817
17  Blender                       	       0x113104622 _PyEval_Vector + 146
18  Blender                       	       0x10bd91615 bpy_class_call + 1029
19  Blender                       	       0x10bd20a0b panel_draw + 123
20  Blender                       	       0x10bdab6a9 ed_panel_draw(bContext const*, ARegion*, ListBase*, PanelType*, Panel*, int, int, char*, char const*) + 1017
21  Blender                       	       0x10bdaaea8 ED_region_panels_layout_ex + 840
22  Blender                       	       0x1105efb8b buttons_main_region_layout + 187
23  Blender                       	       0x10bda62d9 ED_region_do_layout + 105
24  Blender                       	       0x10b7f61bf wm_draw_update + 1215
25  Blender                       	       0x10b7f2770 WM_main + 48
26  Blender                       	       0x10b06b99e main + 878
27  dyld                          	    0x7ff804c7e310 start + 2432

broken between 40e5954e39 and 40e5954e39. Will bisect.

Can confirm, Trace: ``` 0 libsystem_kernel.dylib 0x7ff804f7922a __pthread_kill + 10 1 libsystem_pthread.dylib 0x7ff804fb0f7b pthread_kill + 263 2 libsystem_c.dylib 0x7ff804efad3f __abort + 139 3 libsystem_c.dylib 0x7ff804efacb4 abort + 138 4 libc++abi.dylib 0x7ff804f6b082 abort_message + 241 5 libc++abi.dylib 0x7ff804f5c225 demangling_terminate_handler() + 242 6 libobjc.A.dylib 0x7ff804c5902b _objc_terminate() + 104 7 libc++abi.dylib 0x7ff804f6a4a5 std::__terminate(void (*)()) + 8 8 libc++abi.dylib 0x7ff804f6ceeb __cxa_rethrow + 99 9 libopenvdb.dylib 0x12a285829 openvdb::v10_0::io::File::open(bool, std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)> const&) + 7113 10 Blender 0x10b46f034 BKE_volume_load + 1108 11 Blender 0x10bd5467e VolumeGrids_load_call + 30 12 Blender 0x10bba0e72 RNA_function_call + 18 13 Blender 0x10bd8f073 pyrna_func_call + 1299 14 Blender 0x11302fc15 _PyObject_MakeTpCall + 373 15 Blender 0x11310e55b call_function + 971 16 Blender 0x11310a841 _PyEval_EvalFrameDefault + 24817 17 Blender 0x113104622 _PyEval_Vector + 146 18 Blender 0x10bd91615 bpy_class_call + 1029 19 Blender 0x10bd20a0b panel_draw + 123 20 Blender 0x10bdab6a9 ed_panel_draw(bContext const*, ARegion*, ListBase*, PanelType*, Panel*, int, int, char*, char const*) + 1017 21 Blender 0x10bdaaea8 ED_region_panels_layout_ex + 840 22 Blender 0x1105efb8b buttons_main_region_layout + 187 23 Blender 0x10bda62d9 ED_region_do_layout + 105 24 Blender 0x10b7f61bf wm_draw_update + 1215 25 Blender 0x10b7f2770 WM_main + 48 26 Blender 0x10b06b99e main + 878 27 dyld 0x7ff804c7e310 start + 2432 ``` broken between 40e5954e3967 and 40e5954e3967. Will bisect.
Richard Antalik added
Module
Modeling
Status
Confirmed
Priority
High
and removed
Status
Needs Triage
Priority
Normal
labels 2023-05-24 06:01:30 +02:00

I was unable to bisect this, because no set of libraries would allow me to compile successfully.

I was unable to bisect this, because no set of libraries would allow me to compile successfully.

I suspect it's the same issue as #107184, where it's not handling the exception for some reason.

I could not reproduce the crash on macOS with an M1 processor, may just be Intel.

I suspect it's the same issue as #107184, where it's not handling the exception for some reason. I could not reproduce the crash on macOS with an M1 processor, may just be Intel.
Brecht Van Lommel self-assigned this 2023-05-24 17:58:08 +02:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-05-24 17:59:35 +02: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
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#107932
No description provided.