(gdb) run --log-to-console 0 --port 12345 The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/anonimal/kovri/build/kovri --log-to-console 0 --port 12345 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Crypto: checking for AES-NI... Crypto: AES-NI is not available. Using library. The Kovri I2P Router Project Version 0.1.0-pre-alpha [New Thread 0x7ffff285d700 (LWP 25978)] [New Thread 0x7ffff205c700 (LWP 25979)] [New Thread 0x7ffff185b700 (LWP 25980)] [New Thread 0x7ffff105a700 (LWP 25981)] [New Thread 0x7ffff0859700 (LWP 25982)] [New Thread 0x7fffebfff700 (LWP 25983)] [New Thread 0x7fffeb7fe700 (LWP 25984)] [New Thread 0x7fffeaffd700 (LWP 25985)] [Thread 0x7fffeb7fe700 (LWP 25984) exited] [Thread 0x7fffeaffd700 (LWP 25985) exited] [New Thread 0x7fffeaffd700 (LWP 25986)] [New Thread 0x7fffeb7fe700 (LWP 25987)] [New Thread 0x7fffea1c8700 (LWP 25988)] [New Thread 0x7fffe99c7700 (LWP 25989)] [New Thread 0x7fffe91c6700 (LWP 25990)] [New Thread 0x7fffe89c5700 (LWP 25991)] [New Thread 0x7fffd3fff700 (LWP 25992)] [New Thread 0x7fffd37fe700 (LWP 25993)] ^C Thread 1 "kovri" received signal SIGINT, Interrupt. [Thread 0x7ffff105a700 (LWP 25981) exited] [Thread 0x7fffd3fff700 (LWP 25992) exited] [Thread 0x7ffff0859700 (LWP 25982) exited] [Thread 0x7ffff185b700 (LWP 25980) exited] Thread 1 "kovri" received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x0000000001060ce8 in std::default_delete::operator() (this=0x7fffbc000a40, __ptr=0x1682d20) at /usr/include/c++/5/bits/unique_ptr.h:76 #2 0x000000000105eee1 in std::unique_ptr >::~unique_ptr (this=0x7fffbc000a40, __in_chrg=) at /usr/include/c++/5/bits/unique_ptr.h:236 #3 0x000000000105a9b4 in i2p::garlic::GarlicRoutingSession::~GarlicRoutingSession (this=0x7fffbc000a30, __in_chrg=) at /home/anonimal/kovri/src/core/garlic.cc:87 #4 0x0000000001068772 in __gnu_cxx::new_allocator::destroy (this=0x7fffbc000a30, __p=0x7fffbc000a30) at /usr/include/c++/5/ext/new_allocator.h:124 #5 0x0000000001068705 in std::allocator_traits >::destroy (__a=..., __p=0x7fffbc000a30) at /usr/include/c++/5/bits/alloc_traits.h:542 #6 0x000000000106845d in std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x7fffbc000a20) at /usr/include/c++/5/bits/shared_ptr_base.h:531 #7 0x0000000000ed250c in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x7fffbc000a20) at /usr/include/c++/5/bits/shared_ptr_base.h:150 #8 0x0000000000ed1bcf in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x7fffbc001198, __in_chrg=) at /usr/include/c++/5/bits/shared_ptr_base.h:659 #9 0x0000000000fc7fc4 in std::__shared_ptr::~__shared_ptr (this=0x7fffbc001190, __in_chrg=) at /usr/include/c++/5/bits/shared_ptr_base.h:925 #10 0x0000000000fc7ffc in std::shared_ptr::~shared_ptr (this=0x7fffbc001190, __in_chrg=) at /usr/include/c++/5/bits/shared_ptr.h:93 #11 0x000000000105e8da in std::pair const, std::shared_ptr >::~pair (this=0x7fffbc001170, __in_chrg=) at /usr/include/c++/5/bits/stl_pair.h:96 #12 0x0000000001066d1c in __gnu_cxx::new_allocator const, std::shared_ptr > > >::destroy const, std::shared_ptr > > (this=0x1682d50, __p=0x7fffbc001170) at /usr/include/c++/5/ext/new_allocator.h:124 #13 0x00000000010662eb in std::allocator_traits const, std::shared_ptr > > > >::destroy const, std::shared_ptr > > (__a=..., __p=0x7fffbc001170) at /usr/include/c++/5/bits/alloc_traits.h:542 #14 0x0000000001064b47 in std::_Rb_tree, std::pair const, std::shared_ptr >, std::_Select1st const, std::shared_ptr > >, std::less >, std::allocator const, std::shared_ptr > > >::_M_destroy_node (this=0x1682d50, __p=0x7fffbc001150) at /usr/include/c++/5/bits/stl_tree.h:553 #15 0x000000000106261b in std::_Rb_tree, std::pair const, std::shared_ptr >, std::_Select1st const, std::shared_ptr > >, std::less >, std::allocator const, std::shared_ptr > > >::_M_drop_node (this=0x1682d50, __p=0x7fffbc001150) at /usr/include/c++/5/bits/stl_tree.h:561 #16 0x0000000001060aee in std::_Rb_tree, std::pair const, std::shared_ptr >, std::_Select1st const, std::shared_ptr > >, std::less >, std::allocator const, std::shared_ptr > > >::_M_erase (this=0x1682d50, __x=0x7fffbc001150) at /usr/include/c++/5/bits/stl_tree.h:1614 #17 0x0000000001060acb in std::_Rb_tree, std::pair const, std::shared_ptr >, std::_Select1st const, std::shared_ptr > >, std::less >, std::allocator const, std::shared_ptr > > >::_M_erase (this=0x1682d50, __x=0x7fffbc000b90) at /usr/include/c++/5/bits/stl_tree.h:1612 #18 0x000000000105ebde in std::_Rb_tree, std::pair const, std::shared_ptr >, std::_Select1st const, std::shared_ptr > >, std::less >, std::allocator const, std::shared_ptr > > >::~_Rb_tree (this=0x1682d50, __in_chrg=) at /usr/include/c++/5/bits/stl_tree.h:858 #19 0x000000000105e2c0 in std::map, std::shared_ptr, std::less >, std::allocator const, std::shared_ptr > > >::~map (this=0x1682d50, __in_chrg=) at /usr/include/c++/5/bits/stl_map.h:96 #20 0x000000000105c282 in i2p::garlic::GarlicDestination::~GarlicDestination (this=0x1682d20, __in_chrg=) at /home/anonimal/kovri/src/core/garlic.cc:388 #21 0x0000000000f174b8 in i2p::client::ClientDestination::~ClientDestination (this=0x1682d20, __in_chrg=) at /home/anonimal/kovri/src/client/destination.cc:146 #22 0x0000000000f162bd in __gnu_cxx::new_allocator::destroy (this=0x1682d20, __p=0x1682d20) at /usr/include/c++/5/ext/new_allocator.h:124 #23 0x0000000000f160f5 in std::allocator_traits >::destroy (__a=..., __p=0x1682d20) at /usr/include/c++/5/bits/alloc_traits.h:542 #24 0x0000000000f15dbb in std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x1682d10) at /usr/include/c++/5/bits/shared_ptr_base.h:531 #25 0x0000000000ed250c in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x1682d10) at /usr/include/c++/5/bits/shared_ptr_base.h:150 #26 0x0000000000ed1bcf in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x167bd58, __in_chrg=) at /usr/include/c++/5/bits/shared_ptr_base.h:659 #27 0x0000000000edbda4 in std::__shared_ptr::~__shared_ptr (this=0x167bd50, __in_chrg=) at /usr/include/c++/5/bits/shared_ptr_base.h:925 #28 0x0000000000edbdc0 in std::shared_ptr::~shared_ptr (this=0x167bd50, __in_chrg=) at /usr/include/c++/5/bits/shared_ptr.h:93 #29 0x0000000000f0a62c in std::pair const, std::shared_ptr >::~pair (this=0x167bd30, __in_chrg=) at /usr/include/c++/5/bits/stl_pair.h:96 #30 0x0000000000f147a4 in __gnu_cxx::new_allocator const, std::shared_ptr > > >::destroy const, std::shared_ptr > > (this=0x1639ba8 , __p=0x167bd30) at /usr/include/c++/5/ext/new_allocator.h:124 #31 0x0000000000f13e0f in std::allocator_traits const, std::shared_ptr > > > >::destroy const, std::shared_ptr > > (__a=..., __p=0x167bd30) at /usr/include/c++/5/bits/alloc_traits.h:542 #32 0x0000000000f13005 in std::_Rb_tree, std::pair const, std::shared_ptr >, std::_Select1st const, std::shared_ptr > >, std::less >, std::allocator const, std::shared_ptr > > >::_M_destroy_node (this=0x1639ba8 , __p=0x167bd10) ---Type to continue, or q to quit--- at /usr/include/c++/5/bits/stl_tree.h:553 #33 0x0000000000f10e4b in std::_Rb_tree, std::pair const, std::shared_ptr >, std::_Select1st const, std::shared_ptr > >, std::less >, std::allocator const, std::shared_ptr > > >::_M_drop_node (this=0x1639ba8 , __p=0x167bd10) at /usr/include/c++/5/bits/stl_tree.h:561 #34 0x0000000000f0e914 in std::_Rb_tree, std::pair const, std::shared_ptr >, std::_Select1st const, std::shared_ptr > >, std::less >, std::allocator const, std::shared_ptr > > >::_M_erase (this=0x1639ba8 , __x=0x167bd10) at /usr/include/c++/5/bits/stl_tree.h:1614 #35 0x0000000000f0f248 in std::_Rb_tree, std::pair const, std::shared_ptr >, std::_Select1st const, std::shared_ptr > >, std::less >, std::allocator const, std::shared_ptr > > >::clear (this=0x1639ba8 ) at /usr/include/c++/5/bits/stl_tree.h:1075 #36 0x0000000000f0c366 in std::map, std::shared_ptr, std::less >, std::allocator const, std::shared_ptr > > >::clear (this=0x1639ba8 ) at /usr/include/c++/5/bits/stl_map.h:810 #37 0x0000000000f05a79 in i2p::client::ClientContext::Stop (this=0x1639b80 ) at /home/anonimal/kovri/src/client/client_context.cc:120 #38 0x0000000000ed537b in i2p::util::Daemon_Singleton::Stop (this=0x1639840 ) at /home/anonimal/kovri/src/app/daemon.cc:139 #39 0x0000000000f04c14 in i2p::util::DaemonLinux::Stop (this=0x1639840 ) at /home/anonimal/kovri/src/app/daemon_linux.cc:133 #40 0x0000000000ed1602 in main (argc=5, argv=0x7fffffffe4a8) at /home/anonimal/kovri/src/app/main.cc:59 (gdb)