bitcoind bus error on MIPS ci20 running debian #6091

issue auryn-macmillan opened this issue on May 1, 2015
  1. auryn-macmillan commented at 5:30 AM on May 1, 2015: none

    Trying to set up a full node using a MIPS ci20 running debian. Compiled and installed with no isses, however I'm getting a "Bus error" when trying to run bitcoind or bitcoin-qt. Any help would be greatly appreciated. Below is debug.log.

    2015-05-01 05:18:38 Bitcoin version v0.10.99.0-9c25397 (2015-04-29 19:08:33 +0200)
    2015-05-01 05:18:38 Using OpenSSL version OpenSSL 1.0.1e 11 Feb 2013
    2015-05-01 05:18:38 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
    2015-05-01 05:18:38 Default data directory /home/ci20/.bitcoin
    2015-05-01 05:18:38 Using data directory /home/ci20/.bitcoin
    2015-05-01 05:18:38 Using config file /home/ci20/.bitcoin/bitcoin.conf
    2015-05-01 05:18:38 Using at most 125 connections (1024 file descriptors available)
    2015-05-01 05:18:38 Using 2 threads for script verification
    2015-05-01 05:18:38 Binding RPC on address ::1 port 8332 (IPv4+IPv6 bind any: 0)
    2015-05-01 05:18:38 Binding RPC on address 127.0.0.1 port 8332 (IPv4+IPv6 bind any: 0)
    2015-05-01 05:18:38 Using wallet wallet.dat
    2015-05-01 05:18:38 init message: Verifying wallet...
    2015-05-01 05:18:38 CDBEnv::Open: LogDir=/home/ci20/.bitcoin/database     ErrorFile=/home/ci20/.bitcoin/db.log
    2015-05-01 05:18:38 Bound to [::]:8333
    2015-05-01 05:18:38 Bound to 0.0.0.0:8333
    2015-05-01 05:18:38 init message: Loading block index...
    2015-05-01 05:18:38 Opening LevelDB in /home/ci20/.bitcoin/blocks/index
    
  2. auryn-macmillan commented at 6:53 AM on May 1, 2015: none

    output from memtester indicates the memory is ok. All loops reported the same.

    Loop 10/10:
        Stuck Address       : ok         
        Random Value        : ok
        Compare XOR         : ok
        Compare SUB         : ok
        Compare MUL         : ok
        Compare DIV         : ok
        Compare OR          : ok
        Compare AND         : ok
        Sequential Increment: ok
        Solid Bits          : ok         
        Block Sequential    : ok         
        Checkerboard        : ok         
        Bit Spread          : ok         
        Bit Flip            : ok         
        Walking Ones        : ok         
        Walking Zeroes      : ok         
        8-bit Writes        : ok
        16-bit Writes       : ok
    
  3. auryn-macmillan commented at 7:07 AM on May 1, 2015: none

    output from gdb:

    ci20@ci20-3168:~/.bitcoin$ gdb bitcoind
    GNU gdb (GDB) 7.4.1-debian
    Copyright (C) 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    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 "mipsel-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/local/bin/bitcoind...done.
    (gdb) run
    Starting program: /usr/local/bin/bitcoind 
    
    Program received signal SIGBUS, Bus error.
    0x558b04ec in load (this=0xaf155018, __m=std::memory_order_acquire)
        at /usr/include/c++/4.6/bits/atomic_0.h:563
    563     void* __v = _ATOMIC_LOAD_(this, __m);
    (gdb)
    
  4. laanwj added the label Bug on May 4, 2015
  5. laanwj commented at 9:27 AM on May 4, 2015: member

    Looks like a problem with atomic loads on your architecture. Anything more specific in the kernel log maybe?

  6. theuni commented at 3:09 PM on May 4, 2015: member

    I have a very hazy recollection of a busted libstdc++ atomic implementation on mips for some version, but i can't remember any details now.

    Maybe side-stepping that would fix your problem: https://github.com/google/leveldb/pull/272

  7. laanwj commented at 4:00 PM on February 9, 2016: member

    Closing due to inactivity.

  8. laanwj closed this on Feb 9, 2016

  9. MarcoFalke locked this on Sep 8, 2021
Labels

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-05-03 15:15 UTC

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