< arubi>
I'm running v0.14.1.knots20170420 and it can fund it
< bsm117532>
Having my chainstate is important. I tried it with a clean regtest and it also works fine.
< arubi>
ah, let's see
< bsm117532>
tarball attached to the above issue...
< arubi>
yep
< bsm117532>
arubi: you reproduce it?
< arubi>
no no, still setting up
< bsm117532>
ah cool, thanks
< arubi>
bsm117532, it does crash with your regtest dir.
< bsm117532>
well good. I mean darn. Now to figure out why...
< bsm117532>
It looks like a problem with the prevector class AFAICT
< arubi>
changeposition 0 works, 2 is out of bounds, 1 fails
< arubi>
well, I have an old v0.13.99 that I use for regtest stuff and it crashes too. let me see if I can get interesting output :)
< arubi>
bsm117532, did you use any special scripts with that chinstate?
< bsm117532>
Oh, lots.
< arubi>
bsm117532, fwiw, this is what it was doing here when it tried to fund it and eventually crashed: https://pastebin.com/raw/4YuHYq8V . I'm pretty sure the signature is a dummy one. I didn't use this output for some time :)
< arubi>
ah yea, it's 'fund', so it's not signing it yet.
< bsm117532>
arubi: how did you generate that? You might notice that if you turn off the changePosition, the resulting transaction has a lot of inputs.
< arubi>
bsm117532, it's outputs to debug.log that I added a while back.. yea, if changeposition is 0, then it passes. night for me
< arubi>
I added locally* night!
< bitcoin-git>
[bitcoin] instagibbs opened pull request #10294: [Wallet] unset change position when there is no change (master...fixchangepos) https://github.com/bitcoin/bitcoin/pull/10294
< bitcoin-git>
[bitcoin] ryanofsky opened pull request #10295: [qt] Move some WalletModel functions into CWallet (master...pr/ipc-move) https://github.com/bitcoin/bitcoin/pull/10295