#0 0x00007f3e4a8a9c2b in unlink_chunk (p=p@entry=0x55c6e6635b30, av=0x7f3e4a9f1ba0 ) at malloc.c:1610 fd = 0x0 bk = 0x0 #1 0x00007f3e4a8aad60 in _int_free (av=0x7f3e4a9f1ba0 , p=0x55c6e6635b30, have_lock=, have_lock@entry=0) at malloc.c:4593 size = 688 fb = nextchunk = 0x55c6e6635de0 nextsize = 32 nextinuse = prevsize = bck = fwd = __PRETTY_FUNCTION__ = "_int_free" #2 0x00007f3e4a8adcb3 in __GI___libc_free (mem=) at malloc.c:3367 ar_ptr = p = err = 17 #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 rc = #6 _ssh_finalize (destructor=1) at /usr/src/debug/libssh/libssh-0.10.5/src/init.c:180 rc = #7 libssh_destructor () at /usr/src/debug/libssh/libssh-0.10.5/src/init.c:213 rc = #8 0x00007f3e4e7ab0e2 in _dl_call_fini (closure_map=closure_map@entry=0x7f3e4c02c510) at dl-call_fini.c:43 array = 0x7f3e4a2a16b0 sz = map = 0x7f3e4c02c510 fini_array = fini = #9 0x00007f3e4e7aef4e in _dl_fini () at dl-fini.c:114 l = 0x7f3e4c02c510 maps = 0x7ffe095d50b0 i = 28 l = nmaps = nloaded = ns = 0 do_audit = 0 __PRETTY_FUNCTION__ = "_dl_fini" #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 atfct = onfct = cxafct = arg = f = new_exitfn_called = 886 cur = 0x55c6e666dec0 #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 result = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140729055533352, 778787158478303625, 0, 140729055533368, 139905581568000, 94312721801264, -778317404185939575, -814487649515064951}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffe095d5928, 0x1}, data = {prev = 0x0, cleanup = 0x0, canceltype = 157112616}}} not_first_call = #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 ()