-
Notifications
You must be signed in to change notification settings - Fork 405
Closed
Labels
Description
Reproduced on two different machines - mine (MacOS Big Sur 11.2.3) and @ben-kaufman.
elementsd is compiled from the master branch. On Linux everything works fine.
Steps to reproduce:
- run a fresh elements regtest with 21M free coins
- create default wallet with
createwallet "" - rescan to claim free coins
rescanblockchain - try to send to any confidential or unconfidential address - elementsd crashes with
Bus error: 10
Output from the elementsd process before crashing:
2021-04-30T15:21:04Z init message: Loading wallet...
2021-04-30T15:21:04Z [default wallet] Wallet File Version = 10500
2021-04-30T15:21:04Z [default wallet] Keys: 0 plaintext, 0 encrypted, 0 w/ metadata, 0 total. Unknown wallet records: 0
2021-04-30T15:21:05Z [default wallet] keypool added 2000 keys (1000 internal), size=2000 (1000 internal)
2021-04-30T15:21:05Z [default wallet] LegacyScriptPubKeyMan::NewKeyPool rewrote keypool
2021-04-30T15:21:05Z [default wallet] Wallet completed loading in 1530ms
2021-04-30T15:21:05Z [default wallet] setKeyPool.size() = 2000
2021-04-30T15:21:05Z [default wallet] mapWallet.size() = 0
2021-04-30T15:21:05Z [default wallet] m_address_book.size() = 0
2021-04-30T15:21:12Z [default wallet] Rescan started from block 898e095d644c46764aec1eb09767f277ba9beda136f379a1843e7c8460d6f98e...
2021-04-30T15:21:12Z [default wallet] AddToWallet 47a77498aa2d801e08e3144d588171d60dfddf95201641f40ca0fbd095f1d24a new
2021-04-30T15:21:12Z [default wallet] Rescan completed in 1ms
2021-04-30T15:21:27Z [default wallet] keypool reserve 1001
Bus error: 10
Another attempt with unconfidential address:
...
2021-04-30T15:19:49Z [default wallet] AddToWallet 47a77498aa2d801e08e3144d588171d60dfddf95201641f40ca0fbd095f1d24a new
2021-04-30T15:19:49Z [default wallet] Rescan completed in 2ms
2021-04-30T15:20:00Z [default wallet] keypool reserve 1001
2021-04-30T15:20:00Z [default wallet] Unblinding change at index 0 due to lack of inputs and other outputs being blinded.
Bus error: 10
Reactions are currently unavailable