Skip to content

too many removeprunedfunds and listtransactions , bitcoind will be crash #9729

Description

@JokerCatz

Hi , my wallet.dat file size is 300MB and over 6k wallet & many many transactions

and I try to use removeprunedfunds to remove transactions , so I use listtransactions (no account specify , just listtransactions) to list and removeprunedfunds to remove

my process log like

[listtransactions]
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[listtransactions]
[...removeprunedfunds TXID...] : 2017-02-09 16:36:06
[...removeprunedfunds TXID...] : 2017-02-09 16:46:11
[...removeprunedfunds TXID...] : 2017-02-09 16:46:34
[...removeprunedfunds TXID...] : 2017-02-09 16:46:34
[...removeprunedfunds TXID...] : 2017-02-09 16:50:58
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[...removeprunedfunds TXID...] : 2017-02-09 16:51:15
[listtransactions]
## bitcoind crash (killed)

and debug.log like (enabled decode=1)

2017-02-09 10:09:31 received: tx (334 bytes) peer=3
2017-02-09 10:09:31 Blockpolicy mempool tx ffd880afd9 adding to FeeRate
2017-02-09 10:09:31 AcceptToMemoryPool: peer=3: accepted ffd880afd965ed98d7d0c2f13f242433dd09e6ab44fc808407721f2ac2041e57 (poolsz 4 txn, 4 kB)
2017-02-09 10:09:31 received: tx (189 bytes) peer=4
2017-02-09 10:09:31 Blockpolicy mempool tx eaec1247e8 adding to FeeRate
2017-02-09 10:09:31 AcceptToMemoryPool: peer=4: accepted eaec1247e8f5b59a9228725ef89799aa6197776a447811cf235324253dfa3ae8 (poolsz 5 txn, 6 kB)
2017-02-09 10:09:31 sending: inv Received a POST request for / from 127.0.0.1:35116
2017-02-09 10:09:31 (109 bytes) peer=4
2017-02-09 10:09:31 ThreadRPCServer method=listtransactions
2017-02-09 10:09:31 received: headers (325 bytes) peer=5
[EOF]

my config has

upnp=0
server=1
keypool=300
mintxfee=0.00000001
txindex=1
debug=1

my pc is Ubuntu 16.10 / SSD / 7 CPU / 19G RAM / bitcoin core ver : 130200

hmm , anyway , I think this is bug , and if I remove all transaction , the wallet.dat file size will be smaller?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions