pyopenvdb gives a segmentation fault

52 views
Skip to first unread message

Douglas Castro

unread,
Feb 21, 2023, 8:56:51 PM2/21/23
to OpenVDB Forum
Hi all!
I have compiled pyopenvdb, but when I try to import it I receive the error below:

Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyopenvdb
Segmentation fault (core dumped)

Any idea on what's going on?

Thank you.

Ignacio Vizzo

unread,
Feb 22, 2023, 1:58:26 AM2/22/23
to OpenVDB Forum
The issue is being tracked here: https://github.com/AcademySoftwareFoundation/openvdb.

Workaround: Use clang instead of gcc

Ignacio Vizzo

unread,
Feb 22, 2023, 1:59:15 AM2/22/23
to OpenVDB Forum

Douglas Castro

unread,
Feb 23, 2023, 11:26:58 AM2/23/23
to OpenVDB Forum
Thank you for sharing this post.

I ended up successfully compiling the version 10.0.1 and pyopenvdb now works perfectly. The problem was with the master, but I haven't tried the fix with clang.
Reply all
Reply to author
Forward
0 new messages