Berkley database error when cyrillic/unicode in path [Windows, critical issue] #15089

issue RyuMaster opened this issue on January 3, 2019
  1. RyuMaster commented at 12:41 PM on January 3, 2019: none

    Tested with the latest master branch (01/03/2019), cross-compiled using https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md instructions

    When you simply run bitcoind.exe on Windows 10 64x, and your datadir has cyrillic or other funny unicode characters, it yields this error output:

    2019-01-03T12:30:04Z Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
    2019-01-03T12:30:04Z Using wallet wallet.dat
    2019-01-03T12:30:04Z BerkeleyEnvironment::Open: LogDir=C:\Users\Даниелька\AppData\Roaming\Bitcoin\wallets\database ErrorFile=C:\Users\Даниелька\AppData\Roaming\Bitcoin\wallets\db.log
    2019-01-03T12:30:04Z BerkeleyEnvironment::Open: Error -30974 opening database environment: DB_RUNRECOVERY: Fatal error, run database recovery
    2019-01-03T12:30:04Z Moved old C:\Users\Даниелька\AppData\Roaming\Bitcoin\wallets\database to C:\Users\Даниелька\AppData\Roaming\Bitcoin\wallets\database.1546518604.bak. Retrying.
    2019-01-03T12:30:04Z BerkeleyEnvironment::Open: LogDir=C:\Users\Даниелька\AppData\Roaming\Bitcoin\wallets\database ErrorFile=C:\Users\Даниелька\AppData\Roaming\Bitcoin\wallets\db.log
    2019-01-03T12:30:04Z BerkeleyEnvironment::Open: Error -30974 opening database environment: DB_RUNRECOVERY: Fatal error, run database recovery
    2019-01-03T12:30:04Z Error: Error initializing wallet database environment "C:\Users\Даниелька\AppData\Roaming\Bitcoin\wallets"!
    Error: Error initializing wallet database environment "C:\Users\������������������\AppData\Roaming\Bitcoin\wallets"!
    2019-01-03T12:30:04Z Shutdown: In progress...
    2019-01-03T12:30:04Z scheduler thread interrupt
    2019-01-03T12:30:04Z Shutdown: done
    

    It happens both with explicitly set datadit and just default one. It is working fine with previous bitcoin releases, so must be some recent change triggering that one.

  2. RyuMaster renamed this:
    Berkley database error when cyrillic/unicode in path [Windows]
    Berkley database error when cyrillic/unicode in path [Windows, critical issue]
    on Jan 3, 2019
  3. fanquake added the label Windows on Jan 3, 2019
  4. fanquake commented at 1:23 PM on January 3, 2019: member

    It is working fine with previous bitcoin releases, so must be some recent change triggering that one.

    So this behaviour was working with 0.17.0/0.17.1, and is currently broken in master?

    Related #13884.

  5. RyuMaster commented at 1:34 PM on January 3, 2019: none

    If I download bitcoin from here:

    https://bitcoin.org/bin/bitcoin-core-0.17.1/bitcoin-0.17.1-win64-setup.exe

    and test, then it works fine.

  6. RyuMaster commented at 3:21 PM on January 3, 2019: none

    It is working fine with previous bitcoin releases, so must be some recent change triggering that one.

    So this behaviour was working with 0.17.0/0.17.1, and is currently broken in master?

    Related #13884.

    Ok, adding UNICODE flags, as described in #13884 really does fix that issue, just tested after recompiling

  7. fanquake commented at 11:11 PM on January 3, 2019: member

    @RyuMaster Thanks for testing. I'll close this now. Are you also seeing the same issue as #15092?

  8. fanquake closed this on Jan 3, 2019

  9. xaya commented at 12:14 AM on January 4, 2019: none

    @RyuMaster Thanks for testing. I'll close this now. Are you also seeing the same issue as #15092? @fanquake yes he is (on the same team).

  10. DrahtBot locked this on Dec 16, 2021
Labels

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-17 03:14 UTC

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