armhf GUI: Permission denied: "/database/lost+found/wallet.dat" Aborted #16877

issue Nikolay-Po opened this issue on September 15, 2019
  1. Nikolay-Po commented at 9:27 PM on September 15, 2019: none

    Bitcoin Core version v0.18.99.0-4bfef0dae-dirty Compiled natively on "Linux Debian-Desktop 4.4.185 #1 SMP Fri Jul 19 14:34:55 EDT 2019 aarch64 GNU/Linux"

    ./autogen.sh
    ./configure --disable-debug CFLAGS="-g0 -O3" CXXFLAGS="-g0 -O3" BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --enable-werror --with-qrencode --enable-cxx --disable-shared --with-pic --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
    

    GUI runs OK. And noticeable faster than previously compiled (with debug enabled) v0.18.99.0-495db72ee-dirty. But both

    • Bitcoin Core version v0.18.99.0-495db72ee-dirty (debug enabled, default optimization)
    • Bitcoin Core version v0.18.99.0-4bfef0dae-dirty (debug disabled, -O3)

    are crashing when mouse cursor is pointed to File/OpenWallet menu item. Starting parameters are the same:

    bitcoin-qt -datadir=/bdb -nodebug -dbcache=1536

    /bdb is dedicated RAID1 volume with bitcoin database inside. Console output:

    terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
      what():  boost::filesystem::status: Permission denied: "/bdb/lost+found/wallet.dat"
    

    There is nothing about the crash in debug.log before sudden application abort. I'm wondering for what purpose to access the wallets in lost+found folder? I thought there may be a problems with access rights for that folder. I have deleted lost+found and executed fsck -f /dev/md0 for /bdb directory volume. The problem still here. While configuring the build, I had to add

    --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
    

    because configure script was unable to find boost executables.

  2. Nikolay-Po added the label Bug on Sep 15, 2019
  3. MarcoFalke added the label Wallet on Sep 16, 2019
  4. MarcoFalke added the label Questions and Help on Sep 16, 2019
  5. MarcoFalke removed the label Bug on Sep 16, 2019
  6. MarcoFalke commented at 2:18 PM on September 16, 2019: member

    I'd suggest that you create a dedicated folder for the bitcoin core datadir, and not use the root of the storage. The root is often used by other processes, such as fsck in your case with the lost+found dir.

    I don't think there is anything we can do here.

  7. MarcoFalke closed this on Sep 16, 2019

  8. Nikolay-Po commented at 3:40 PM on September 16, 2019: none

    Thanks! The move of the database to dedicated folder at the same volume have solved the problem!

  9. MarcoFalke locked this on Dec 16, 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-16 18:14 UTC

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