Caller of dynamic library crashes with SIGSEV if D code allocates anything on heap.
Gabor Mezo via Digitalmars-d
digitalmars-d at puremagic.com
Sun Dec 14 09:12:38 PST 2014
I's solved by ketmar:
"did you called `rt_init()` for your dynamic library? you have to
do
that in the calling process. and don't forget to call `rt_term()`
on
exiting."
Yea, I missed that. It works. Thanks.
More information about the Digitalmars-d
mailing list