The current issue is if I build a dynamic library with DUB and call externals form another application, and my D code allocates anything on heap, the calling process crashes with SIGSEV.
Don't forget to link against libphobos2.so using -defaultlib=libphobos2.so.