{"action":"closed","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/4523","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/4523/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/4523/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/4523/events","html_url":"https://github.com/bitcoin/bitcoin/issues/4523","id":37750893,"number":4523,"title":"Stuck in futex(0xb71905fc, FUTEX_WAIT_PRIVATE, 1, NULL","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Bug","name":"Bug","color":"FBBAAB"},{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Priority%20Medium","name":"Priority Medium","color":"E5993F"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2014-07-13T22:44:58Z","updated_at":"2015-10-27T11:02:13Z","closed_at":"2015-10-27T11:02:13Z","body":"Similarl to #4051 but I get a different debug info so I'm opening a new issue.\r\nLast time I shutdown bitcoind normally and now it runs but it get stuck after reading in data (which takes a while).  I can shut it down cleanly, but it gets stuck again upon restart.  \r\nShould I start with reindex next time? I don't want to do it just yet in case you need additional debug info.\r\n\r\n```\r\n $ uname -a\r\nLinux raspberrypi 3.12.22+ #691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux\r\n$ cat /etc/debian_version\r\njessie/sid\r\n\r\n$ bitcoind getinfo\r\n{\r\n    \"version\" : 90200,\r\n    \"protocolversion\" : 70002,\r\n    \"blocks\" : 289110,\r\n    \"timeoffset\" : 0,\r\n    \"connections\" : 1,\r\n    \"proxy\" : \"\",\r\n    \"difficulty\" : 3815723798.81463003,\r\n    \"testnet\" : false,\r\n    \"relayfee\" : 0.00001000,\r\n    \"errors\" : \"\"\r\n}\r\n\r\n- gdb loading\r\nGNU gdb (GDB) 7.6.2 (Raspbian 7.6.2-1.1)\r\n...\r\nLoaded symbols for /lib/arm-linux-gnueabihf/libnss_dns.so.2\r\nReading symbols from /lib/arm-linux-gnueabihf/libresolv.so.2...Reading symbols from /usr/lib/debug/lib/arm-linux-gnueabihf/libresolv-2.19.so...done.\r\ndone.\r\nLoaded symbols for /lib/arm-linux-gnueabihf/libresolv.so.2\r\n0xb68ba84c in __pthread_cond_wait (cond=0xb7c6e5f8, mutex=0xb7c6e5e0)\r\n    at pthread_cond_wait.c:187\r\n187     pthread_cond_wait.c: No such file or directory.\r\n\r\n- backtrace\r\n\r\n#0  0xb68ba84c in __pthread_cond_wait (cond=0xb7c6e5f8, mutex=0xb7c6e5e0)\r\n    at pthread_cond_wait.c:187\r\n#1  0xb6dcd804 in boost::condition_variable::wait (this=0xb7c6e5e0, m=...)\r\n    at /usr/include/boost/thread/pthread/condition_variable.hpp:73\r\n#2  0xb6c11e28 in boost::thread::join_noexcept() ()\r\n   from /usr/lib/libboost_thread.so.1.53.0\r\n#3  0xb6d2f6d4 in join (this=0xb7c6e198)\r\n    at /usr/include/boost/thread/detail/thread.hpp:751\r\n#4  AppInit (argc=argc@entry=3, argv=0x0, argv@entry=0xbebe12b4)\r\n    at bitcoind.cpp:164\r\n#5  0xb6d26438 in main (argc=3, argv=0xbebe12b4) at bitcoind.cpp:182\r\n\r\n- threads\r\n  Id   Target Id         Frame\r\n  12   Thread 0xb65d3450 (LWP 2127) \"bitcoind\" 0xb68babd8 in __pthread_cond_timedwait (cond=0xb7c6e658, mutex=0xb7c6e640, abstime=0xb65d2de0)\r\n    at pthread_cond_timedwait.c:199\r\n  11   Thread 0xb5bff450 (LWP 2130) \"bitcoind\" 0xb6839064 in write ()\r\n    at ../sysdeps/unix/syscall-template.S:81\r\n  10   Thread 0xa1e94450 (LWP 2304) \"bitcoind\" 0xb6841164 in select ()\r\n    at ../sysdeps/unix/syscall-template.S:81\r\n  9    Thread 0xa1694450 (LWP 2305) \"bitcoind\" 0xb68babd8 in __pthread_cond_timedwait (cond=0xb20a4568, mutex=0xb20a4550, abstime=0xa1693cd0)\r\n    at pthread_cond_timedwait.c:199\r\n  8    Thread 0xa0e94450 (LWP 2306) \"bitcoind\" 0xb68bd830 in __lll_lock_wait (\r\n    futex=futex@entry=0xb6fc6cd0 <cs_main>, private=<optimized out>)\r\n    at ../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c:46\r\n  7    Thread 0xa0694450 (LWP 2307) \"bitcoind\" 0xb6ab127c in ?? ()\r\n   from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0\r\n  6    Thread 0x9fe94450 (LWP 2308) \"bitcoind\" 0xb68babd8 in __pthread_cond_timedwait (cond=0xaefbcfb0, mutex=0xaefbcf98, abstime=0x9fe93da0)\r\n    at pthread_cond_timedwait.c:199\r\n  5    Thread 0x9f694450 (LWP 2311) \"bitcoind\"\r\n    0xb68ba84c in __pthread_cond_wait (cond=0x9f693da8, mutex=0xb1c264a8)\r\n    at pthread_cond_wait.c:187\r\n  4    Thread 0x9ee94450 (LWP 2312) \"bitcoind\" 0xb68ba84c in __pthread_cond_wait (cond=0x9ee93da8, mutex=0xb1c264a8) at pthread_cond_wait.c:187\r\n  3    Thread 0x9e694450 (LWP 2313) \"bitcoind\" 0xb68ba84c in __pthread_cond_wait (cond=0x9e693da8, mutex=0xb1c264a8) at pthread_cond_wait.c:187\r\n  2    Thread 0x9de94450 (LWP 2314) \"bitcoind\" 0xb6848404 in epoll_wait ()\r\n    at ../sysdeps/unix/syscall-template.S:81\r\n* 1    Thread 0xb675e000 (LWP 2126) \"bitcoind\" 0xb68ba84c in __pthread_cond_wait (cond=0xb7c6e5f8, mutex=0xb7c6e5e0) at pthread_cond_wait.c:187\r\n\r\n\r\n```\r\n"}}