bitcoin-qt.exe crash with disablewallet #4013

issue PRabahy opened this issue on April 6, 2014
  1. PRabahy commented at 5:00 PM on April 6, 2014: contributor

    When I try to run bitcoin-qt it hard crashes when I have "disablewallet" in bitcoin.conf.

    When I replace it with "disablewallet=true", it doesn't crash, but I still see my wallet and transactions.

    When I replace it with "disablewallet=1", it works as expected.

    https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File implies that this should be possible, but doesn't give any examples. I believe that disablewallet=1 is correct, but I only discovered it through experimentation.

    Problem signature: Problem Event Name: APPCRASH Application Name: bitcoin-qt.exe Application Version: 0.9.0.0 Application Timestamp: 51a93980 Fault Module Name: bitcoin-qt.exe Fault Module Version: 0.9.0.0 Fault Module Timestamp: 51a93980 Exception Code: 40000015 Exception Offset: 0000000001147c58 OS Version: 6.1.7601.2.1.0.256.1 Locale ID: 1033 Additional Information 1: a6cb Additional Information 2: a6cb566f5bbbc3b0aa6b451eb8aee48c Additional Information 3: 6ac8 Additional Information 4: 6ac8e792c79d7d7cc05fa152f39b7f95

    Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

    If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt

  2. Telepatheic commented at 6:15 PM on April 6, 2014: contributor

    I've managed to replicate this, the config file parser seems to require each key to have a value (if it doesn't Bitcoin crashes) and it doesn't recognise true or any string as being true.

    "disablewallet=n" where n is an integer and not 0 disables the wallet.

  3. laanwj added the label Bug on Apr 7, 2014
  4. laanwj commented at 5:14 AM on April 7, 2014: member

    It indeed doesn't recognize 'true'. Values of such options must be 0 or 1.

    Sounds like a bug in the config file parser that it crashes on bare disablewallet.

  5. laanwj added the label Priority Low on Apr 7, 2014
  6. laanwj referenced this in commit d54616ca5d on Apr 7, 2014
  7. laanwj referenced this in commit 4ae5e72128 on Apr 7, 2014
  8. laanwj closed this on Apr 8, 2014

  9. MathyV referenced this in commit 7a98c24583 on Oct 27, 2014
  10. 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-04-13 18:15 UTC

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