-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmark WalletCreateTxUsePresetInputsAndCoinSelection crashes due to #25273 #29061
Comments
Was this fixed in #29055? |
Why was this not caught by CI? |
Looks like that is a "low priority" benchmark, meaning it's not run in the CI, which only run high? |
Yeah, I don't believe all the benchmarks are being run. I think they should all be executed with at least -min-time=1000 as well. |
The issue is the change output index. Since #25273, needs to be |
|
Created #29065 solving this. |
37c75c5 test: wallet, fix change position out of range error (furszy) Pull request description: Fixes #29061. Only the benchmark is affected. Since #25273, the behavior of 'inserting change at a random position' is instructed by passing ´std::nullopt´ instead of -1. Also, added missing documentation about the meaning of 'change_pos=std::nullopt' inside 'CWallet::CreateTransaction()' ACKs for top commit: achow101: ACK 37c75c5 kevkevinpal: ACK [37c75c5](37c75c5) BrandonOdiwuor: ACK 37c75c5 Tree-SHA512: d9a8d8533540455716a5090fcf407573cad9f0d0018a05f903f89e51620302f9b256318db6f7338b85c047f7fab372d724e916b1721d7ed302dbf3d845b08734
Is there an existing issue for this?
Current behaviour
The WalletCreateTxUsePresetInputsAndCoinSelection benchmark crashes on master due to the commit 758501b introduced in #25273 (I used git bisect to verify).
Expected behaviour
No crash
Steps to reproduce
git checkout master && make -j$(nproc)
valgrind ./src/bench/bench_bitcoin -filter=WalletCreateTxUsePresetInputsAndCoinSelection -min-time=10000
Relevant log output
No response
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
master@758501b71391136c33b525b1a0109b990d4f463e
Operating system and version
Ubuntu 22.04.3 LTS
Machine specifications
No response
The text was updated successfully, but these errors were encountered: