Same result with latest openssl version of 1.1.0 stable
``` Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/kamailio -f /etc/kamailio/lb/kamailio.cfg -P /var/run/kamailio/kamail'. Program terminated with signal SIGSEGV, Segmentation fault. #0 ossl_init_thread_stop (locals=0x7fdcaca303f8) at ../crypto/init.c:335
warning: Source file is more recent than executable. 335 if (locals->async) { (gdb) info locals No locals. (gdb) l 330 { 331 /* Can't do much about this */ 332 if (locals == NULL) 333 return; 334 335 if (locals->async) { 336 #ifdef OPENSSL_INIT_DEBUG 337 fprintf(stderr, "OPENSSL_INIT: ossl_init_thread_stop: " 338 "ASYNC_cleanup_thread()\n"); 339 #endif (gdb) p locals $1 = (struct thread_local_inits_st *) 0x7fdcaca303f8 (gdb) p *locals Cannot access memory at address 0x7fdcaca303f8 ```