#0 0x00007f3e4a8a9c2b in unlink_chunk (p=p@entry=0x55c6e6635b30, av=0x7f3e4a9f1ba0 ) at malloc.c:1610 #1 0x00007f3e4a8aad60 in _int_free (av=0x7f3e4a9f1ba0 , p=0x55c6e6635b30, have_lock=, have_lock@entry=0) at malloc.c:4593 #2 0x00007f3e4a8adcb3 in __GI___libc_free (mem=) at malloc.c:3367 #3 0x00007f3e3cee7695 in BN_clear_free (a=0x55c6e6650640) at crypto/bn/bn_lib.c:218 #4 0x00007f3e4a252d10 in ssh_dh_finalize () at /usr/src/debug/libssh/libssh-0.10.5/src/dh.c:282 #5 0x00007f3e4a246047 in ssh_dh_finalize () at /usr/src/debug/libssh/libssh-0.10.5/src/init.c:210 #6 _ssh_finalize (destructor=1) at /usr/src/debug/libssh/libssh-0.10.5/src/init.c:180 #7 libssh_destructor () at /usr/src/debug/libssh/libssh-0.10.5/src/init.c:213 #8 0x00007f3e4e7ab0e2 in _dl_call_fini (closure_map=closure_map@entry=0x7f3e4c02c510) at dl-call_fini.c:43 #9 0x00007f3e4e7aef4e in _dl_fini () at dl-fini.c:114 #10 0x00007f3e4a852066 in __run_exit_handlers (status=0, listp=0x7f3e4a9f1760 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:111 #11 0x00007f3e4a8521b0 in __GI_exit (status=) at exit.c:141 #12 0x00007f3e4a839857 in __libc_start_call_main (main=main@entry=0x55c6e3896df0, argc=argc@entry=1, argv=argv@entry=0x7ffe095d5928) at ../sysdeps/nptl/libc_start_call_main.h:74 #13 0x00007f3e4a83990a in __libc_start_main_impl (main=0x55c6e3896df0, argc=1, argv=0x7ffe095d5928, init=, fini=, rtld_fini=, stack_end=0x7ffe095d5918) at ../csu/libc-start.c:360 #14 0x000055c6e38b8325 in ()