GUI crashes in regtest #918

issue rkrux openend this issue on December 17, 2025
  1. rkrux commented at 12:31 pm on December 17, 2025: contributor

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    The GUI crashes in regtest immediately on start. It did work once initially but has been crashing since, tried quite a few times.

    Expected behaviour

    The GUI should not crash in regtest, just like it doesn’t in main or test environments.

    Steps to reproduce

    Following is the command I have used. Also, tried a few variants of the -datadir, -walletdir args by adding and removing /regtest.

    0➜  bitcoin git:(master) ✗ ./build/bin/bitcoin-qt -datadir=/Users/rkrux/Library/ApplicationSupport/Bitcoin/regtest -conf=/Users/rkrux/Library/ApplicationSupport/Bitcoin/bitcoin-reg.conf -walletdir=/Users/rkrux/Library/ApplicationSupport/Bitcoin/regtest/wallets
    

    Error received in the UI and the terminal.

    0Error: SQLiteDatabase: Failed to configure serialized threading mode: bad parameter or other API misuse
    

    Relevant log output

     02025-12-17T10:22:15Z Bitcoin Core version v30.99.0-13891a8a685d (release build)
     12025-12-17T10:22:15Z parameter interaction: -bind set -> setting -listen=1
     22025-12-17T10:22:15Z Qt 6.9.0 (dynamic), plugin=cocoa
     32025-12-17T10:22:15Z No static plugins.
     42025-12-17T10:22:15Z Style: macos / QMacStyle
     52025-12-17T10:22:15Z System: macOS Sequoia (15.4), x86_64-little_endian-lp64
     62025-12-17T10:22:16Z GUI: QFSFileEngine::open: No file name specified
     72025-12-17T10:22:16Z GUI: QFSFileEngine::open: No file name specified
     82025-12-17T10:22:16Z GUI: QFSFileEngine::open: No file name specified
     92025-12-17T10:22:16Z GUI: QFSFileEngine::open: No file name specified
    102025-12-17T10:22:16Z GUI: QFSFileEngine::open: No file name specified
    112025-12-17T10:22:16Z Using RdSeed as an additional entropy source
    122025-12-17T10:22:16Z Using RdRand as an additional entropy source
    132025-12-17T10:22:16Z Default data directory /Users/rkrux/Library/Application Support/Bitcoin
    142025-12-17T10:22:16Z Using data directory /Users/rkrux/Library/Application Support/Bitcoin/regtest
    152025-12-17T10:22:16Z Config file: /Users/rkrux/Library/ApplicationSupport/Bitcoin/bitcoin-reg.conf
    162025-12-17T10:22:16Z Config file arg: regtest="1"
    172025-12-17T10:22:16Z Config file arg: [regtest] bind="127.0.0.1:28334"
    182025-12-17T10:22:16Z Config file arg: [regtest] bind="127.0.0.1:28335=onion"
    192025-12-17T10:22:16Z Config file arg: [regtest] port="28333"
    202025-12-17T10:22:16Z Config file arg: [regtest] rpcpassword=****
    212025-12-17T10:22:16Z Config file arg: [regtest] rpcport="28332"
    222025-12-17T10:22:16Z Config file arg: [regtest] rpcuser=****
    232025-12-17T10:22:16Z Setting file arg: wallet = ["test"]
    242025-12-17T10:22:16Z Command-line arg: conf="/Users/rkrux/Library/ApplicationSupport/Bitcoin/bitcoin-reg.conf"
    252025-12-17T10:22:16Z Command-line arg: walletdir="/Users/rkrux/Library/ApplicationSupport/Bitcoin/regtest/wallets"
    262025-12-17T10:22:16Z Using at most 125 automatic connections (1024 file descriptors available)
    272025-12-17T10:22:16Z scheduler thread start
    282025-12-17T10:22:16Z Using wallet directory /Users/rkrux/Library/Application Support/Bitcoin/regtest/wallets
    292025-12-17T10:22:16Z Using SQLite Version 3.43.2
    302025-12-17T10:22:16Z init message: Verifying wallet(s)312025-12-17T10:22:16Z [warning] SQLite Error. Code: 21. Message: misuse at line 185687 of [1b37c146ee]
    322025-12-17T10:22:16Z [error] SQLiteDatabase: Failed to configure serialized threading mode: bad parameter or other API misuse
    33
    342025-12-17T10:22:20Z Shutdown in progress...
    352025-12-17T10:22:20Z scheduler thread exit
    362025-12-17T10:22:20Z Shutdown done
    

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    master@13891a8a685d255cb13dd5018e3d5ccc18b07c34

    Operating system and version

    MacOS Sequoia (15.4)

    Machine specifications

    No response

  2. furszy commented at 3:32 pm on December 17, 2025: member
    Can you check the directory permissions please
  3. maflcko added the label macOS on Dec 17, 2025
  4. maflcko added the label Wallet on Dec 17, 2025
  5. maflcko commented at 6:29 pm on December 17, 2025: contributor
    Is this really gui-specific? Does it not happen with bitcoind?

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-12-18 09:20 UTC

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