Stuck in futex(0xb71905fc, FUTEX_WAIT_PRIVATE, 1, NULL #4523

issue ghost opened this issue on July 13, 2014
  1. ghost commented at 10:44 PM on July 13, 2014: none

    Similarl to #4051 but I get a different debug info so I'm opening a new issue. Last 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.
    Should I start with reindex next time? I don't want to do it just yet in case you need additional debug info.

     $ uname -a
    Linux raspberrypi 3.12.22+ [#691](/bitcoin-bitcoin/691/) PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux
    $ cat /etc/debian_version
    jessie/sid
    
    $ bitcoind getinfo
    {
        "version" : 90200,
        "protocolversion" : 70002,
        "blocks" : 289110,
        "timeoffset" : 0,
        "connections" : 1,
        "proxy" : "",
        "difficulty" : 3815723798.81463003,
        "testnet" : false,
        "relayfee" : 0.00001000,
        "errors" : ""
    }
    
    - gdb loading
    GNU gdb (GDB) 7.6.2 (Raspbian 7.6.2-1.1)
    ...
    Loaded symbols for /lib/arm-linux-gnueabihf/libnss_dns.so.2
    Reading symbols from /lib/arm-linux-gnueabihf/libresolv.so.2...Reading symbols from /usr/lib/debug/lib/arm-linux-gnueabihf/libresolv-2.19.so...done.
    done.
    Loaded symbols for /lib/arm-linux-gnueabihf/libresolv.so.2
    0xb68ba84c in __pthread_cond_wait (cond=0xb7c6e5f8, mutex=0xb7c6e5e0)
        at pthread_cond_wait.c:187
    187     pthread_cond_wait.c: No such file or directory.
    
    - backtrace
    
    [#0](/bitcoin-bitcoin/0/)  0xb68ba84c in __pthread_cond_wait (cond=0xb7c6e5f8, mutex=0xb7c6e5e0)
        at pthread_cond_wait.c:187
    [#1](/bitcoin-bitcoin/1/)  0xb6dcd804 in boost::condition_variable::wait (this=0xb7c6e5e0, m=...)
        at /usr/include/boost/thread/pthread/condition_variable.hpp:73
    [#2](/bitcoin-bitcoin/2/)  0xb6c11e28 in boost::thread::join_noexcept() ()
       from /usr/lib/libboost_thread.so.1.53.0
    [#3](/bitcoin-bitcoin/3/)  0xb6d2f6d4 in join (this=0xb7c6e198)
        at /usr/include/boost/thread/detail/thread.hpp:751
    [#4](/bitcoin-bitcoin/4/)  AppInit (argc=argc@entry=3, argv=0x0, argv@entry=0xbebe12b4)
        at bitcoind.cpp:164
    [#5](/bitcoin-bitcoin/5/)  0xb6d26438 in main (argc=3, argv=0xbebe12b4) at bitcoind.cpp:182
    
    - threads
      Id   Target Id         Frame
      12   Thread 0xb65d3450 (LWP 2127) "bitcoind" 0xb68babd8 in __pthread_cond_timedwait (cond=0xb7c6e658, mutex=0xb7c6e640, abstime=0xb65d2de0)
        at pthread_cond_timedwait.c:199
      11   Thread 0xb5bff450 (LWP 2130) "bitcoind" 0xb6839064 in write ()
        at ../sysdeps/unix/syscall-template.S:81
      10   Thread 0xa1e94450 (LWP 2304) "bitcoind" 0xb6841164 in select ()
        at ../sysdeps/unix/syscall-template.S:81
      9    Thread 0xa1694450 (LWP 2305) "bitcoind" 0xb68babd8 in __pthread_cond_timedwait (cond=0xb20a4568, mutex=0xb20a4550, abstime=0xa1693cd0)
        at pthread_cond_timedwait.c:199
      8    Thread 0xa0e94450 (LWP 2306) "bitcoind" 0xb68bd830 in __lll_lock_wait (
        futex=futex@entry=0xb6fc6cd0 <cs_main>, private=<optimized out>)
        at ../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c:46
      7    Thread 0xa0694450 (LWP 2307) "bitcoind" 0xb6ab127c in ?? ()
       from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
      6    Thread 0x9fe94450 (LWP 2308) "bitcoind" 0xb68babd8 in __pthread_cond_timedwait (cond=0xaefbcfb0, mutex=0xaefbcf98, abstime=0x9fe93da0)
        at pthread_cond_timedwait.c:199
      5    Thread 0x9f694450 (LWP 2311) "bitcoind"
        0xb68ba84c in __pthread_cond_wait (cond=0x9f693da8, mutex=0xb1c264a8)
        at pthread_cond_wait.c:187
      4    Thread 0x9ee94450 (LWP 2312) "bitcoind" 0xb68ba84c in __pthread_cond_wait (cond=0x9ee93da8, mutex=0xb1c264a8) at pthread_cond_wait.c:187
      3    Thread 0x9e694450 (LWP 2313) "bitcoind" 0xb68ba84c in __pthread_cond_wait (cond=0x9e693da8, mutex=0xb1c264a8) at pthread_cond_wait.c:187
      2    Thread 0x9de94450 (LWP 2314) "bitcoind" 0xb6848404 in epoll_wait ()
        at ../sysdeps/unix/syscall-template.S:81
    * 1    Thread 0xb675e000 (LWP 2126) "bitcoind" 0xb68ba84c in __pthread_cond_wait (cond=0xb7c6e5f8, mutex=0xb7c6e5e0) at pthread_cond_wait.c:187
    
    
    
  2. laanwj added the label Bug on Jul 31, 2014
  3. laanwj added the label Priority Medium on Jul 31, 2014
  4. laanwj closed this on Oct 27, 2015

  5. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me