bitcoin-qt v0.12.0 crash on Settings menuitem select #7672

issue CraniumDad opened this issue on March 12, 2016
  1. CraniumDad commented at 4:55 PM on March 12, 2016: none

    I'm new (newbie) to using Bitcoin Core software. I'm running Bitcoin Core v0.12.0.0-g188ca9c on Ubuntu "14.04.4 LTS, Trusty Tahr" Linux with all updates installed. X-windows manager is XFCE4.

    When I try to open the Settings feature in the bitcoin-qt GUI in X-windows, the program crashes with one line in the debug log: GUI: ASSERT failure in QList<T>::at: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 469

    I'm starting the bitcoin-qt process from my personal user account with the following start command: sudo -i -u btcusr bitcoin-qt

    My /home/btcusr/.bitcoin/bitcoin.conf file is as follows: rpcuser=bitcoinrpc rpcpassword=secret server=1 onlynet=ipv4 bind=10.2.31.16 timeout=15000 listen=1 maxconnections=32

    /home/btcusr/.bitcoin/ looks like this: drwxr-x--- 6 btcusr btcgrp 4096 Mar 12 11:36 ./ drwxr-xr-x 5 root btcgrp 4096 Mar 11 17:30 ../ -rw------- 1 btcusr btcgrp 199 Mar 11 18:55 bitcoin.conf -rw------- 1 btcusr btcgrp 76 Feb 27 22:13 bitcoin.conf.bak -rw------- 1 btcusr btcgrp 5 Mar 11 21:06 bitcoind.pid drwx------ 3 btcusr btcgrp 36864 Mar 11 21:37 blocks/ drwx------ 2 btcusr btcgrp 36864 Mar 12 11:44 chainstate/ drwx------ 2 btcusr btcgrp 4096 Mar 11 18:56 database/ -rw------- 1 btcusr btcgrp 0 Feb 4 21:36 db.log -rw------- 1 btcusr btcgrp 4043923 Mar 12 11:50 debug.log -rw------- 1 btcusr btcgrp 24726 Mar 11 18:53 fee_estimates.dat drwx------ 3 btcusr btcgrp 4096 Mar 11 17:29 .local/ -rw------- 1 btcusr btcgrp 0 Feb 5 21:14 .lock -rw------- 1 btcusr btcgrp 81290 Mar 12 11:36 peers.dat -rw------- 1 btcusr btcgrp 61440 Mar 12 11:37 wallet.dat

  2. MarcoFalke commented at 5:05 PM on March 12, 2016: member

    Did btcusr run a previous version of Bitcoin Core?

  3. MarcoFalke commented at 5:43 PM on March 12, 2016: member

    Anyway, you may want to try -resetguisettings or #7366 (comment)

  4. jonasschnelli added the label GUI on Mar 13, 2016
  5. CraniumDad commented at 1:21 AM on March 14, 2016: none

    Yes, btcusr ran previous version of Bitcoin Core. Tried command `sudo -i -u btcusr bitcoin-qt -resetguisettings' and still got crash on selecting Settings.

    Seems from #7366 may have a permission issue but not clear what file or sudo issue.

  6. laanwj commented at 9:18 AM on March 14, 2016: member

    @CraniumDad in that issue, ~/.config/Bitcoin/Bitcoin-Qt.conf was (or the directory it was in) was owned by the wrong user

  7. CraniumDad commented at 2:51 AM on March 19, 2016: none

    Here was the cause of the error...

    /home/btcusr/.bitcoin/ included: drwxr-xr-x 5 root btcgrp 4096 Mar 11 17:30 ../

    I chmod'ed /home/btcusr to g+w (775) instead of 755 and problem fixed.

    It would be better for bitcoin-qt to gracefully produce an error message instead of full crash of the process.

  8. jonasschnelli commented at 8:38 AM on June 21, 2016: contributor

    Can't reproduce this issue on my OSX machine (a chown to root and a chmod to 500) did not gave me the described error. @CraniumDad: mind doing a retest with the current master?

  9. CraniumDad commented at 12:50 AM on June 30, 2016: none

    Permissions issue on parent folder in Linux.

  10. CraniumDad closed this on Jun 30, 2016

  11. 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-19 03:15 UTC

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