I compiled SimpleITK v1.2.4 with the currently Slicer environment. I got simular terminations as before.
I did attach lldb to a running Slicer process and entered sitk.Image(10,10,sitk.sitkUInt8)
:
This is the top of the stack trace I got:
thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
* frame #0: 0x00000001063553ba dyld`__abort_with_payload + 10
frame #1: 0x0000000106354bac dyld`abort_with_payload_wrapper_internal + 82
frame #2: 0x0000000106354bde dyld`abort_with_payload + 9
frame #3: 0x0000000106314a9d dyld`dyld::halt(char const*) + 343
frame #4: 0x0000000106314bc7 dyld`dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 167
frame #5: 0x00007fff7b20532e libdyld.dylib`dyld_stub_binder + 282
frame #6: 0x000000016233f3c8 _SimpleITK.cpython-36m-darwin.so
frame #7: 0x0000000152bd2c1a _SimpleITK.cpython-36m-darwin.so`void std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void (itk::simple::Image::*&)(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int), itk::simple::Image*&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&, std::__1::placeholders::__ph<3> const&, std::__1::placeholders::__ph<4> const&, std::__1::placeholders::__ph<5> const&>&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int>(std::__1::__bind<void (itk::simple::Image::*&)(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int), itk::simple::Image*&, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&, std::__1::placeholders::__ph<3> const&, std::__1::placeholders::__ph<4> const&, std::__1::placeholders::__ph<5> const&>&&&, unsigned int&&, unsigned int&&, unsigned int&&, unsigned int&&, unsigned int&&) [inlined] decltype(__f=0x00007ffeebeec2a8, __a0=0x00007ffeebeec2b8, __args=0x00007ffeebeebcfc, __args=0x00007ffeebeebcf8, __args=0x00007ffeebeebcf4, __args=0x00007ffeebeebcf0, __args=0x00007ffeebeebcec)).*fp(std::__1::forward<unsigned int, unsigned int, unsigned int, unsigned int, unsigned int>(fp1))) std::__1::__invoke<void (itk::simple::Image::*&)(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int), itk::simple::Image*&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, void>(void (itk::simple::Image::*&&&)(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int), itk::simple::Image*&&&, unsigned int&&, unsigned int&&, unsigned int&&, unsigned int&&, unsigned int&&) at type_traits:4264
From googling, I believe this is due to missing symbols.