Internal bug detected: Fee needed > fee paid #29398

issue azazar openend this issue on February 7, 2024
  1. azazar commented at 9:47 am on February 7, 2024: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    It’s a bitcoinfaucet.uo1.net testnet node that is sending bitcoins and checking balance. It stopped working and was restarted. I’ve lost all bug details, but it happened at least once. Restarting node helped.

    Relevant log output

    bitcoinfaucet-background-job-1 | Internal bug detected: Fee needed > fee paid bitcoinfaucet-background-job-1 | wallet/spend.cpp:1226 (CreateTransactionInternal) bitcoinfaucet-background-job-1 | Bitcoin Core v26.0.0 bitcoinfaucet-background-job-1 | Please report this issue here: https://github.com/bitcoin/bitcoin/issues

    How did you obtain Bitcoin Core

    Used docker image: https://hub.docker.com/layers/lncm/bitcoind/v26.0/images/sha256-c0c0de75b134d767310ad53c9f499b013c8607ae9a8a7b0b1d8947b46726758c?context=explore

    Operating system and version

    Debian GNU/Linux 11 (bullseye)

  2. maflcko added the label Bug on Feb 7, 2024
  3. maflcko added the label Wallet on Feb 7, 2024
  4. maflcko commented at 12:24 pm on February 7, 2024: member

    I presume the following may be interesting for someone to debug this, if you don’t mind to share:

    Which wallet settings are you using? (Feerate, etc) Which RPCs are you using? Which amounts and settings are you passing to the RPCs? SFFO? How many wallet coins do you have? Maybe an exact list with amounts ?

  5. azazar commented at 12:31 pm on February 7, 2024: none

    bitcoind settings: -limitancestorcount=1000 -txindex=1 -testnet -server

    RPCs:

    • sendmany(’’, $amounts, 0, ‘’, [], true, 1)
    • getbalance(’*’, 1)
    • getbalance(’*’, 0)

    Amounts vary, but quite small always. You can examine some of the last transactions:

    https://live.blockcypher.com/btc-testnet/tx/980f2c14c3930d31485b94ae449177dfa8dadeeaba838d5a0a171e039d955dd2 https://live.blockcypher.com/btc-testnet/tx/298d311345c671b6cac8ca58d683789f736de106d69b67fb49cb261dc2b351c1 https://live.blockcypher.com/btc-testnet/tx/0ec27c2a1f510ba458b3eb7b28aff68a977e1a2c93a262b2c37a8a4b471aa989 https://live.blockcypher.com/btc-testnet/tx/0d6e3141c0bd2d84bed1ec3a460743f11582c691f8c6b7ee898a1e080d46a5f6

    Current balance is just a little below 400.

    I don’t log the exact amounts, so it’s not available.

  6. epiccurious commented at 3:27 am on February 11, 2024: contributor

    I’d like to reproduce your issue on my local environment.

    Can you please provide steps to reproduce this issue?

    Also, does this issue happen every time, or is it intermittent?

  7. maflcko commented at 12:05 pm on February 11, 2024: member
    @epiccurious The issue is intermittent, because “Restarting node helped.” (see the report)
  8. iw4p commented at 10:51 am on June 23, 2024: none
    For some type of error like this, why we’re not containing the values (in this case fee_needed and current_fee) to show the user a more clear error message (so he can realize faster what’s wrong) and also easier for debugging?
  9. azazar commented at 8:49 am on June 29, 2024: none
    I didn’t find a way to reproduce it after the restart.
  10. maflcko commented at 6:12 pm on July 2, 2024: member
    So it never happened again at all after the restart?

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-12-21 15:12 UTC

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