miguelfreitas / twister-core

twister core / daemon
MIT License
1.42k stars 251 forks source link

Program received signal SIGABRT, Aborted. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc #206

Closed Erkan-Yilmaz closed 10 years ago

Erkan-Yilmaz commented 10 years ago
  1. I noticed that my total RAM increased to 75% usage and swap was being used.
  2. I closed the browser 2 or 3 times and eliminated the swap also, to get like 10% RAM back (so to 65%).
  3. on reopening the browser: twister-html didn't react and I saw in debugger the SIGABRT
  4. no blocks were generated, as in bug #194
  5. twisterd was running for 1h and 25 mins

versions:


Twister version v0.9.20.0-unk-beta this is the twister version including fix incl. https://github.com/miguelfreitas/twister-core/commit/8f0369207491ed87dfe504d99bfd6162b02f8c14 chromium 34

last lines in log:


2014-06-03 09:00:07 ThreadRPCServer method=dhtget 2014-06-03 09:00:17 ThreadRPCServer method=dhtget 2014-06-03 09:00:27 ThreadRPCServer method=dhtget 2014-06-03 09:00:32 INCOMING ERROR: invalid transaction id 2014-06-03 09:00:37 ThreadRPCServer method=dhtget 2014-06-03 09:00:47 ThreadRPCServer method=dhtget 2014-06-03 09:00:57 ThreadRPCServer method=dhtget 2014-06-03 09:03:43 ThreadRPCServer method=listwalletusers 2014-06-03 09:03:43 ThreadRPCServer method=dhtget 2014-06-03 09:03:43 ThreadRPCServer method=dhtget 2014-06-03 09:03:43 ThreadRPCServer method=follow 2014-06-03 09:03:44 ThreadRPCServer method=dhtget 2014-06-03 09:03:44 ThreadRPCServer method=getdirectmsgs 2014-06-03 09:03:44 ThreadRPCServer method=getposts 2014-06-03 09:03:44 ThreadRPCServer method=gettrendinghashtags 2014-06-03 09:03:45 ThreadRPCServer method=dhtget 2014-06-03 09:03:45 ThreadRPCServer method=dhtget

connected peers:


[ { "addr" : "188.233.11.173:28333", "services" : "00000001", "lastsend" : 1401784997, "lastrecv" : 1401785491, "bytessent" : 1466, "bytesrecv" : 77308, "conntime" : 1401781133, "version" : 70002, "subver" : "/twisterd:0.9.20/", "inbound" : false, "startingheight" : 39376, "banscore" : 0, "syncnode" : true }, { "addr" : "78.213.138.119:28333", "services" : "00000001", "lastsend" : 1401785491, "lastrecv" : 1401785001, "bytessent" : 1877, "bytesrecv" : 77340, "conntime" : 1401781201, "version" : 70002, "subver" : "/twisterd:0.9.20/", "inbound" : false, "startingheight" : 39376, "banscore" : 0 } ]

debugger


Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". [New Thread 0xb5f44b40 (LWP 13140)] [New Thread 0xb4cb1b40 (LWP 13141)] [Thread 0xb4cb1b40 (LWP 13141) exited] [New Thread 0xb41ffb40 (LWP 13142)] [New Thread 0xb39feb40 (LWP 13143)] [New Thread 0xb31fdb40 (LWP 13144)] [New Thread 0xb27ffb40 (LWP 13145)] [New Thread 0xb1ffeb40 (LWP 13146)] [New Thread 0xb17fdb40 (LWP 13147)] [New Thread 0xb0ffcb40 (LWP 13148)] [New Thread 0xb07fbb40 (LWP 13149)] [New Thread 0xafffab40 (LWP 13150)] [New Thread 0xaf7f9b40 (LWP 13151)] [New Thread 0xaeff8b40 (LWP 13152)] [New Thread 0xae7f7b40 (LWP 13153)] [New Thread 0xadff6b40 (LWP 13154)] [New Thread 0xad7f5b40 (LWP 13155)] [New Thread 0xacff4b40 (LWP 13156)] [New Thread 0xac7f3b40 (LWP 13157)] [New Thread 0xabff2b40 (LWP 13158)] [New Thread 0xab7f1b40 (LWP 13159)] [New Thread 0xaaff0b40 (LWP 13160)] [New Thread 0xaa7efb40 (LWP 13161)] [New Thread 0xa9feeb40 (LWP 13162)] [New Thread 0xa97edb40 (LWP 13163)] [Thread 0xb41ffb40 (LWP 13142) exited] [Thread 0xb39feb40 (LWP 13143) exited] [New Thread 0xb41ffb40 (LWP 13164)] [New Thread 0xa8fecb40 (LWP 13165)] [New Thread 0xa79ffb40 (LWP 13166)] [Thread 0xb31fdb40 (LWP 13144) exited] [New Thread 0xa6dffb40 (LWP 13198)] [Thread 0xaa7efb40 (LWP 13161) exited] terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc

Program received signal SIGABRT, Aborted. [Switching to Thread 0xaf7f9b40 (LWP 13151)] 0xb7fdd424 in __kernel_vsyscall () (gdb) backtrace

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb77bfaff in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56

2 0xb77c3083 in __GI_abort () at abort.c:90

3 0xb79f2605 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6

