{"action":"opened","issue":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2101","labels_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2101/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2101/comments","events_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2101/events","html_url":"https://github.com/ethereum/cpp-ethereum/issues/2101","id":85732446,"number":2101,"title":"segfault during blockchain download","user":{"login":"CJentzsch","id":8452011,"avatar_url":"https://avatars.githubusercontent.com/u/8452011?v=3","gravatar_id":"","url":"https://api.github.com/users/CJentzsch","html_url":"https://github.com/CJentzsch","followers_url":"https://api.github.com/users/CJentzsch/followers","following_url":"https://api.github.com/users/CJentzsch/following{/other_user}","gists_url":"https://api.github.com/users/CJentzsch/gists{/gist_id}","starred_url":"https://api.github.com/users/CJentzsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJentzsch/subscriptions","organizations_url":"https://api.github.com/users/CJentzsch/orgs","repos_url":"https://api.github.com/users/CJentzsch/repos","events_url":"https://api.github.com/users/CJentzsch/events{/privacy}","received_events_url":"https://api.github.com/users/CJentzsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-06T10:01:31Z","updated_at":"2015-06-06T10:01:31Z","closed_at":null,"body":"thats the trace:\r\n⧎ ◌  11:33:28|p2p  Hello: ++eth/@psalami2/v0.9.20/Release/Linux/g++/int V[ 4 ] ##b01c59cf… (eth,60) 30411\r\n⧎ ◌  11:33:28|p2p|b01c59cf…|++eth/@psalami2/v0.9.20/Release/Linux/g++/int  Status: 60 / 0 / #fd4af92a… / 0 , TD: 2834340467255945 = #bb121f2e…\r\n⧎ ✘  11:33:35|p2p|e014ceab…|++eth/v0.9.23/Release/Linux/g++/int  Error reading: Operation canceled\r\n⧎ ◌  11:33:35|p2p|e014ceab…|++eth/v0.9.23/Release/Linux/g++/int  Closing peer session :-(\r\n⧎ ◌  11:33:35|p2p|e014ceab…|++eth/v0.9.23/Release/Linux/g++/int  Aborting Sync :-(\r\n⧎ ◌  11:33:36|p2p  Hello: Geth/v0.9.26/linux/go1.4.2 V[ 4 ] ##fcafd437… (eth,60) 0\r\n⧎ ◌  11:33:36|p2p|fcafd437…|Geth/v0.9.26/linux/go1.4.2  Status: 60 / 0 / #fd4af92a… / 0 , TD: 3001323954947390 = #0ca5f7a0…\r\n⧎ ◌  11:33:37|p2p  Hello: ++eth/v0.9.23/Release/Linux/g++/int V[ 4 ] ##e014ceab… (eth,61) 30303\r\n⧎ ✘  11:33:37|p2p|e014ceab…|++eth/v0.9.23/Release/Linux/g++/int  Peer causing an Exception: std::exception [ 0x3C, 0x0, 0xA0975E83439CD, 0x73FB1FB6A0CBA36ADCBC992D9F5CD02502091077B788F999FC8A9B9CDE9C4931, 0xFD4AF92A79C7FC2FD8BF0D342F2E832E1D4F485C85B9152D2039E03BC604FDCA ]\r\n⧎ ✘  11:33:38|p2p|e6180071…|++eth/@psalami/v0.9.20/Release/Linux/g++/int  Error reading: Operation canceled\r\n⧎ ◌  11:33:38|p2p|e6180071…|++eth/@psalami/v0.9.20/Release/Linux/g++/int  Closing peer session :-(\r\n⧎ ◌  11:33:38|p2p|e6180071…|++eth/@psalami/v0.9.20/Release/Linux/g++/int  Aborting Sync :-(\r\nPress Enter\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0x7fffd35f8700 (LWP 29974)]\r\n0x00007ffff6ee99d5 in boost::asio::detail::epoll_reactor::start_op (this=0x5b6b50, op_type=0, descriptor=28, descriptor_data=@0x7fff7b040430: 0x0, op=0x7fff310e0d00, is_continuation=true, allow_speculative=true) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:219\r\n219\t  if (descriptor_data->shutdown_)\r\n(gdb) thread apply all bt\r\n\r\nThread 11 (Thread 0x7fffb8ff8700 (LWP 29980)):\r\n#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185\r\n#1  0x00007ffff4f93af3 in ?? () from /usr/lib/x86_64-linux-gnu/libleveldb.so.1\r\n#2  0x00007ffff5cb8182 in start_thread (arg=0x7fffb8ff8700) at pthread_create.c:312\r\n#3  0x00007ffff54cb47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 10 (Thread 0x7fffd2df7700 (LWP 29975)):\r\n#0  0x00007ffff5cbfb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81\r\n#1  0x00000000004d65ff in std::this_thread::sleep_for<long, std::ratio<1l, 1000l> > (__rtime=...) at /usr/include/c++/4.8/thread:279\r\n#2  0x00007ffff65c1954 in dev::Worker::workLoop (this=0x5c70b0) at /home/christoph/software/Ethereum/cpp-ethereum/libdevcore/Worker.cpp:114\r\n#3  0x00007ffff65c1390 in dev::Worker::__lambda1::operator() (__closure=0x7fffc0000a10) at /home/christoph/software/Ethereum/cpp-ethereum/libdevcore/Worker.cpp:55\r\n#4  0x00007ffff65c29fc in std::_Bind_simple<dev::Worker::startWorking()::__lambda1()>::_M_invoke<>(std::_Index_tuple<>) (this=0x7fffc0000a10) at /usr/include/c++/4.8/functional:1732\r\n#5  0x00007ffff65c2953 in std::_Bind_simple<dev::Worker::startWorking()::__lambda1()>::operator()(void) (this=0x7fffc0000a10) at /usr/include/c++/4.8/functional:1720\r\n#6  0x00007ffff65c28ec in std::thread::_Impl<std::_Bind_simple<dev::Worker::startWorking()::__lambda1()> >::_M_run(void) (this=0x7fffc00009f8) at /usr/include/c++/4.8/thread:115\r\n#7  0x00007ffff5a5dbf0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#8  0x00007ffff5cb8182 in start_thread (arg=0x7fffd2df7700) at pthread_create.c:312\r\n#9  0x00007ffff54cb47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 9 (Thread 0x7fffd35f8700 (LWP 29974)):\r\n#0  0x00007ffff6ee99d5 in boost::asio::detail::epoll_reactor::start_op (this=0x5b6b50, op_type=0, descriptor=28, descriptor_data=@0x7fff7b040430: 0x0, op=0x7fff310e0d00, is_continuation=true, allow_speculative=true)\r\n    at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:219\r\n#1  0x00007ffff6eeb0e0 in boost::asio::detail::reactive_socket_service_base::start_op (this=0x5c8bf8, impl=..., op_type=0, op=0x7fff310e0d00, is_continuation=true, is_non_blocking=true, noop=false) at /usr/include/boost/asio/detail/impl/reactive_socket_service_base.ipp:213\r\n#2  0x00007ffff6f6503f in boost::asio::detail::reactive_socket_service_base::async_receive<boost::asio::mutable_buffers_1, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5> >(boost::asio::detail::reactive_socket_service_base::base_implementation_type &, const boost::asio::mutable_buffers_1 &, boost::asio::socket_base::message_flags, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>) (this=0x5c8bf8, impl=..., buffers=..., flags=0, handler=...)\r\n    at /usr/include/boost/asio/detail/reactive_socket_service_base.hpp:286\r\n#3  0x00007ffff6f64a07 in boost::asio::stream_socket_service<boost::asio::ip::tcp>::async_receive<boost::asio::mutable_buffers_1, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5> >(boost::asio::stream_socket_service<boost::asio::ip::tcp>::implementation_type &, const boost::asio::mutable_buffers_1 &, boost::asio::socket_base::message_flags, <unknown type in /home/christoph/software/Ethereum/cpp-ethereum/build/libp2p/libp2p.so, CU 0x2ea9a3, DIE 0x35c0b5>) (this=0x5c8bd0, impl=..., buffers=..., flags=0, handler=<unknown type in /home/christoph/software/Ethereum/cpp-ethereum/build/libp2p/libp2p.so, CU 0x2ea9a3, DIE 0x35c0b5>)\r\n    at /usr/include/boost/asio/stream_socket_service.hpp:353\r\n#4  0x00007ffff6f647f5 in boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >::async_read_some<boost::asio::mutable_buffers_1, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5> >(const boost::asio::mutable_buffers_1 &, <unknown type in /home/christoph/software/Ethereum/cpp-ethereum/build/libp2p/libp2p.so, CU 0x2ea9a3, DIE 0x358ac4>)\r\n    (this=0x7fff7b040428, buffers=..., handler=<unknown type in /home/christoph/software/Ethereum/cpp-ethereum/build/libp2p/libp2p.so, CU 0x2ea9a3, DIE 0x358ac4>) at /usr/include/boost/asio/basic_stream_socket.hpp:845\r\n#5  0x00007ffff6f6441b in boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>::operator()(const boost::system::error_code &, std::size_t, int) (this=0x7fffd35f7960, ec=..., bytes_transferred=1440, start=0) at /usr/include/boost/asio/impl/read.hpp:271\r\n#6  0x00007ffff6f66834 in boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>, boost::system::error_code, long unsigned int>::operator()(void) (this=0x7fffd35f7960) at /usr/include/boost/asio/detail/bind_handler.hpp:127\r\n#7  0x00007ffff6f66765 in boost::asio::asio_handler_invoke<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>, boost::system::error_code, long unsigned int> >(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>, boost::system::error_code, long unsigned int>, ...) (function=...) at /usr/include/boost/asio/handler_invoke_hook.hpp:64\r\n#8  0x00007ffff6f6654d in boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>, boost::system::error_code, long unsigned int>, dev::p2p::Session::doRead()::__lambda4::__lambda5>(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>, boost::system::error_code, long unsigned int> &, dev::p2p::Session::__lambda4::__lambda5 &) (function=..., context=...)\r\n    at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37\r\n#9  0x00007ffff6f662d5 in boost::asio::detail::asio_handler_invoke<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>, boost::system::error_code, long unsigned int>, boost::asio::basic_stream_socket<boost::asio::ip::tcp>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>, boost::system::error_code, long unsigned int> &, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5> *) (function=..., this_handler=0x7fffd35f7a90) at /usr/include/boost/asio/impl/read.hpp:502\r\n#10 0x00007ffff6f660d5 in boost_asio_handler_invoke_helpers::invoke<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>, boost::system::error_code, long unsigned int>, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp>, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5> >(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5>, boost::system::error_code, long unsigned int> &, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5> &) (function=..., context=...) at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:37\r\n#11 0x00007ffff6f65bbc in boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp> >, boost::asio::mutable_buffers_1, boost::asio::detail::transfer_all_t, dev::p2p::Session::doRead()::__lambda4::__lambda5> >::do_complete(boost::asio::detail::io_service_impl *, boost::asio::detail::operation *, const boost::system::error_code &, std::size_t) (owner=0x5b6600, base=0x7fff310e0d00)\r\n    at /usr/include/boost/asio/detail/reactive_socket_recv_op.hpp:110\r\n#12 0x00007ffff6f15a6c in boost::asio::detail::task_io_service_operation::complete (this=0x7fff310e0d00, owner=..., ec=..., bytes_transferred=0) at /usr/include/boost/asio/detail/task_io_service_operation.hpp:37\r\n#13 0x00007ffff6f16311 in boost::asio::detail::epoll_reactor::descriptor_state::do_complete (owner=0x5b6600, base=0x7fffc000e9e0, ec=..., bytes_transferred=1) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:651\r\n#14 0x00007ffff6f15a6c in boost::asio::detail::task_io_service_operation::complete (this=0x7fffc000e9e0, owner=..., ec=..., bytes_transferred=1) at /usr/include/boost/asio/detail/task_io_service_operation.hpp:37\r\n#15 0x00007ffff6f16bab in boost::asio::detail::task_io_service::do_run_one (this=0x5b6600, lock=..., this_thread=..., ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:384\r\n#16 0x00007ffff6f168ab in boost::asio::detail::task_io_service::run (this=0x5b6600, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153\r\n#17 0x00007ffff6f16e65 in boost::asio::io_service::run (this=0x7fffffffc000) at /usr/include/boost/asio/impl/io_service.ipp:59\r\n#18 0x00007ffff6f29cb6 in dev::p2p::Host::doWork (this=0x7fffffffbf10) at /home/christoph/software/Ethereum/cpp-ethereum/libp2p/Host.cpp:671\r\n#19 0x00007ffff65c196b in dev::Worker::workLoop (this=0x7fffffffbf10) at /home/christoph/software/Ethereum/cpp-ethereum/libdevcore/Worker.cpp:115\r\n#20 0x00007ffff65c1390 in dev::Worker::__lambda1::operator() (__closure=0x5b6c40) at /home/christoph/software/Ethereum/cpp-ethereum/libdevcore/Worker.cpp:55\r\n#21 0x00007ffff65c29fc in std::_Bind_simple<dev::Worker::startWorking()::__lambda1()>::_M_invoke<>(std::_Index_tuple<>) (this=0x5b6c40) at /usr/include/c++/4.8/functional:1732\r\n#22 0x00007ffff65c2953 in std::_Bind_simple<dev::Worker::startWorking()::__lambda1()>::operator()(void) (this=0x5b6c40) at /usr/include/c++/4.8/functional:1720\r\n#23 0x00007ffff65c28ec in std::thread::_Impl<std::_Bind_simple<dev::Worker::startWorking()::__lambda1()> >::_M_run(void) (this=0x5b6c28) at /usr/include/c++/4.8/thread:115\r\n#24 0x00007ffff5a5dbf0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#25 0x00007ffff5cb8182 in start_thread (arg=0x7fffd35f8700) at pthread_create.c:312\r\n#26 0x00007ffff54cb47d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n\r\nThread 8 (Thread 0x7fffd3df9700 (LWP 29967)):"}}