SCIInstitute / ShapeWorks

ShapeWorks
http://sciinstitute.github.io/ShapeWorks/
Other
103 stars 32 forks source link

Network Analysis #2029

Closed akenmorris closed 1 year ago

akenmorris commented 1 year ago

This PR adds stage one of the Network Analysis into Studio

image
akenmorris commented 1 year ago

Problem: open3d pypi package is not available for any system with lower glibc than 2.27. This will require us to update our linux builder from Ubuntu 16 to Ubuntu 18 and will set the minimum OpenSUSE version to 15.3.

akenmorris commented 1 year ago

Somehow I am getting a recurrence of #1947 , on mac now on this branch:

image

The only difference is adding Open3D.

akenmorris commented 1 year ago

Current problem is that mixing Open3D in, I get at the end of OptimizeTests embedded:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f80b618d7f1 in __GI_abort () at abort.c:79
#2  0x00007f80b61d6837 in __libc_message (action=action@entry=do_abort,
    fmt=fmt@entry=0x7f80b6303a7b "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007f80b61dd8ba in malloc_printerr (str=str@entry=0x7f80b6301c76 "free(): invalid pointer")
    at malloc.c:5342
#4  0x00007f80b61e4dec in _int_free (have_lock=0, p=0x555fb911dcc8, av=0x7f80b6538c40 <main_arena>)
    at malloc.c:4167
#5  __GI___libc_free (mem=0x555fb911dcd8) at malloc.c:3134
#6  0x0000555fb20961fc in __gnu_cxx::new_allocator<char>::deallocate (this=0x555fb911f528,
    __p=0x555fb911dcd8 "open3d.cpu.pybind.visualization.DrawObject")
    at /usr/include/c++/7/ext/new_allocator.h:125
#7  0x0000555fb20900f5 in std::allocator_traits<std::allocator<char> >::deallocate (__a=...,
    __p=0x555fb911dcd8 "open3d.cpu.pybind.visualization.DrawObject", __n=23970)
    at /usr/include/c++/7/bits/alloc_traits.h:462
#8  0x0000555fb2085226 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy (this=0x555fb911f528, __size=23969) at /usr/include/c++/7/bits/basic_string.h:226
#9  0x0000555fb2084e8c in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose (this=0x555fb911f528) at /usr/include/c++/7/bits/basic_string.h:221
#10 0x0000555fb207b68a in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string (this=0x555fb911f528, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/basic_string.h:647
#11 0x0000555fb2345c8a in __gnu_cxx::new_allocator<std::_Fwd_list_node<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::destroy<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (this=0x555fb63e7fc8, __p=0x555fb911f528)
    at /usr/include/c++/7/ext/new_allocator.h:140
#12 0x0000555fb233eb57 in std::allocator_traits<std::allocator<std::_Fwd_list_node<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::destroy<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (__a=..., __p=0x555fb911f528)
    at /usr/include/c++/7/bits/alloc_traits.h:487
#13 0x0000555fb2336a99 in std::_Fwd_list_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_erase_after (this=0x555fb63e7fc8, __pos=0x555fb63e7fc8, __last=0x0)
    at /usr/include/c++/7/bits/forward_list.tcc:90
#14 0x0000555fb232dd18 in std::_Fwd_list_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~_Fwd_list_base (this=0x555fb63e7fc8, __in_chrg=<optimized out>)
    at /usr/include/c++/7/bits/forward_list.h:329
#15 0x0000555fb23253d4 in std::forward_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~forward_list (this=0x555fb63e7fc8, __in_chrg=<optimized out>)
    at /usr/include/c++/7/bits/forward_list.h:559
#16 0x0000555fb2317805 in pybind11::detail::internals::~internals (this=0x555fb63e7e20,
    __in_chrg=<optimized out>) at /opt/conda/envs/shapeworks/include/pybind11/detail/internals.h:177
#17 0x0000555fb2322dc2 in pybind11::finalize_interpreter ()
    at /opt/conda/envs/shapeworks/include/pybind11/embed.h:258
#18 0x0000555fb2303367 in shapeworks::Optimize::Run (this=0x7ffcc9f371a0)
    at /shapeworks/Libs/Optimize/Optimize.cpp:188
#19 0x0000555fb2068203 in OptimizeTests_embedded_python_test_Test::TestBody (this=0x555fb4b174d0)
    at /shapeworks/Testing/OptimizeTests/OptimizeTests.cpp:387
#20 0x00007f80bda689d6 in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void> (
    object=0x555fb4b174d0, method=&virtual testing::Test::TestBody(),
akenmorris commented 1 year ago

Wow, finally:

image