Runaway exception when trying to open a wallet #18435

issue GChuf openend this issue on March 26, 2020
  1. GChuf commented at 7:41 am on March 26, 2020: contributor

    This happens when I click File and go over “Open Wallet …” with my mouse. I don’t even have the time to actually click it. Using Bitcoin Core version v0.19.1 (64-bit) on WIndows 10.

    I chose a custom directory for blockchain data, and there was no wallet there beforehand. It did get generated though. Everything else seems to work.

    bitcoin1 bitcoin3

  2. GChuf added the label Bug on Mar 26, 2020
  3. brakmic commented at 10:36 am on March 26, 2020: contributor

    Hi @GChuf ,

    I just compiled a v0.19.1 on my Windows 10 x64 Build 18363.719 and could not reproduce the error you mentioned.

    This is what I did:

    • started Qt Wallet
    • unloaded default wallet
    • tried to load wallet (via menu, also hovered over the menu)

    bitcoin_open_wallet

    My wallet’s about window:

    bitcoin_version

    But I couldn’t provoke the error. Maybe I missed a step?

  4. GChuf commented at 12:30 pm on March 26, 2020: contributor
    I didn’t compile the binaries myself. Nor did I unload the wallet. I didn’t even see the “[default wallet]” before the crash happened. I now tried deleting some blockchain data and restarting the bitcoin-qt. It informed me that the database should be rebuilt - and now everything works as expected, no errors … edit - the error is still there
  5. brakmic commented at 12:39 pm on March 26, 2020: contributor

    I didn’t compile the binaries myself. Nor did I unload the wallet. I didn’t even see the “[default wallet]” before the crash happened.

    I understand. I checked out the v0.19.1 so it must be the same binary like the one you use. Regarding the default wallet: it gets created automatically. Now I also removed all the blockchain data and created bitcoin dir in an alternative location. Still no errors.

    create_dir

    I now tried deleting some blockchain data and restarting the bitcoin-qt. It informed me that the database should be rebuilt - and now everything works as expected, no errors …

    Maybe you could check the contents of your debug.log (if you haven’t deleted it already). Many errors aren’t visible via GUI, but debug.log often helps locating them.

  6. GChuf commented at 6:32 pm on March 27, 2020: contributor

    It looks like bitcoin-qt is trying to access some files in some unrelated folders.

     0
     12020-03-26T07:37:49Z Synchronizing blockheaders, height: 4000 (~0.68%)
     22020-03-26T07:37:52Z GUI: Qt has caught an exception thrown from an event handler. Throwing
     3exceptions from an event handler is not supported in Qt.
     4You must not let any exception whatsoever propagate through Qt code.
     5If that is not possible, in Qt 5 you must at least reimplement
     6QCoreApplication::notify() and catch all exceptions there.
     7
     82020-03-26T07:37:52Z 
     9
    10************************
    11EXCEPTION: N5boost10filesystem16filesystem_errorE       
    12boost::filesystem::status: The file cannot be accessed by the system: "F:\nttemp\NLTmpMount01\Program Files\Common Files\microsoft shared\ink\Alphabet.xml"       
    13C:\Program Files\Bitcoin\bitcoin-qt.exe in Runaway exception      
    
  7. brakmic commented at 6:49 pm on March 27, 2020: contributor

    @GChuf

    Thanks for the debug.log.

    So far, the only entries I was able to find regarding the file Alphabet.xml

    nttemp\NLTmpMount01\Program Files\Common Files\microsoft shared\ink\Alphabet.xml

    are texts on malware, ransomware and similar software. I could not find anything related to Alphabet.xml file in Bitcoin’s source code.

    My first thought was that it was related to translation files, because those are structurally XML files as well.

    I don’t know for sure and I don’t want to raise a false alarm, but maybe these two links can help you further investigate the issue.

    https://totalhash.cymru.com/analysis/?bf1a848c6540b21d46e222cb054cae36adb639b3 https://www.trendmicro.com/vinfo/us/threat-encyclopedia/malware/ransom.win32.friedex.smthb

    It seems that ransomware described in these articles explicitly creates this file, among others.

    However, this is only a speculation without much evidence.

    Regards,

  8. hebasto commented at 7:23 pm on March 27, 2020: member

    @GChuf

    I didn’t compile the binaries myself.

    What site your binaries are downloaded from?

  9. GChuf commented at 8:53 am on March 28, 2020: contributor

    I downloaded the binaries here: https://bitcoincore.org/bin/bitcoin-core-0.19.1/

    I know where the alphabet.xml file comes from. The “nttemp” folder is created by one of the programs that I use. However, I myself cannot open the file. I get the following error when trying to edit it with notepad: The file cannot be accessed by the system.

  10. adamjonas commented at 9:41 pm on December 23, 2020: member
    @GChuf have you had continued difficulty with newer releases or otherwise seen this bug persistent? Given that we haven’t seen similar reports, I’m wondering if this is a local issue.
  11. GChuf commented at 8:16 pm on December 27, 2020: contributor
    @adamjonas I don’t know how to reproduce the issue - I would need a file that “cannot be accessed by the system” to test it again. But I’m not sure why bitcoin was looking at that folder/file anyway.
  12. adamjonas commented at 10:45 pm on January 19, 2021: member
    Closing since there aren’t steps to reproduce or other similar reports.
  13. adamjonas closed this on Jan 19, 2021

  14. DrahtBot locked this on Aug 18, 2022

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: 2024-11-17 18:12 UTC

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