4 0xb79f0273 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6

5 0xb79f02af in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6

6 0xb79f050e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6

7 0xb79f0b16 in operator new(unsigned int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6

8 0xb7a532b4 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6

9 0x0810ce9b in std::string::_S_construct<char const*> (beg=0x92b1170 "", end=0x94b043c "\311\v\002", __a=...)

at /usr/include/c++/4.8/bits/basic_string.tcc:138

10 0xb7a552a2 in std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const*, unsigned int, std::allocator const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6

11 0x08350b1d in ServiceConnection (conn=conn@entry=0xa6e70300) at src/bitcoinrpc.cpp:992

12 0x08351f48 in RPCAcceptHandler<boost::asio::ip::tcp, boost::asio::socket_acceptor_service > (acceptor=..., context=...,

fUseSSL=false, conn=0xa6e70300, error=...) at src/bitcoinrpc.cpp:728

13 0x0835b1f1 in operator()<void ()(boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, const boost::system::error_code&), boost::_bi::list1<const boost::system::error_code&> > (

f=@0xaf7f91a0: 0x8351d80 <RPCAcceptHandler<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> >(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> > >, boost::asio::ssl::context&, bool, AcceptedConnection*, boost::system::error_code const&)>, a=<synthetischer Zeiger>, this=0xaf7f91a4) at /usr/include/boost/bind/bind.hpp:525

14 operator()boost::system::error_code (a1=..., this=0xaf7f91a0) at /usr/include/boost/bind/bind_template.hpp:47

15 operator() (this=0xaf7f91a0) at /usr/include/boost/asio/detail/bind_handler.hpp:46

16 asio_handler_invoke<boost::asio::detail::binder1<boost::_bi::bind_t<void, void ()(boost::shared_ptr<boost::asio::basic_socketacceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> ()()> >, boost::system::error_code> > (

function=<Fehler beim Lesen der Variable: access outside bounds of object referenced via synthetic pointer>)
at /usr/include/boost/asio/handler_invoke_hook.hpp:64

17 invoke<boost::asio::detail::binder1<boost::_bi::bind_t<void, void ()(boost::shared_ptr<boost::asio::basic_socketacceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> (_)()> >, boost::system::error_code>, boost::_bi::bindt<void, void ()(boost::shared_ptrboost::asio::basic_socketacceptor, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> ()()> > > (context=..., function=...)

at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39

18 boost::asio::detail::reactive_socket_accept_op<boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service >, boost::asio::ip::tcp, boost::_bi::bind_t<void, void (*)(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acce---Type to continue, or q to quit---

ptorserviceboost::asio::ip::tcp > >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5<boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service > > >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> (*)()> > >::do_complete (owner=0x916b000, base=0x916bec0) at /usr/include/boost/asio/detail/reactive_socket_accept_op.hpp:123

19 0x08077d6d in complete (bytes_transferred=, ec=..., owner=..., this=0x916b898)

at /usr/include/boost/asio/detail/task_io_service_operation.hpp:37

20 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:412

21 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

22 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

23 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

24 0xb7a95d78 in start_thread (arg=0xaf7f9b40) at pthread_create.c:311

25 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

(gdb) where

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb77bfaff in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56

2 0xb77c3083 in __GI_abort () at abort.c:90

3 0xb79f2605 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6

4 0xb79f0273 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6

5 0xb79f02af in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6

6 0xb79f050e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6

7 0xb79f0b16 in operator new(unsigned int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6

8 0xb7a532b4 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6

9 0x0810ce9b in std::string::_S_construct<char const*> (beg=0x92b1170 "", end=0x94b043c "\311\v\002", __a=...)

at /usr/include/c++/4.8/bits/basic_string.tcc:138

10 0xb7a552a2 in std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const*, unsigned int, std::allocator const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6

11 0x08350b1d in ServiceConnection (conn=conn@entry=0xa6e70300) at src/bitcoinrpc.cpp:992

12 0x08351f48 in RPCAcceptHandler<boost::asio::ip::tcp, boost::asio::socket_acceptor_service > (acceptor=..., context=...,

fUseSSL=false, conn=0xa6e70300, error=...) at src/bitcoinrpc.cpp:728

13 0x0835b1f1 in operator()<void ()(boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, const boost::system::error_code&), boost::_bi::list1<const boost::system::error_code&> > (

f=@0xaf7f91a0: 0x8351d80 <RPCAcceptHandler<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> >(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> > >, boost::asio::ssl::context&, bool, AcceptedConnection*, boost::system::error_code const&)>, a=<synthetischer Zeiger>, this=0xaf7f91a4) at /usr/include/boost/bind/bind.hpp:525

14 operator()boost::system::error_code (a1=..., this=0xaf7f91a0) at /usr/include/boost/bind/bind_template.hpp:47

15 operator() (this=0xaf7f91a0) at /usr/include/boost/asio/detail/bind_handler.hpp:46

16 asio_handler_invoke<boost::asio::detail::binder1<boost::_bi::bind_t<void, void ()(boost::shared_ptr<boost::asio::basic_socketacceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> ()()> >, boost::system::error_code> > (

function=<Fehler beim Lesen der Variable: access outside bounds of object referenced via synthetic pointer>)
at /usr/include/boost/asio/handler_invoke_hook.hpp:64

17 invoke<boost::asio::detail::binder1<boost::_bi::bind_t<void, void ()(boost::shared_ptr<boost::asio::basic_socketacceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> (_)()> >, boost::system::error_code>, boost::_bi::bindt<void, void ()(boost::shared_ptrboost::asio::basic_socketacceptor, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> ()()> > > (context=..., function=...)

at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39

18 boost::asio::detail::reactive_socket_accept_op<boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service >, boost::asio::ip::tcp, boost::_bi::bind_t<void, void (*)(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acce---Type to continue, or q to quit---

ptorserviceboost::asio::ip::tcp > >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5<boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service > > >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> (*)()> > >::do_complete (owner=0x916b000, base=0x916bec0) at /usr/include/boost/asio/detail/reactive_socket_accept_op.hpp:123

19 0x08077d6d in complete (bytes_transferred=, ec=..., owner=..., this=0x916b898)

at /usr/include/boost/asio/detail/task_io_service_operation.hpp:37

20 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:412

21 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

22 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

23 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

24 0xb7a95d78 in start_thread (arg=0xaf7f9b40) at pthread_create.c:311

25 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

(gdb) (gdb) thread apply all bt

Thread 29 (Thread 0xa6dffb40 (LWP 13198)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x08077d06 in waitboost::asio::detail::scoped_lock (lock=..., this=0xa6dff288)

at /usr/include/boost/asio/detail/posix_event.hpp:80

3 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0xa7b87448, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:423

4 0x0807c050 in boost::asio::detail::task_io_service::run (this=0xa7b87448, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

5 0x0807c1dc in boost::asio::io_service::run (this=0xb42fffe8) at /usr/include/boost/asio/impl/io_service.ipp:59

6 0x08070b31 in boost::asio::detail::boost_asio_detail_posix_thread_function (arg=0xa70a07e8) at /usr/include/boost/asio/detail/impl/posix_thread.ipp:64

7 0xb7a95d78 in start_thread (arg=0xa6dffb40) at pthread_create.c:311

8 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 28 (Thread 0xa79ffb40 (LWP 13166)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x0840838c in leveldb::(anonymous namespace)::PosixEnv::BGThreadWrapper(void*) ()

3 0xb7a95d78 in start_thread (arg=0xa79ffb40) at pthread_create.c:311

4 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 27 (Thread 0xa8fecb40 (LWP 13165)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7883b86 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81

2 0x08072a44 in boost::asio::detail::epoll_reactor::run (this=0xb280e7c0, block=true, ops=...)

at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:392

3 0x08077be9 in boost::asio::detail::task_io_service::do_run_one (this=this@entry=0xb280ad50, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:396

4 0x0807c050 in boost::asio::detail::task_io_service::run (this=0xb280ad50, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

5 0x0807c210 in boost::asio::io_service::run (this=, this@entry=0xb280d32c, ec=...) at /usr/include/boost/asio/impl/io_service.ipp:66

6 0x081c10de in libtorrent::aux::session_impl::main_thread (this=0xb280cfc8) at libtorrent/src/session_impl.cpp:4858

7 0x08070b31 in boost::asio::detail::boost_asio_detail_posix_thread_function (arg=0xb280c8f0) at /usr/include/boost/asio/detail/impl/posix_thread.ipp:64

8 0xb7a95d78 in start_thread (arg=0xa8fecb40) at pthread_create.c:311

9 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 26 (Thread 0xb41ffb40 (LWP 13164)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x080ae4a4 in waitboost::asio::detail::scoped_lock (lock=..., this=)

---Type to continue, or q to quit--- at /usr/include/boost/asio/detail/posix_event.hpp:80

3 libtorrent::disk_io_thread::thread_fun (this=0xb280d3d0) at libtorrent/src/disk_io_thread.cpp:1534

4 0x08070b31 in boost::asio::detail::boost_asio_detail_posix_thread_function (arg=0xb280cf48) at /usr/include/boost/asio/detail/impl/posix_thread.ipp:64

5 0xb7a95d78 in start_thread (arg=0xb41ffb40) at pthread_create.c:311

6 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 25 (Thread 0xa97edb40 (LWP 13163)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a99c33 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250

2 0x081e8ded in libtorrent::condition_variable::wait_for (this=this@entry=0xb280d380, l=..., rel_time=...) at libtorrent/src/thread.cpp:89

3 0x0806f6f3 in libtorrent::alert_manager::wait_for_alert (this=0xb280d340, max_wait=...) at libtorrent/src/alert_manager.cpp:69

4 0x081ae2c2 in libtorrent::aux::session_impl::wait_for_alert (this=, max_wait=...) at libtorrent/src/session_impl.cpp:6142

5 0x0818e079 in libtorrent::session::wait_for_alert (this=, max_wait=...) at libtorrent/src/session.cpp:1106

6 0x083ce38d in ThreadSessionAlerts () at src/twister.cpp:565

7 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

8 0xb7a95d78 in start_thread (arg=0xa97edb40) at pthread_create.c:311

9 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 24 (Thread 0xa9feeb40 (LWP 13162)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a99c33 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250

2 0xb7f2dc78 in boost::condition_variable::do_wait_until(boost::unique_lockboost::mutex&, timespec const&) ()

from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

3 0xb7f2a1ee in boost::this_thread::hiden::sleep_for(timespec const&) () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

4 0x0833d581 in sleep_for (ns=) at /usr/include/boost/thread/pthread/thread_data.hpp:233

5 boost::this_thread::sleep_for<long long, boost::ratio<1ll, 1000ll> > (d=...) at /usr/include/boost/thread/v2/thread.hpp:53

6 0x083ca59e in MilliSleep (n=5000) at src/util.h:113

7 ThreadMaintainDHTNodes () at src/twister.cpp:549

8 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

9 0xb7a95d78 in start_thread (arg=0xa9feeb40) at pthread_create.c:311

10 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 22 (Thread 0xaaff0b40 (LWP 13160)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a99c33 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250

2 0xb7f2dc78 in boost::condition_variable::do_wait_until(boost::unique_lockboost::mutex&, timespec const&) ()

from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

3 0xb7f2a1ee in boost::this_thread::hiden::sleep_for(timespec const&) () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

4 0x0833d581 in sleep_for (ns=) at /usr/include/boost/thread/pthread/thread_data.hpp:233

---Type to continue, or q to quit---

5 boost::this_thread::sleep_for<long long, boost::ratio<1ll, 1000ll> > (d=...) at /usr/include/boost/thread/v2/thread.hpp:53

6 0x083b3478 in MilliSleep (n=500) at src/util.h:113

7 ThreadFlushWalletDB (strFile=...) at src/walletdb.cpp:360

8 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

9 0xb7a95d78 in start_thread (arg=0xaaff0b40) at pthread_create.c:311

10 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 21 (Thread 0xab7f1b40 (LWP 13159)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9cd38 in recvmsg () at ../sysdeps/unix/sysv/linux/i386/socket.S:95

2 0x080741f5 in boost::asio::detail::socket_ops::recv (s=42, bufs=0xab7f0da4, count=1, flags=0, ec=...)

at /usr/include/boost/asio/detail/impl/socket_ops.ipp:696

3 0x0807520e in boost::asio::detail::socket_ops::sync_recv (s=42, state=80 'P', bufs=bufs@entry=0xab7f0da4, count=count@entry=1, flags=flags@entry=0,

all_empty=false, ec=...) at /usr/include/boost/asio/detail/impl/socket_ops.ipp:723

4 0x08366b94 in receiveboost::asio::mutable_buffers_1 (flags=0, this=, impl=..., impl=..., ec=..., buffers=...)

at /usr/include/boost/asio/detail/reactive_socket_service_base.hpp:248

5 receiveboost::asio::mutable_buffers_1 (this=, ec=..., flags=0, buffers=..., impl=...)

at /usr/include/boost/asio/stream_socket_service.hpp:308

6 read_someboost::asio::mutable_buffers_1 (buffers=..., this=) at /usr/include/boost/asio/basic_stream_socket.hpp:713

7 read (n=4096,

s=0xa70a101c "POST / HTTP/1.1\r\nHost: 127.0.0.1:28332\r\nConnection: keep-alive\r\nContent-Length: 95\r\nAccept: application/json, text/javascript, */*; q=0.01\r\nOrigin: http://127.0.0.1:28332\r\nX-Requested-With: XMLHttpReq"..., this=0xa0f98110) at src/bitcoinrpc.cpp:585

8 read<SSLIOStreamDevice > (n=4096,

s=0xa70a101c "POST / HTTP/1.1\r\nHost: 127.0.0.1:28332\r\nConnection: keep-alive\r\nContent-Length: 95\r\nAccept: application/json, text/javascript, */*; q=0.01\r\nOrigin: http://127.0.0.1:28332\r\nX-Requested-With: XMLHttpReq"..., t=...) at /usr/include/boost/iostreams/read.hpp:186

9 read<SSLIOStreamDevice > (n=4096,

s=0xa70a101c "POST / HTTP/1.1\r\nHost: 127.0.0.1:28332\r\nConnection: keep-alive\r\nContent-Length: 95\r\nAccept: application/json, text/javascript, */*; q=0.01\r\nOrigin: http://127.0.0.1:28332\r\nX-Requested-With: XMLHttpReq"..., t=...) at /usr/include/boost/iostreams/read.hpp:52

10 read<SSLIOStreamDevice, boost::iostreams::detail::linked_streambuf<char, std::char_traits > > (n=4096,

s=0xa70a101c "POST / HTTP/1.1\r\nHost: 127.0.0.1:28332\r\nConnection: keep-alive\r\nContent-Length: 95\r\nAccept: application/json, text/javascript, */*; q=0.01\r\nOrigin: http://127.0.0.1:28332\r\nX-Requested-With: XMLHttpReq"..., dev=...)
at /usr/include/boost/iostreams/detail/adapter/concept_adapter.hpp:172

11 read<boost::iostreams::detail::linked_streambuf<char, std::char_traits > > (src=, n=4096,

s=0xa70a101c "POST / HTTP/1.1\r\nHost: 127.0.0.1:28332\r\nConnection: keep-alive\r\nContent-Length: 95\r\nAccept: application/json, text/javascript, */*; q=0.01\r\nOrigin: http://127.0.0.1:28332\r\nX-Requested-With: XMLHttpReq"..., this=0xa0f98110)
at /usr/include/boost/iostreams/detail/adapter/concept_adapter.hpp:78

12 boost::iostreams::detail::indirect_streambuf<SSLIOStreamDevice, std::char_traits, std::allocator, boost::iostreams::bidirectional>::underflow (this=0xa0f980ec) at /usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:258

13 0xb79ec63b in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6

---Type to continue, or q to quit---

14 0xb7a08dc5 in std::basic_istream<char, std::char_traits >& std::getline<char, std::char_traits, std::allocator >(std::basic_istream<char, std::char_traits >&, std::basic_string<char, std::char_traits, std::allocator >&, char) () from /usr/lib/i386-linux-gnu/libstdc++.so.6

15 0x0834d7c5 in getline<char, std::char_traits, std::allocator > (str=..., is=...) at /usr/include/c++/4.8/bits/basic_string.h:2795

16 ReadHTTPRequestLine (stream=..., proto=@0xab7f0f20: 0, http_method=..., http_uri=...) at src/bitcoinrpc.cpp:378

17 0x0835029c in ServiceConnection (conn=conn@entry=0xa0f98020) at src/bitcoinrpc.cpp:973

18 0x08351f48 in RPCAcceptHandler<boost::asio::ip::tcp, boost::asio::socket_acceptor_service > (acceptor=..., context=...,

fUseSSL=false, conn=0xa0f98020, error=...) at src/bitcoinrpc.cpp:728

19 0x0835b1f1 in operator()<void ()(boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, const boost::system::error_code&), boost::_bi::list1<const boost::system::error_code&> > (

f=@0xab7f11a0: 0x8351d80 <RPCAcceptHandler<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> >(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> > >, boost::asio::ssl::context&, bool, AcceptedConnection*, boost::system::error_code const&)>, a=<synthetischer Zeiger>, this=0xab7f11a4) at /usr/include/boost/bind/bind.hpp:525

20 operator()boost::system::error_code (a1=..., this=0xab7f11a0) at /usr/include/boost/bind/bind_template.hpp:47

21 operator() (this=0xab7f11a0) at /usr/include/boost/asio/detail/bind_handler.hpp:46

22 asio_handler_invoke<boost::asio::detail::binder1<boost::_bi::bind_t<void, void ()(boost::shared_ptr<boost::asio::basic_socketacceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> ()()> >, boost::system::error_code> > (

function=<Fehler beim Lesen der Variable: access outside bounds of object referenced via synthetic pointer>)
at /usr/include/boost/asio/handler_invoke_hook.hpp:64

23 invoke<boost::asio::detail::binder1<boost::_bi::bind_t<void, void ()(boost::shared_ptr<boost::asio::basic_socketacceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> (_)()> >, boost::system::error_code>, boost::_bi::bindt<void, void ()(boost::shared_ptrboost::asio::basic_socketacceptor, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> ()()> > > (context=..., function=...)

at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39

24 boost::asio::detail::reactive_socket_accept_op<boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service >, boost::asio::ip::tcp, boost::_bi::bind_t<void, void ()(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptorservice > >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5<boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service > > >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> ()()> > >::do_complete (owner=0x916b000, base=0x916bec0) at /usr/include/boost/asio/detail/reactive_socket_accept_op.hpp:123

25 0x08077d6d in complete (bytes_transferred=, ec=..., owner=..., this=0x916b898)

at /usr/include/boost/asio/detail/task_io_service_operation.hpp:37

26 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:412

27 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

---Type to continue, or q to quit---

28 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

29 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

30 0xb7a95d78 in start_thread (arg=0xab7f1b40) at pthread_create.c:311

31 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 20 (Thread 0xabff2b40 (LWP 13158)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x08077d06 in waitboost::asio::detail::scoped_lock (lock=..., this=0xabff2278)

at /usr/include/boost/asio/detail/posix_event.hpp:80

3 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:423

4 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

5 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

6 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

7 0xb7a95d78 in start_thread (arg=0xabff2b40) at pthread_create.c:311

8 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 19 (Thread 0xac7f3b40 (LWP 13157)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x08077d06 in waitboost::asio::detail::scoped_lock (lock=..., this=0xac7f3278)

at /usr/include/boost/asio/detail/posix_event.hpp:80

3 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:423

4 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

5 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

6 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

7 0xb7a95d78 in start_thread (arg=0xac7f3b40) at pthread_create.c:311

8 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 18 (Thread 0xacff4b40 (LWP 13156)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x08077d06 in waitboost::asio::detail::scoped_lock (lock=..., this=0xacff4278)

at /usr/include/boost/asio/detail/posix_event.hpp:80

3 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:423

4 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

---Type to continue, or q to quit---

5 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

6 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

7 0xb7a95d78 in start_thread (arg=0xacff4b40) at pthread_create.c:311

8 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 17 (Thread 0xad7f5b40 (LWP 13155)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x08077d06 in waitboost::asio::detail::scoped_lock (lock=..., this=0xad7f5278)

at /usr/include/boost/asio/detail/posix_event.hpp:80

3 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:423

4 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

5 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

6 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

7 0xb7a95d78 in start_thread (arg=0xad7f5b40) at pthread_create.c:311

8 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 16 (Thread 0xadff6b40 (LWP 13154)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7883b86 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81

2 0x08072a44 in boost::asio::detail::epoll_reactor::run (this=0x916b810, block=true, ops=...) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:392

3 0x08077be9 in boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:396

4 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

5 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

6 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

7 0xb7a95d78 in start_thread (arg=0xadff6b40) at pthread_create.c:311

8 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 15 (Thread 0xae7f7b40 (LWP 13153)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x08077d06 in waitboost::asio::detail::scoped_lock (lock=..., this=0xae7f7278)

at /usr/include/boost/asio/detail/posix_event.hpp:80

3 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:423

4 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

5 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

---Type to continue, or q to quit---

6 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

7 0xb7a95d78 in start_thread (arg=0xae7f7b40) at pthread_create.c:311

8 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 14 (Thread 0xaeff8b40 (LWP 13152)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x08077d06 in waitboost::asio::detail::scoped_lock (lock=..., this=0xaeff8278)

at /usr/include/boost/asio/detail/posix_event.hpp:80

3 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:423

4 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

5 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

6 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

7 0xb7a95d78 in start_thread (arg=0xaeff8b40) at pthread_create.c:311

8 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 13 (Thread 0xaf7f9b40 (LWP 13151)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb77bfaff in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56

2 0xb77c3083 in __GI_abort () at abort.c:90

3 0xb79f2605 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6

4 0xb79f0273 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6

5 0xb79f02af in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6

6 0xb79f050e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6

7 0xb79f0b16 in operator new(unsigned int) () from /usr/lib/i386-linux-gnu/libstdc++.so.6

8 0xb7a532b4 in std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6

9 0x0810ce9b in std::string::_S_construct<char const*> (beg=0x92b1170 "", end=0x94b043c "\311\v\002", __a=...)

at /usr/include/c++/4.8/bits/basic_string.tcc:138

10 0xb7a552a2 in std::basic_string<char, std::char_traits, std::allocator >::basic_string(char const*, unsigned int, std::allocator const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6

11 0x08350b1d in ServiceConnection (conn=conn@entry=0xa6e70300) at src/bitcoinrpc.cpp:992

12 0x08351f48 in RPCAcceptHandler<boost::asio::ip::tcp, boost::asio::socket_acceptor_service > (acceptor=..., context=...,

fUseSSL=false, conn=0xa6e70300, error=...) at src/bitcoinrpc.cpp:728

13 0x0835b1f1 in operator()<void ()(boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, const boost::system::error_code&), boost::_bi::list1<const boost::system::error_code&> > (

f=@0xaf7f91a0: 0x8351d80 <RPCAcceptHandler<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> >(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service<boost::asio::ip::tcp> > >, boost::asio::ssl::context&, bool, AcceptedConnection*, boost::system::error_code const&)>, a=<synthetischer Zeiger>, this=0xaf7f91a4) at /usr/include/boost/bind/bind.hpp:525

---Type to continue, or q to quit---

14 operator()boost::system::error_code (a1=..., this=0xaf7f91a0) at /usr/include/boost/bind/bind_template.hpp:47

15 operator() (this=0xaf7f91a0) at /usr/include/boost/asio/detail/bind_handler.hpp:46

16 asio_handler_invoke<boost::asio::detail::binder1<boost::_bi::bind_t<void, void ()(boost::shared_ptr<boost::asio::basic_socketacceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> ()()> >, boost::system::error_code> > (

function=<Fehler beim Lesen der Variable: access outside bounds of object referenced via synthetic pointer>)
at /usr/include/boost/asio/handler_invoke_hook.hpp:64

17 invoke<boost::asio::detail::binder1<boost::_bi::bind_t<void, void ()(boost::shared_ptr<boost::asio::basic_socketacceptor >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> (_)()> >, boost::system::error_code>, boost::_bi::bindt<void, void ()(boost::shared_ptrboost::asio::basic_socketacceptor, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> ()()> > > (context=..., function=...)

at /usr/include/boost/asio/detail/handler_invoke_helpers.hpp:39

18 boost::asio::detail::reactive_socket_accept_op<boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::stream_socket_service >, boost::asio::ip::tcp, boost::_bi::bind_t<void, void ()(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptorservice > >, boost::asio::ssl::context&, bool, AcceptedConnection, boost::system::error_code const&), boost::_bi::list5<boost::_bi::value<boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::socket_acceptor_service > > >, boost::reference_wrapperboost::asio::ssl::context, boost::_bi::value, boost::bi::value<AcceptedConnectionImpl>, boost::arg<1> ()()> > >::do_complete (owner=0x916b000, base=0x916bec0) at /usr/include/boost/asio/detail/reactive_socket_accept_op.hpp:123

19 0x08077d6d in complete (bytes_transferred=, ec=..., owner=..., this=0x916b898)

at /usr/include/boost/asio/detail/task_io_service_operation.hpp:37

20 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:412

21 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

22 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

23 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

24 0xb7a95d78 in start_thread (arg=0xaf7f9b40) at pthread_create.c:311

25 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 12 (Thread 0xafffab40 (LWP 13150)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x08077d06 in waitboost::asio::detail::scoped_lock (lock=..., this=0xafffa278)

at /usr/include/boost/asio/detail/posix_event.hpp:80

3 boost::asio::detail::task_io_service::do_run_one (this=this@entry=0x916b000, lock=..., this_thread=..., ec=...)

at /usr/include/boost/asio/detail/impl/task_io_service.ipp:423

---Type to continue, or q to quit---

4 0x0807c050 in boost::asio::detail::task_io_service::run (this=0x916b000, ec=...) at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

5 0x0807c1dc in boost::asio::io_service::run (this=0x8c74f80) at /usr/include/boost/asio/impl/io_service.ipp:59

6 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

7 0xb7a95d78 in start_thread (arg=0xafffab40) at pthread_create.c:311

8 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 11 (Thread 0xb07fbb40 (LWP 13149)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a99c33 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250

2 0xb7f2dc78 in boost::condition_variable::do_wait_until(boost::unique_lockboost::mutex&, timespec const&) ()

from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

3 0xb7f2a1ee in boost::this_thread::hiden::sleep_for(timespec const&) () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

4 0x0833d581 in sleep_for (ns=) at /usr/include/boost/thread/pthread/thread_data.hpp:233

5 boost::this_thread::sleep_for<long long, boost::ratio<1ll, 1000ll> > (d=...) at /usr/include/boost/thread/v2/thread.hpp:53

6 0x0833d646 in MilliSleep (n=900000) at src/util.h:113

7 LoopForever<void (*)()> (name=0x849240b "dumpaddr", func=0x8333ac0 <DumpAddresses()>, msecs=900000) at src/util.h:548

8 0x0833ce61 in operator()<void ()(char const, void (*)(), long long int), boost::_bi::list0> (

f=@0x916aed4: 0x833d5e0 <LoopForever<void (*)()>(char const*, void (*)(), long long)>, a=<synthetischer Zeiger>, this=0x916aed8)
at /usr/include/boost/bind/bind.hpp:392

9 operator() (this=0x916aed4) at /usr/include/boost/bind/bind_template.hpp:20

10 boost::detail::thread_data<boost::_bi::bind_t<void, void ()(char const, void ()(), long long), boost::_bi::list3<boost::_bi::value<char const>, boost::_bi::value<void (*)()>, boost::_bi::value > > >::run (this=0x916adb8) at /usr/include/boost/thread/detail/thread.hpp:117

11 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

12 0xb7a95d78 in start_thread (arg=0xb07fbb40) at pthread_create.c:311

13 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 10 (Thread 0xb0ffcb40 (LWP 13148)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a99c33 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250

2 0xb7f2dc78 in boost::condition_variable::do_wait_until(boost::unique_lockboost::mutex&, timespec const&) ()

from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

3 0xb7f2a1ee in boost::this_thread::hiden::sleep_for(timespec const&) () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

4 0x0833d581 in sleep_for (ns=) at /usr/include/boost/thread/pthread/thread_data.hpp:233

5 boost::this_thread::sleep_for<long long, boost::ratio<1ll, 1000ll> > (d=...) at /usr/include/boost/thread/v2/thread.hpp:53

6 0x0833c5d4 in MilliSleep (n=100) at src/util.h:113

7 ThreadMessageHandler () at src/net.cpp:1563

8 0x0833d02a in TraceThread<void (*)()> (name=0x8492403 "msghand", func=0x833c380 <ThreadMessageHandler()>) at src/util.h:572

9 0x0833ceb0 in operator()<void ()(char const, void (*)()), boost::_bi::list0> (

f=@0x916acec: 0x833cfe0 <TraceThread<void (*)()>(char const*, void (*)())>, a=<synthetischer Zeiger>, this=0x916acf0)

---Type to continue, or q to quit--- at /usr/include/boost/bind/bind.hpp:313

10 operator() (this=0x916acec) at /usr/include/boost/bind/bind_template.hpp:20

11 boost::detail::thread_data<boost::_bi::bind_t<void, void ()(char const, void ()()), boost::_bi::list2<boost::_bi::value<char const>, boost::_bi::value<void (*)()> > > >::run (this=0x916abd0) at /usr/include/boost/thread/detail/thread.hpp:117

12 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

13 0xb7a95d78 in start_thread (arg=0xb0ffcb40) at pthread_create.c:311

14 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 9 (Thread 0xb17fdb40 (LWP 13147)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0x0831bd2c in boost::condition_variable::wait (this=this@entry=0x9169478, m=...) at /usr/include/boost/thread/pthread/condition_variable.hpp:73

3 0x083383bc in wait (this=0x9169478) at src/sync.h:179

4 Acquire (this=0xb17fd1fc) at src/sync.h:212

5 CSemaphoreGrant (fTry=false, sema=..., this=0xb17fd1fc) at src/sync.h:243

6 ThreadOpenConnections () at src/net.cpp:1304

7 0x0833d02a in TraceThread<void (*)()> (name=0x84923fb "opencon", func=0x83380c0 <ThreadOpenConnections()>) at src/util.h:572

8 0x0833ceb0 in operator()<void ()(char const, void (*)()), boost::_bi::list0> (

f=@0x916ab04: 0x833cfe0 <TraceThread<void (*)()>(char const*, void (*)())>, a=<synthetischer Zeiger>, this=0x916ab08)
at /usr/include/boost/bind/bind.hpp:313

9 operator() (this=0x916ab04) at /usr/include/boost/bind/bind_template.hpp:20

10 boost::detail::thread_data<boost::_bi::bind_t<void, void ()(char const, void ()()), boost::_bi::list2<boost::_bi::value<char const>, boost::_bi::value<void (*)()> > > >::run (this=0x916a9e8) at /usr/include/boost/thread/detail/thread.hpp:117

11 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

12 0xb7a95d78 in start_thread (arg=0xb17fdb40) at pthread_create.c:311

13 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 8 (Thread 0xb1ffeb40 (LWP 13146)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a99c33 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250

2 0xb7f2dc78 in boost::condition_variable::do_wait_until(boost::unique_lockboost::mutex&, timespec const&) ()

from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

3 0xb7f2a1ee in boost::this_thread::hiden::sleep_for(timespec const&) () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

4 0x0833d581 in sleep_for (ns=) at /usr/include/boost/thread/pthread/thread_data.hpp:233

5 boost::this_thread::sleep_for<long long, boost::ratio<1ll, 1000ll> > (d=...) at /usr/include/boost/thread/v2/thread.hpp:53

6 0x0833933e in MilliSleep (n=120000) at src/util.h:113

7 ThreadOpenAddedConnections () at src/net.cpp:1443

8 0x0833d02a in TraceThread<void (*)()> (name=0x84923f4 "addcon", func=0x8338b00 <ThreadOpenAddedConnections()>) at src/util.h:572

9 0x0833ceb0 in operator()<void ()(char const, void (*)()), boost::_bi::list0> (

---Type to continue, or q to quit--- f=@0x916a91c: 0x833cfe0 <TraceThread<void (*)()>(char const, void ()())>, a=, this=0x916a920) at /usr/include/boost/bind/bind.hpp:313

10 operator() (this=0x916a91c) at /usr/include/boost/bind/bind_template.hpp:20

11 boost::detail::thread_data<boost::_bi::bind_t<void, void ()(char const, void ()()), boost::_bi::list2<boost::_bi::value<char const>, boost::_bi::value<void (*)()> > > >::run (this=0x916a800) at /usr/include/boost/thread/detail/thread.hpp:117

12 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

13 0xb7a95d78 in start_thread (arg=0xb1ffeb40) at pthread_create.c:311

14 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 7 (Thread 0xb27ffb40 (LWP 13145)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb787af41 in select () at ../sysdeps/unix/syscall-template.S:81

2 0x0833b8ad in ThreadSocketHandler () at src/net.cpp:882

3 0x0833d02a in TraceThread<void (*)()> (name=0x84657f0 "net", func=0x833aed0 <ThreadSocketHandler()>) at src/util.h:572

4 0x0833ceb0 in operator()<void ()(char const, void (*)()), boost::_bi::list0> (

f=@0x916a6d4: 0x833cfe0 <TraceThread<void (*)()>(char const*, void (*)())>, a=<synthetischer Zeiger>, this=0x916a6d8)
at /usr/include/boost/bind/bind.hpp:313

5 operator() (this=0x916a6d4) at /usr/include/boost/bind/bind_template.hpp:20

6 boost::detail::thread_data<boost::_bi::bind_t<void, void ()(char const, void ()()), boost::_bi::list2<boost::_bi::value<char const>, boost::_bi::value<void (*)()> > > >::run (this=0x916a5b8) at /usr/include/boost/thread/detail/thread.hpp:117

7 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

8 0xb7a95d78 in start_thread (arg=0xb27ffb40) at pthread_create.c:311

9 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xb5f44b40 (LWP 13140)):

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a99c33 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:250

2 0xb7f2dc78 in boost::condition_variable::do_wait_until(boost::unique_lockboost::mutex&, timespec const&) ()

from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

3 0xb7f2a1ee in boost::this_thread::hiden::sleep_for(timespec const&) () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

4 0x082f2ee0 in sleep_for (ns=) at /usr/include/boost/thread/pthread/thread_data.hpp:233

5 sleep_for<long long, boost::ratio<1ll, 1000ll> > (d=...) at /usr/include/boost/thread/v2/thread.hpp:53

6 MilliSleep (n=200) at src/util.h:113

7 DetectShutdownThread (threadGroup=0xbfffeffc) at src/bitcoind.cpp:16

8 0xb7f29591 in ?? () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

9 0xb7a95d78 in start_thread (arg=0xb5f44b40) at pthread_create.c:311

10 0xb788301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb62b9700 (LWP 13136)): ---Type to continue, or q to quit---

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb7a9984b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187

2 0xb7f2d9cc in boost::condition_variable::wait(boost::unique_lockboost::mutex&) () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

3 0xb7f29daf in boost::thread::join_noexcept() () from /usr/lib/i386-linux-gnu/libboost_thread.so.1.53.0

4 0x082f3b12 in join (this=0x85ffc60) at /usr/include/boost/thread/detail/thread.hpp:751

5 AppInit (argc=argc@entry=12, argv=argv@entry=0xbffff1d4) at src/bitcoind.cpp:117

6 0x0805ff57 in main (argc=12, argv=0xbffff1d4) at src/bitcoind.cpp:139

miguelfreitas commented 10 years ago

thanks, very detailed report. but it looks like a crash due to out of memory, so we need to fix that leak first.

Erkan-Yilmaz commented 10 years ago

definitely (also tell when you need further massif/valgrind checks)