Caller of dynamic library crashes with SIGSEV if D code allocates anything on heap.

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sun Dec 14 20:39:05 PST 2014


> 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.



More information about the Digitalmars-d mailing list