Bitcoin core UI is unresponsive while syncing #804

issue steevithak openend this issue on March 9, 2024
  1. steevithak commented at 10:52 pm on March 9, 2024: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    I’m running Fedora with a Wayland/Gnome desktop. Each time I start Bitcoin Core, it is completely unresponsive during the initial syncing period and continuously displays “org.bitcoin.bitcoin-qt is not responding” dialogs with Force quit / Wait options. If I keep clicking the Wait option, it will eventually finish syncing and work normally. It’s acting like the UI is not able to respond to normal UI events while the backend is syncing but no other Gnome applications I use behave this way.

    Screenshot from 2024-03-09 16-26-05

    Expected behaviour

    GUI app should be fully responsive to foreground UI events such as mouse clicks and keyboard actions even when the backend is busy syncing.

    Steps to reproduce

    1.Start Bitcoin Core on a Fedora Wayland/Gnome desktop and try to use it while it’s syncing 2. See endless “not responding” dialogs

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Package manager

    What version of Bitcoin Core are you using?

    26.0-1

    Operating system and version

    Fedora 38

    Machine specifications

    Intel NUC 13 Pro NUC13VYKi7 ( 64GB RAM / 1TB SSD ) Fedora 38 Linux kernel 6.7.7-100 Gnome 44.9 bitcoin-core-desktop.x86_64 26.0-1.fc38

  2. hebasto commented at 10:55 pm on March 9, 2024: member

    How did you obtain Bitcoin Core

    Package manager

    Which one?

  3. steevithak commented at 10:58 pm on March 9, 2024: none
    dnf is the package manager for Fedora. Installed from the Fedora repo via “dnf install bitcoin-core-desktop”
  4. hebasto commented at 11:12 pm on March 9, 2024: member

    Cannot reproduce it on my Fedora 38 with the bitcoin-core-desktop-26.0-1.fc38.x86_64 installed.

    Any additional hints that might help to reproduce the issue?

    Do Guix binaries from https://bitcoincore.org/bin/bitcoin-core-26.0/ work for you?

  5. hebasto commented at 11:19 pm on March 9, 2024: member
    Are any wallets loaded? If so, could you try to run with -nowallet option?
  6. steevithak commented at 11:20 pm on March 9, 2024: none
    Maybe a mouse or keyboard action is required to trigger the process? What I usually do after starting the UI is try to go to the Window -> Console menu to open the console so I can add my local bitcoin node (so it’ll sync over local ethernet). When I first hit the Window menu is when I first notice the “not responding” dialog popup. Each time I hit wait, it will go away for a few seconds and if I’m quick and I perform an action or two before it pops up again. I’ll investigate the other binaries when I get a chance. I’m not sure I want to try installing those over the Fedora binaries on my desktop box for fear of blowing up my wallet or something but I may be be able to try them out on another box.
  7. steevithak commented at 11:22 pm on March 9, 2024: none
    Yes, I keep my wallet on this box and periodically load up bitcoin core to keep it synced up or make a transaction. I’m not sure how to use the –nowallet option with the desktop UI version of bitcoin core but I’ll investigate that when I get a chance.
  8. hebasto commented at 11:27 pm on March 9, 2024: member

    I’m not sure how to use the –nowallet option with the desktop UI version of bitcoin core but I’ll investigate that when I get a chance.

    One way is to run in GNOME Terminal:

    0bitcoin-qt -nowallet
    

    No wallets will be loaded automatically. This can help with your issue until full sync. You can load your wallet manually via the menu: File -> Open Wallet.

  9. steevithak commented at 11:36 pm on March 9, 2024: none

    I’m not sure how to use the –nowallet option with the desktop UI version of bitcoin core but I’ll investigate that when I get a chance.

    One way is to run in GNOME Terminal:

    0bitcoin-qt -nowallet
    

    No wallets will be loaded automatically. This can help with your issue until full sync. You can load your wallet manually via the menu: File -> Open Wallet.

    That worked to start the UI but it didn’t seem to find my existing config and wants to build an entirely new blockchain DB. I’ll need to figure out how to point it at my existing data. But, in any case, it’s synced now so I can’t reproduce the problem anymore. When it’s fully synced, it starts right up and the UI works fine. Once it’s a week or two out of date, I’ll try it again and see if starting from the command line helps. If no one else is seeing this, feel free to close. Maybe it’s something weird about Fedora 38 or my configuration. I need to update to Fedora 39 (or 40 soon) anyway…


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 09:20 UTC

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