$ gdb build/kovri GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from build/kovri...done. (gdb) handle SIGINT nostop print pass SIGINT is used by the debugger. Are you sure you want to change it? (y or n) y Signal Stop Print Pass to program Description SIGINT No Yes Yes Interrupt (gdb) run --log-to-console 0 Starting program: /home/anonimal/kovri/build/kovri --log-to-console 0 [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 5897)] [New Thread 0x7ffff205c700 (LWP 5898)] [New Thread 0x7ffff185b700 (LWP 5899)] [New Thread 0x7ffff105a700 (LWP 5900)] [New Thread 0x7ffff0859700 (LWP 5901)] [New Thread 0x7fffebfff700 (LWP 5902)] [New Thread 0x7fffeb7fe700 (LWP 5903)] [Thread 0x7fffeb7fe700 (LWP 5903) exited] [Thread 0x7fffebfff700 (LWP 5902) exited] [New Thread 0x7fffeb7fe700 (LWP 5904)] [New Thread 0x7fffebfff700 (LWP 5905)] [New Thread 0x7fffea9c9700 (LWP 5906)] [New Thread 0x7fffea1c8700 (LWP 5907)] [New Thread 0x7fffe99c7700 (LWP 5908)] [New Thread 0x7fffe91c6700 (LWP 5909)] [New Thread 0x7fffe89c5700 (LWP 5910)] [New Thread 0x7fffd3fff700 (LWP 5911)] ^C Thread 1 "kovri" received signal SIGINT, Interrupt. [Thread 0x7fffd3fff700 (LWP 5911) exited] [Thread 0x7ffff105a700 (LWP 5900) exited] [Thread 0x7ffff0859700 (LWP 5901) exited] [Thread 0x7ffff185b700 (LWP 5899) exited] [Thread 0x7fffe89c5700 (LWP 5910) exited] [Thread 0x7fffe99c7700 (LWP 5908) exited] [Thread 0x7fffea1c8700 (LWP 5907) exited] [Thread 0x7fffe91c6700 (LWP 5909) exited] Thread 11 "kovri" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffea9c9700 (LWP 5906)] 0x0000000000f28679 in boost::asio::use_service > (ios=...) at /usr/include/boost/asio/impl/io_service.hpp:33 33 return ios.service_registry_->template use_service(); (gdb) bt #0 0x0000000000f28679 in boost::asio::use_service > (ios=...) at /usr/include/boost/asio/impl/io_service.hpp:33 #1 0x0000000000f26ec6 in boost::asio::basic_io_object, true>::basic_io_object (this=0x7fffdc01cf30, io_service=...) at /usr/include/boost/asio/basic_io_object.hpp:183 #2 0x0000000000f25e9d in boost::asio::basic_socket >::basic_socket (this=0x7fffdc01cf30, io_service=...) at /usr/include/boost/asio/basic_socket.hpp:71 #3 0x0000000000f2508f in boost::asio::basic_stream_socket >::basic_stream_socket (this=0x7fffdc01cf30, io_service=...) at /usr/include/boost/asio/basic_stream_socket.hpp:73 #4 0x000000000115016e in i2p::transport::NTCPSession::NTCPSession (this=0x7fffdc01cd00, server=..., in_RemoteRouter=std::shared_ptr (empty) 0x7fffea9c8410) at /home/anonimal/kovri/src/core/transport/ntcp_session.cc:71 #5 0x0000000001070600 in __gnu_cxx::new_allocator::construct&> (this=0x7fffea9c8527, __p=0x7fffdc01cd00) at /usr/include/c++/5/ext/new_allocator.h:120 #6 0x000000000106fca0 in std::allocator_traits >::construct&> (__a=..., __p=0x7fffdc01cd00) at /usr/include/c++/5/bits/alloc_traits.h:530 #7 0x000000000106f421 in std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace&> (this=0x7fffdc01ccf0, __a=...) at /usr/include/c++/5/bits/shared_ptr_base.h:522 #8 0x000000000106e017 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, i2p::transport::NTCPServer&, std::shared_ptr&> (this=0x7fffea9c8728, __a=...) at /usr/include/c++/5/bits/shared_ptr_base.h:617 #9 0x000000000106cbc9 in std::__shared_ptr::__shared_ptr, i2p::transport::NTCPServer&, std::shared_ptr&> ( this=0x7fffea9c8720, __tag=..., __a=...) at /usr/include/c++/5/bits/shared_ptr_base.h:1097 #10 0x000000000106afa6 in std::shared_ptr::shared_ptr, i2p::transport::NTCPServer&, std::shared_ptr&> (this=0x7fffea9c8720, __tag=..., __a=...) at /usr/include/c++/5/bits/shared_ptr.h:319 #11 0x0000000001067868 in std::allocate_shared, i2p::transport::NTCPServer&, std::shared_ptr&> (__a=...) at /usr/include/c++/5/bits/shared_ptr.h:620 #12 0x00000000010637c0 in std::make_shared&> () at /usr/include/c++/5/bits/shared_ptr.h:636 #13 0x000000000105e60c in i2p::transport::Transports::ConnectToPeer (this=0x163d360 , ident=..., peer=...) at /home/anonimal/kovri/src/core/transport/transports.cc:335 #14 0x000000000105e17f in i2p::transport::Transports::PostMessages (this=0x163d360 , ident=..., msgs=std::vector of length 1, capacity 1 = {...}) at /home/anonimal/kovri/src/core/transport/transports.cc:296 #15 0x0000000001070f71 in std::_Mem_fn_base, std::vector, std::allocator > >), true>::operator()&, std::vector, std::allocator > >&, void> (this=0x7fffea9c8b80, __object=0x163d360 ) at /usr/include/c++/5/functional:600 #16 0x00000000010703ab in std::_Bind, std::vector, std::allocator > >)> (i2p::transport::Transports*, i2p::data::Tag<32>, std::vector, std::allocator > >)>::__call(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (this=0x7fffea9c8b80, __args=) at /usr/include/c++/5/functional:1074 #17 0x000000000106faa1 in std::_Bind, std::vector, std::allocator > >)> (i2p::transport::Transports*, i2p::data::Tag<32>, std::vector, std::allocator > >)>::operator()<, void>() (this=0x7fffea9c8b80) at /usr/include/c++/5/functional:1133 #18 0x000000000106f11c in boost::asio::asio_handler_invoke, std::vector, std::allocator > >)> (i2p::transport::Transports*, i2p::data::Tag<32>, std::vector, std::allocator > >)> >(std::_Bind, std::vector, std::allocator > >)> (i2p::transport::Transports*, i2p::data::Tag<32>, std::vector, std::allocator > >)>&, ...) (function=...) at /usr/include/boost/asio/handler_invoke_hook.hpp:69 #19 0x000000000106deaf in boost_asio_handler_invoke_helpers::invoke, std::vector, std::allocator > >)> (i2p::transport::Transports*, i2p::data::Tag<32>, std::vector, std::allocator > >)>, std::_Bind, std::vector, std::allocator > >)> (i2p::transport::Transports*, i2p::data::Tag<32>, std::vector, std::allocator > >)> >(std::_Bind, std::vector, std::allocator > >)> (i2p::transport::Transports*, i2p::data::Tag<32>, std::vector, std::allocator > >)>&, std::_Bind, std::vector, std::allocator > >)> (i2p::transport::Transports*, i2p::data::Tag<32>, std::vector, std::allocator > >)>&) (function=..., context=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37 #20 0x000000000106c904 in boost::asio::detail::completion_handler, std::vector, std::allocator > >)> (i2p::transport::Transports*, i2p::data::Tag<32>, std::vector, std::allocator > >)> >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) (owner=0x1671ed0, base=0x7fffcc0018a0) at /usr/include/boost/asio/detail/completion_handler.hpp:68 #21 0x0000000000f07baa in boost::asio::detail::task_io_service_operation::complete (this=0x7fffcc0018a0, owner=..., ec=..., bytes_transferred=0) at /usr/include/boost/asio/detail/task_io_service_operation.hpp:38 #22 0x0000000000f0a465 in boost::asio::detail::task_io_service::do_run_one (this=0x1671ed0, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:372 #23 0x0000000000f09ee9 in boost::asio::detail::task_io_service::run (this=0x1671ed0, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:149 #24 0x0000000000f0a648 in boost::asio::io_service::run (this=0x163d370 ) at /usr/include/boost/asio/impl/io_service.ipp:59 #25 0x000000000105da73 in i2p::transport::Transports::Run (this=0x163d360 ) at /home/anonimal/kovri/src/core/transport/transports.cc:223 #26 0x000000000107292f in std::_Mem_fn_base::operator()<, void>(i2p::transport::Transports*) const (this=0x16d1108, __object=0x163d360 ) at /usr/include/c++/5/functional:600 #27 0x0000000001072811 in std::_Bind (i2p::transport::Transports*)>::__call(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0x16d1108, __args=) at /usr/include/c++/5/functional:1074 #28 0x000000000107270f in std::_Bind (i2p::transport::Transports*)>::operator()<, void>() (this=0x16d1108) at /usr/include/c++/5/functional:1133 #29 0x0000000001072676 in std::_Bind_simple (i2p::transport::Transports*)> ()>::_M_invoke<>(std::_Index_tuple<>) (this=0x16d1108) at /usr/include/c++/5/functional:1531 #30 0x000000000107251e in std::_Bind_simple (i2p::transport::Transports*)> ()>::operator()() (this=0x16d1108) at /usr/include/c++/5/functional:1520 #31 0x000000000107240e in std::thread::_Impl (i2p::transport::Transports*)> ()> >::_M_run() (this=0x16d10f0) at /usr/include/c++/5/thread:115 #32 0x00007ffff58b7c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #33 0x00007ffff6b0f6fa in start_thread (arg=0x7fffea9c9700) at pthread_create.c:333 #34 0x00007ffff501db5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 (gdb)