bitcoin-qt 0.8.2rc1 never finishes loading the gui #2643

issue rdponticelli opened this issue on May 12, 2013
  1. rdponticelli commented at 12:23 PM on May 12, 2013: contributor

    After the splash screen, it appears the main windows, but thoroughly empty. rpc works fine if started with -server=1, but you can't stop the program. debug.log looks fine, rpc order to stop gets there, but is ignored.

    Environment is a minimal debian wheezy i386 vm with fluxbox, and without network.

    bitcoin-qt 0.8.1 works fine there, and both versions of bitcoind too.

  2. Diapolo commented at 7:02 PM on May 12, 2013: none

    "thoroughly empty" means what? Can you show a screenshot? Is that with an empty datadir or a filled one? What does an RPC stop command do?

    Perhaps you can upload your debug.log, so we can take a look.

  3. rdponticelli commented at 1:59 AM on May 13, 2013: contributor

    Screenshot: https://docs.google.com/file/d/0B_fyMTbLGLc3T3FiWDZDWUxrek0/edit?usp=sharing

    It's a filled directory, but with neither blockchain nor keypool. The wallet has only 1 address. I could upload a debug.log, but there's nothing interesting there... The rpc stop command is received on the server side, registered on debug.log, but ignored. You can only stop it by kill -9

    I'll try to debug this further, but might not be a stopper because the use case isn't very common, and because testing on real hardware seems to work fine... but it would be nice to found the cause anyway...

  4. gmaxwell commented at 4:52 AM on May 13, 2013: contributor

    What does "It's a filled directory" mean?

    It's not clear to me what you believe you're doing special and uncommon here is.

  5. Diapolo commented at 7:42 AM on May 13, 2013: none

    -keypool=0 and -connect=127.0.0.1 perhaps I'll try these and see what happens :).

    Edit: Nothing, loads just fine...

  6. rdponticelli commented at 10:46 PM on May 16, 2013: contributor

    Looks like #2501 is responsible for this.

  7. gmaxwell commented at 11:09 PM on May 16, 2013: contributor

    @rdponticelli How did you determine this?

  8. rdponticelli commented at 11:12 PM on May 16, 2013: contributor

    By bisecting. Now I'm about to test v0.8.2rc1 with that commit reverted, just to be sure.

  9. gmaxwell commented at 11:13 PM on May 16, 2013: contributor

    Thanks!!

  10. rdponticelli commented at 11:30 PM on May 16, 2013: contributor

    Confirmed. v0.8.2rc1 with 4881353efef81acc6ddbaaecd4ba89f012b3e87e reverted works as expected.

  11. gmaxwell commented at 11:35 PM on May 16, 2013: contributor

    Just a wild guess: Can you try adding in a progressBarLabel->setVisible(false); before the setText calls and a progressBarLabel->setVisible(True); after in bitcoingui.cpp?

    That commit is mostly just changing around strings, I don't see any obvious behavioral differences except the visibility calls in the diff. (I'm gui dumb, so this might just be a snipe hunt)

  12. Diapolo commented at 5:39 AM on May 17, 2013: none

    Perhaps this code needs clientModel ? clientModel->getBlockSource() : BLOCK_SOURCE_NONE, which I removed, because I had the impression that function could only be called, if clientModel is already set.

    I just can think of ClientModel::updateTimer() beeing faster here?

    Well, connect(model, SIGNAL(numBlocksChanged(int,int)), this, SLOT(setNumBlocks(int,int))); is only called if we already HAVE a clientModel, so that can't be the problem...

  13. laanwj commented at 7:39 AM on May 17, 2013: member

    Great find @rdponticelli.

    I think we should revert that pull before the 0.8.2 release and later figure out why and how and re-merge a fixed version.

  14. Diapolo commented at 8:07 AM on May 17, 2013: none

    @laanwj Any idea what is the cause, can it be related to clientModel somehow? I would vote for fixing over revertig... dunno how near 0.8.2 FINAL is or if Gavin intends to offer an RC2.

  15. rdponticelli referenced this in commit 212d4a02bb on May 17, 2013
  16. rdponticelli commented at 1:50 PM on May 17, 2013: contributor

    #2661 seems to fix this. It restores previous behaviour on the special case my tests were triggering.

  17. rdponticelli referenced this in commit f48c7eb63a on May 17, 2013
  18. rdponticelli referenced this in commit af338a7890 on May 18, 2013
  19. rdponticelli commented at 4:05 PM on May 23, 2013: contributor

    Closing, as this is likely an incompatibility problem between qt and qemu/kvm, or a bug somewhere on those codebases. Some other qt based software, as kde, doesn't seem to work at all on qemu/kvm.

    I'll reopen the issue if I find some way to fix/workaround this.

  20. rdponticelli closed this on May 23, 2013

  21. 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-05-02 12:16 UTC

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