[erlang-bugs] Unloading then reloading crypto.so causes erlang core dump on Solaris 11

XinFeng Liu xinfeng.liu@REDACTED
Thu Sep 6 05:50:52 CEST 2012


I also tried another workaround in lib/crypto/c_src/crypto.c:
add
CRYPTO_set_mem_functions(crypto_alloc, crypto_realloc, crypto_free);
in reload(ErlNifEnv* env, void** priv_data, ERL_NIF_TERM load_info) before
"return 0;"
The couchDB testsuite runs fine.
Is this way O.K.?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20120906/3bd053f8/attachment.htm>


More information about the erlang-bugs mailing list