UI Hangs when running as std user #21136

issue oguzhanf opened this issue on February 10, 2021
  1. oguzhanf commented at 5:48 AM on February 10, 2021: none

    <!-- Describe the issue -->

    When accessing the Open Wallet from the File Menu, the UI hangs. Looking at the debug.log in the data directory, there are thousands of ListWalletDir: ACcess is Denied E:$Recycle.bin\s-1-5-18 events.

    The data directory is set to be the root of a USB drive mapped to the E: letter.

    Client is started as std user.

    Expected behavior

    Expected behaviour is for the client UI to handle the access issue and continue, possibly noting the requirement to have further permissions. Even when the client is started as administrator, the same hang occurs. It appears the client data directory should be set to a folder and not the root of a drive.

    Actual behavior

    Any attempt to access the open wallet menu gets stuck.

    To reproduce

    Install bitcoin core 0.21.0 x64 Set data directory to the root of a drive in Windows Let sync or not, hover over the Open Wallet menu Program UI hangs

    System information

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    bitcoin core 0.21.0 x64

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    Windows 10 x64 PC, SSD drive, Core i9 9980xe

    <!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

    Windows 10 20H2 Build 19042.789

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

    thousands of lines of the below. The debug.log is 370MB.

    05:32:18Z ListWalletDir: Access is denied E:\System Volume Information 2021-02-10T05:32:18Z ListWalletDir: Access is denied E:\System Volume Information 2021-02-10T05:32:18Z ListWalletDir: Access is denied E:\System Volume Information

  2. oguzhanf added the label Bug on Feb 10, 2021
  3. Saibato commented at 8:29 AM on February 10, 2021: contributor
  4. puchu commented at 2:25 PM on April 30, 2021: contributor

    @luke-jr patch doesn't solve the problem for me. Maybe he has some input?

    But the ui hangs got much worse in 0.21.0 and 0.21.1, when i compile 0.20.1 or 0.20.0, bitcoin-qt stays more responsive and only has sometimes (while syncing) 1-2 second hangs, with 0.21.* the lags raised dramatically, the interface hangs now up to 5-20 seconds (while syncing).

    What would be the best way to do a bisect, with the different branches?

  5. hebasto commented at 7:15 PM on May 10, 2021: member

    @oguzhanf @puchu

    Do you mind testing #21907?

  6. puchu commented at 10:23 PM on May 10, 2021: contributor

    i don't use windows

  7. meshcollider closed this on May 13, 2021

  8. sidhujag referenced this in commit da5c7248f0 on May 13, 2021
  9. DrahtBot locked this on Aug 18, 2022
  10. PastaPastaPasta referenced this in commit cd47c6bd48 on Apr 10, 2023
  11. PastaPastaPasta referenced this in commit dc1f37e51a on Apr 15, 2023

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-13 21:14 UTC

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