Wallet hangs when asked to process several instant sends in quick succession
Summary
I tied to make 5 instant send transactions (to an address not mine) in quick succession. The first 4 reported the txid. On the 5th my (GUI) wallet hung. debug.log shows the first txn went to the correct address, it appears to show the 2-4th txns went to the wrong address. The 5th was going to the wrong address as well.
Steps to reproduce
Make a bunch of instant send transactions in quick succession.
Expected behavior
Transactions get processed, wallet does not hang.
Problematic behavior
Wallet makes 2nd and subsequent payments to the wrong address and eventually hangs.
Crown-core environment info
Ubuntu 16.04
Crown-core application info
v0.12.5.2 RC4
Relevant logs, dumps and/or screenshots
I tried making 5 instant send txns:
mark@avm:~$ crown-cli sendtoaddressix ms2dKk43H6Kw7DbbyZ4nrEc8Z5rQLZoqv9 0.1
0aaf792b595c0c707144127c5f693241af324f3c5fa8cd98bb191796f32ac94d
mark@avm:~$ crown-cli sendtoaddressix ms2dKk43H6Kw7DbbyZ4nrEc8Z5rQLZoqv9 0.1
de0f1ab1fd9a4418e457396e2600ad24e01eb5b6ab74efd6d9a19cbe221eadfa
mark@avm:~$ crown-cli sendtoaddressix ms2dKk43H6Kw7DbbyZ4nrEc8Z5rQLZoqv9 0.1
3d67535a890b2201c1630f89f9352e789f40a9aa3f28d6b250c66c99e09b29f4
mark@avm:~$ crown-cli sendtoaddressix ms2dKk43H6Kw7DbbyZ4nrEc8Z5rQLZoqv9 0.1
699c2888fe3be087df29aaa973823366ea9ee4a93a31a17b977290af787b1b4e
mark@avm:~$ crown-cli sendtoaddressix ms2dKk43H6Kw7DbbyZ4nrEc8Z5rQLZoqv9 0.1
debug.log shows the first went to the correct address and appears to show the next 3 were sent to the wrong address, and the last one (which was also going to the wrong address) caused the wallet to hang. GUI froze. Killed it with kill -s SIGSEGV.
Core dump and debug log uploaded to https://nextcloud.crown.tech/nextcloud/s/znd8HiiAsRX3C6B as bzip2 compressed tar archive.
/cc @artem